In my environment here I use Java to serialize the result set to XML.It happens basically like this:
//foreach column of each rowxmlHandler.startElement(uri, lname, "column", attributes);String chars = rs.getString(i);xmlHandler.characters(chars.toCharArray(), 0, chars.length());xmlHandler.endElement(uri, lname, "column");
The XML looks like this in Firefox:
<row num="69004"><column num="1">10069</column><column num="2">sd</column><column num="3">FCVolume </column></row>
But when I parse the XML I get the a
org.xml.sax.SAXParseException: Character reference "" is an invalid XML character.
My question now is: Which charactes do I have to replace or how do I have to encode my characters, that they will be valid XML?