users@jaxb.java.net

Re: WSDP 1.2 and xsd:import

From: Thomas Plümpe <thomanski_at_gmx.de>
Date: Fri, 13 Jun 2003 00:39:44 +0200

> I just upgraded to WSDP 1.2 and now XJC is giving me errors when
> attempting to compile an XSD I have with an xsd:import.
>
> It claims everything in the imported XSD, which is also given to XJC,
> is a duplicate. Sounds as if XJC is making more than one pass of the
> file. If I remove the import, then XJC will function properly.
I've noticed the same problem with the BPEL4WS schema at
  http://schemas.xmlsoap.org/ws/2003/03/business-process/
which imports the WSDL schema.

> Can anyone be of help here. I set the "-use-runtime" flag an it
> doesn't solve my problem.
If you want to keep the import just refrain from giving the imported
schema (in my case the WSDL schema) to xjc, that worked for me.

Thomas