You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by SB <st...@cyberspace.org> on 2002/07/31 10:09:41 UTC

When to encode XML String

String in XML must be encoded, ie., &, <, >, ', "
must be replaced with &amp;, &lt;, &gt;, &apos;, &quot;.
But it is not clear to me when to encode a particular
string, ie., &amp;, when present in the string correctly,
might get further encoded as &amp;amp;. Can somebody
explain to me how to handle xml strings before giving
the xml to a parser?

thanks, st.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org