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=17983>. 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=17983 Formatter does not escape control characters Summary: Formatter does not escape control characters Product: Xerces-C++ Version: 2.2.0 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Miscellaneous AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] XML 1.0 forbids control characters (#00-#1F, #7F-#9F, excluding #08, #0A, #0D) from XML character data. XML 1.1 relaxes this to allow #01-#1F and #7F-#9F but requires them to be escaped (except #08, #0A, #0D). The Xerces-C++ formatter (framework/XMLFormatter.cpp) does not escape these characters at all -- they are passed verbatim into the output. This means Xerces-C++'s formatter generates non-well-formed XML under some circumstances! These characters should be escaped, e.g. #02 should become "". --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
