users@jaxb.java.net

Re: [ERROR] *blank* is already defined - xjc parse error

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 16 Feb 2005 13:18:02 -0800

Greg Kick wrote:
> I'm trying to use xjc to parse a schema that begins:

It's colliding with the built-in definitions of XML Schema built-in
datatypes.

> for pretty much every data type defined in XMLSchema.xsd. What bothers
> me is that I have backtracked through every import in every file and I
> can't find any reference to datatypes.xsd (i would imagine because
> everything is defined in XMLSchema.xsd). Does anybody know what's
> causing this and/or how to fix it? Thanks.

Any chance you can remove <xs:import> to XMLSchema.xsd?


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com