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/06/17 00:54:59 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/dom DeferredAttrNSImpl.java
andyc 00/06/16 15:54:59
Modified: java/src/org/apache/xerces/dom DeferredAttrNSImpl.java
Log:
Namespace URI not being associated with attributes in deferred
mode. Fixed.
Revision Changes Path
1.9 +3 -2 xml-xerces/java/src/org/apache/xerces/dom/DeferredAttrNSImpl.java
Index: DeferredAttrNSImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/DeferredAttrNSImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- DeferredAttrNSImpl.java 2000/05/17 18:31:35 1.8
+++ DeferredAttrNSImpl.java 2000/06/16 22:54:59 1.9
@@ -61,7 +61,7 @@
* DeferredAttrImpl.java at the same time.
*/
-/* $Id: DeferredAttrNSImpl.java,v 1.8 2000/05/17 18:31:35 jeffreyr Exp $ */
+/* $Id: DeferredAttrNSImpl.java,v 1.9 2000/06/16 22:54:59 andyc Exp $ */
package org.apache.xerces.dom;
@@ -149,7 +149,8 @@
}
specified(ownerDocument.getNodeValue(fNodeIndex) == 1);
- namespaceURI = pool.toString(ownerDocument.getNodeURI(attrQName));
+ //namespaceURI = pool.toString(ownerDocument.getNodeURI(attrQName));
+ namespaceURI = pool.toString(ownerDocument.getNodeURI(fNodeIndex));
// DOM Level 2 wants all namespace declaration attributes
// to be bound to "http://www.w3.org/2000/xmlns/"
// So as long as the XML parser doesn't do it, it needs to