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/02/17 14:19:24 UTC
DO NOT REPLY [Bug 17128] New: -
DTMNodeProxy dosent implement Element interface correctly
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: xalan-dev@xml.apache.org
ReportedBy: richard.zschech@cqrdata.com
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.