You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Julian Reschke <ju...@gmx.de> on 2000/11/03 21:46:20 UTC

bug fix for getAttributeNS in Xerces-J 1.2.1

Index: ElementImpl.java
===================================================================
RCS file:
/home/cvspublic/xml-xerces/java/src/org/apache/xerces/dom/ElementImpl.java,v
retrieving revision 1.27
diff -r1.27 ElementImpl.java
494c494
<      * @return String       The Attr value as a string, or null
---
>      * @return String       The Attr value as a string, or empty string
510c510
<         return (attr == null) ? null : attr.getValue();
---
>         return (attr == null) ? "" : attr.getValue();