users@jaxb.java.net

Re: Namespace Question

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 05 Feb 2003 11:25:09 -0800

I'm curious how JaxMe handles when the schema is

<xs:schema targetNamespace="fooNS">
  <xs:element name="foo" type="QName"/>
</xs:schema>

and I unmarshal

<foo xmlns="fooNS">aname</foo>

then modify it programatically to

// the value is changed to no namespace
fooObject.setValue( new QName("","anotherName") );

and then marshal it out.


regards,
--
Kohsuke KAWAGUCHI                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com