Re: org.apache.xmlrpc.XmlWriter emits invalid XML

2002-08-19 Thread John Wilson
- Original Message - From: Adam Megacz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 18, 2002 1:54 AM Subject: org.apache.xmlrpc.XmlWriter emits invalid XML According to XML 1.0, a CDATA section may contain only: [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF

Re: org.apache.xmlrpc.XmlWriter emits invalid XML

2002-08-19 Thread Adam Megacz
These characters are not allowed even if they are encoded as #; The only correct behaviour is to refuse to handle data containing these characters. So rather than entity encoding the characters, an XmlRpcException of some sort should be thrown? Ah, the joys of the

org.apache.xmlrpc.XmlWriter emits invalid XML

2002-08-17 Thread Adam Megacz
According to XML 1.0, a CDATA section may contain only: [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x1-#x10] http://www.w3.org/TR/2000/REC-xml-20001006#charsets XmlWriter fails to #;-encode characters below 0x20, and emits XML which is