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=22054>. 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=22054 It's possible to create a text node with a null byte, resulting in erratic behavior [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2003-10-27 04:24 ------- Since Document.createTextNode() [1] does not require well-formedness checking, Xerces is operating according to the spec. If you want to make sure that text nodes you create contain only character which match Char [2], then you need to do this yourself (perhaps using one of the approaches that Joe mentioned), or alternatively you could use normalizeDocument [3] from DOM Level 3 with the "well-formed" parameter [4] set to true on the DOMConfiguration. It's hoped that Xerces will support this feature soon. [1] http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#i-Document [2] http://www.w3.org/TR/REC-xml#NT-Char [3] http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030609/core.html#Document3- normalizeDocument [4] http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030609/core.html#parameter- well-formed --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
