Title: Unmarshalling dropping whitespace

I'm having a problem with an XML element that contains
escape XML where spaces before the entity references
are dropped.

I have something like this in my XML:

<text>Here's some &lt;strong>bold text&lt;/strong>.</text>

If I turn around and serialize that, I get:

<text>Here's some&lt;strong>bold text&lt;/strong>.</text>

which is really bad as the space between the bold word and the
previous word is now gone.

Any ideas how to fix this?

--Alex Milowski

Reply via email to