users@jaxb.java.net

Re: Does xjc support default namespace?

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 12 Feb 2004 16:30:49 -0800

> However, I must replace text to xmlns:xml by mistake when I search for it in
> my schema file.
>
> Could you please kindly look at my real schema file again?
>
> I just run it with xjc again, I got the same result.

OK, it must be the following line:

> xmlns:x="http://www.w3.org/XML/1998/namespace"

I think what Xerces (the error message is from Xerces) is telling you is
that this namespace cannot be bound to any prefix other than 'xml', and
that's already predefined.

regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net