users@jaxb.java.net

Re: Does xjc support default namespace?

From: Sam Cheung <sylcheung_at_hotmail.com>
Date: Fri, 13 Feb 2004 00:07:15 +0000

Thanks for your help.

Yes, looks like default namespace works fine.

However, I check my schema file, it does not contain 'xmlns:xml="...." ',
but it still fails.

Attached is the schema I use.

I appreciate if you can take a look.

Thank you.


>From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
>Reply-To: users_at_jaxb.dev.java.net
>To: users_at_jaxb.dev.java.net
>Subject: Re: Does xjc support default namespace?
>Date: Thu, 12 Feb 2004 15:44:20 -0800
>
>
>I tried to compile:
>
> <schema xmlns="http://www.w3.org/2001/XMLSchema">
> <attribute name="end" type="string"/>
> </schema>
>
>and it worked fine. The error message says your schema contains a line
>like:
>
> xmlns:xml="...."
>
>Make sure you don't have this in your schema.
>
>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
>

_________________________________________________________________
Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up
Accelerator. http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net