tag with one white-space body

Bartolomeo Nicolotti <[email protected]>
Newsgroups gmane.text.xml.xmlbeans.user
Organization SIAP-Sistemi Applicativi
Message-ID <1262707768.6397.82.camel@LxPC37>
Hello,

We've used xmlbeans to generate classes to parse xml complying with OTA
xsd.

I've a string with a tag containing only one white-space (x20)

<QCat> </QCat>

after using xmlbean.parse() the tag is

<QCat></QCat>

Is there a way to preserve the content of the tag?

Many many thanks

Best regards.

Bartolomeo Nicolotti
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.