You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by ac...@f2s.com on 2006/10/11 12:24:45 UTC

Default namespace and serialization

Hi

I have a xmlbeans binding class instance, and I wish to use the default
namespace either when 'saving' the xml or when calling the 'xmlText' method. In
order to do this, I would specify an 'xml option' to use the default namespace.

However, if I serialize and then de-serialize the instance, the resulting
instance now uses the 'ns' namespace.

Of course, once de-serialized in this form, specifying the same 'xml option' for
default namespace has no effect, because the 'ns' namespace has already been
added.

Is this a bug in xmlbeans? Or would the ability to set 'xml options' for
serialization be classed as an enhancement?

Thanks

Alex.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org