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

DTMNodeProxy dosent implement Element interface correctly

           Summary: DTMNodeProxy dosent implement Element interface
                    correctly
           Product: XalanJ2
           Version: 2.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: org.apache.xml.dtm
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The getAttribute and getAttributeNS methods on an element are defined to return
an empty string if the attribute dosent exist.

Instead they return null causing problems if you go: 

element.getAttribute("foo").equals("blah")

to test for the existance and value of an attribute in one go.

Reply via email to