[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    Default namespace and serialization
From:       acoyle () f2s ! com
Date:       2006-10-11 10:24:45
Message-ID: 1160562285.452cc66dbf306 () webmail ! freedom2surf ! net
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic