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=5801>. 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=5801 Automatically insertion of new characters while parsing XML file using SAX ------- Additional Comments From [EMAIL PROTECTED] 2002-01-11 06:29 ------- I doubt that Xerces is adding a newline character, so if one appears it is likely to be in the handler code. In particular, if the handler is thinking that contiguous character data in the document is always going to be reported using a single characters() callback that would be an error. SAX parsers are free to break character data into multiple callbacks, which is what I am guessing is the case here. In the case of Xerces, if the character data happens to be split across "buffers" the parser will generate multiple callbacks. This behavior is documented in the SAX API and applications must provide code in the handlers to deal with merging the "adjacent" characters() callbacks if they require such. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
