users@jaxb.java.net

Re: Marshaller and namespaces

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Fri, 19 Sep 2003 11:37:31 -0700

> When a XML class is marshaled and is defined with a target namespace
> why is the namespace on the XML xlmns='www.mynamespace.org/mypath' and
> not xlmns:ns0='www.mynamespace.org/mypath'?

We just thought that there's a better chance this will make the output
more readable.

But if you don't like it, look at the namespace-prefix sample. It will
show you how you can format the output into your prefered way.



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