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=8962>.
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=8962

Strange results building CDATA sections





------- Additional Comments From [EMAIL PROTECTED]  2002-05-10 13:12 -------
Standard practice for serializing something the API claims is a CDATASection but 
which contains characters not directly supported by the current encoding is to 
exit the CDATASection, use a numeric character escape for the troublesome 
character, then re-enter the CDATASection for any remaining text.

Two problems here:

1) The user has apparently supplied a character (control-K) which isn't legal in 
XML. There isn't much the serializer can do about that; it has to either 
generate bad XML or throw an exception. I can make good arguments for either 
response -- but the user needs to fix their code, either way.

2) The final ]]> looks like a serializer glitch.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to