You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/09/26 16:27:02 UTC

DO NOT REPLY [Bug 6126] - Null attributes in DOMBuilder.startElement()

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

Null attributes in DOMBuilder.startElement()

richcao@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From richcao@ca.ibm.com  2003-09-26 14:27 -------
Looking at the JavaDoc for ContentHandler.startElement() [1] (which is inherited
by DOMBuilder), it states under the parameter section:

"atts - The attributes attached to the element. If there are no attributes, it
shall be an empty Attributes object."

So if there are no attributes, we should get an empty attributes object, and not
null. Thus I don't think the check for null is necessary.

[1] http://xml.apache.org/xalan-j/apidocs/org/xml/sax/ContentHandler.html