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=2248>. 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=2248 HTMLSerializer SAX methods check for null instead of empty [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable ------- Additional Comments From [EMAIL PROTECTED] 2003-02-25 10:39 ------- About time to fix this, right? :) Here's a patch. It changes each condition: namespaceURI != null to: namespaceURI != null && namespaceURI.length() > 0 and each condition: namespaceURI == null to: namespaceURI == null || namespaceURI.length() == 0 ... this means the HTML serializer will still tolerate incorrect SAX (which specifies the namespace URI as null), but will now properly handle correct SAX (which specifies the namespace URI as the empty string when there is no namespace). This is the way XMLSerializer is already behaving. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
