users@jaxb.java.net

Re: Does xjc support default namespace?

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

> Thanks, but when I remove that line
>
> And change this from
> <attribute ref="x:lang" use="optional" />
> to
> <attribute ref="lang" use="optional" />
> in my schema.
>

You have to change it to ref="xml:lang". This special namespace is
always bound to the "xml" prefix implicitly.

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