You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Martin POESCHL <Ma...@sds.at> on 2000/07/28 11:03:59 UTC
XMLSerializer
I use the XMLSerializer to generate a XML-String which is stored in my database.
Therefore I must convert 'german umlaute' an other characters (ascii-code > 128)
into something like þ
If I do so, XMLSerializer generates &#254; and If I read from the Database
I get þ instead of the character...
The problem is that XMLSerializer converts & to &
Is there any solution??
I tried to subclass XMLSerilizer and overwrite the getEntityRef( char ch ) -
method ... but it's final
What I need is that getEntitiyRef also converts chars with an ascii-code > 128
should i write this functionality and post it to the list?? or exists the
functionality and I haven't found it??
thank you
martin
______________________________________________________________________
Der Austausch von Nachrichten mit Software Daten Service via E-Mail dient
ausschliesslich Informationszwecken. Rechtsgeschaeftliche Erklaerungen duerfen
ueber dieses Medium nicht ausgetauscht werden.
Correspondence with Software Daten Service via e-mail is only for information
purposes. This medium is not to be used for the exchange of legally-binding
communications.