I had a look into the Xerces sources - obviously the XMLSerializer exchanges *every* ampersand - regardless if its a part of an html-entity like < or not.
Either I'll have to patch this class or look for other serializers. Xerces has some HTML/XHTML Serializers aswell, maybe they will do.


BTW .. this feature has already been sent in as bug/enhancement but wont be fixed:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15007


Jens Saade wrote:


Hi,


when marshalling objects into XML castor exchanges ampersands of HTML entities in CDATA, like e.g. ö into ö
I'm using castor 0.9.5.2.


Does anyone know whats causing this or how to make a workaround for that?

cheers,
Jens

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev


--
PIRONET NDH AG
Jens Saade - Application Developer - Business Center Industry
Maarweg 149-161, 50825 Cologne - Germany
Phone: +49 (0)221-770-1794 - Fax: +49 (0)221-770 1005
Mail to: [EMAIL PROTECTED] - http://www.pironet-ndh.com


----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev




Reply via email to