Title: Handling Whitespace OT
I guess this could well be a problem with the JAXM codebase. (Sun are meant to make the code available JAXM soon I think).
 
Just a quick question; does the text get trimmed on reparsing the SOAP message, or does the text get trimmed on output? Either way without delving into the JAXM code I'm not sure what we could do at the dom4j level.

James
----- Original Message -----
Sent: Friday, July 05, 2002 6:39 PM
Subject: [dom4j-user] Handling Whitespace OT

I using the JAXM which uses dom4j.  When adding a text-node with trailing spaces they are trimed.  I tried putting quotes around the String by escaping them in, but that didn't seem to work right either.

Any suggestions would help.
Using DOM4J 1.1 but I also tried 1.3 with same result.
Snip:
accountElement.addChildElement( S_ACCOUNT_TITLE ).addTextNode("Keith              ");


Thanks Keith

Reply via email to