DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6763>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6763

XMLWriter doesn't escape enough characters

           Summary: XMLWriter doesn't escape enough characters
           Product: XML-RPC
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Source
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


org.apache.xmlrpc.XmlRpc$XMLWriter.chardata escapes the characters &, <, and > 
in strings passed as arguments to execute().  If the string contains other 
characters that are not allowed in XML, then the XmlRpcServer fails with a 
SAXParseException on the other side of the wire.  In the example I encountered, 
the string contained the character 0x05, which should probably be escaped as 
&#0005;.  (I have worked around this by adding my own pass over the argument 
strings before calling execute, but this is obviously not ideal.)  
Please feel free to contact me for more information.
Aaron Goodisman
[EMAIL PROTECTED]

Reply via email to