Trailing blank space / Whitespace is not preserved : XmlObject.newDomNode: msg#00145
text.xml.xmlbeans.user
|
Subject: |
Trailing blank space / Whitespace is not preserved : XmlObject.newDomNode |
I have data with trailing blank spaces and because the user entered the
spaces I need to preserve it.
This data is set to an element or attribute value of my XmlObject.
When I call XmlBean.newDomNode to get the top level
org.w3c.xml.java.xml.Document the trailing blanks are removed.
Is there any way or setting to avoid this ?
I'm not using SAVE_PRETTY_PRINT option directly anywhere. Is this being used
somewhere by default ?
|