Alex,

I just ran your example text through Castor 0.9.9 and it unmarshalled it correctly for me. Which version of Castor are you using?

--Keith

Alex Milowski wrote:

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



-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to