You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by le...@locus.apache.org on 2000/02/21 19:31:47 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/dom ElementNSImpl.java AttrNSImpl.java
lehors 00/02/21 10:31:47
Modified: java/src/org/apache/xerces/dom ElementNSImpl.java
AttrNSImpl.java
Log:
setPrefix must update the nodeName as well as the prefix
Revision Changes Path
1.10 +2 -1 xml-xerces/java/src/org/apache/xerces/dom/ElementNSImpl.java
Index: ElementNSImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/ElementNSImpl.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ElementNSImpl.java 2000/02/10 21:23:36 1.9
+++ ElementNSImpl.java 2000/02/21 18:31:47 1.10
@@ -1,4 +1,4 @@
-/* $Id: ElementNSImpl.java,v 1.9 2000/02/10 21:23:36 lehors Exp $ */
+/* $Id: ElementNSImpl.java,v 1.10 2000/02/21 18:31:47 lehors Exp $ */
/*
* The Apache Software License, Version 1.1
*
@@ -208,6 +208,7 @@
"DOM002 Illegal character");
}
this.prefix = prefix;
+ this.name = prefix + ":" + localName;
}
/**
1.14 +2 -1 xml-xerces/java/src/org/apache/xerces/dom/AttrNSImpl.java
Index: AttrNSImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/AttrNSImpl.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- AttrNSImpl.java 2000/02/10 21:23:36 1.13
+++ AttrNSImpl.java 2000/02/21 18:31:47 1.14
@@ -1,4 +1,4 @@
-/* $Id: AttrNSImpl.java,v 1.13 2000/02/10 21:23:36 lehors Exp $ */
+/* $Id: AttrNSImpl.java,v 1.14 2000/02/21 18:31:47 lehors Exp $ */
/*
* The Apache Software License, Version 1.1
*
@@ -215,6 +215,7 @@
"DOM002 Illegal character");
}
this.prefix = prefix;
+ this.name = prefix + ":" + localName;
}
/**