Hello,
We have an XmlBean that takes in a String. The problem is that if we pass in
an XML String, the XML characters are not properly escaped.
Here’s a simple program I use to test…
*public* *static* *void* main(String[] args) {
Trace trace =
Off the top of my head I think this is as expected. The does not need to
be escaped only .
-jacobd
On Fri, Oct 2, 2009 at 1:17 PM, Artem Portnoy
artem.portnoy@gmail.comwrote:
Hello,
We have an XmlBean that takes in a String. The problem is that if we pass
in an XML String, the XML
Jacob is correct. Only the '' needs to be escaped, not the ''.
XML predefines exactly 5 entity references:
lt;
amp;
gt;
quot;
apos;
but only lt; and amp; must be used instead of the literal characters in
element content; the others are optional, with the exception that the
3-character sequence
3 matches
Mail list logo