You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@locus.apache.org on 2000/09/27 22:37:01 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/scanners XMLAttributes.java
andyc 00/09/27 13:37:01
Modified: java/src/org/apache/xerces/scanners Tag: xerces_j_2
XMLAttributes.java
Log:
The getName(int) methods was only returning the localpart.
It now returns the rawname as expected.
Revision Changes Path
No revision
No revision
1.1.2.8 +2 -2 xml-xerces/java/src/org/apache/xerces/scanners/Attic/XMLAttributes.java
Index: XMLAttributes.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/scanners/Attic/XMLAttributes.java,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -r1.1.2.7 -r1.1.2.8
--- XMLAttributes.java 2000/09/27 20:25:25 1.1.2.7
+++ XMLAttributes.java 2000/09/27 20:37:00 1.1.2.8
@@ -65,7 +65,7 @@
/**
* @author Stubs generated by DesignDoc on Mon Sep 11 11:10:57 PDT 2000
- * @version $Id: XMLAttributes.java,v 1.1.2.7 2000/09/27 20:25:25 andyc Exp $
+ * @version $Id: XMLAttributes.java,v 1.1.2.8 2000/09/27 20:37:00 andyc Exp $
*/
public class XMLAttributes
implements AttributeList, Attributes {
@@ -399,7 +399,7 @@
if (index < 0 || index >= fSize) {
return null;
}
- return fAttributes[index].name.localpart;
+ return fAttributes[index].name.rawname;
}
//