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/27 05:22:50 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/dom DeferredDocumentTypeImpl.java
andyc 00/06/26 20:22:49
Modified: java/src/org/apache/xerces/dom DeferredDocumentTypeImpl.java
Log:
Removed redundant synch code.
Revision Changes Path
1.7 +0 -11 xml-xerces/java/src/org/apache/xerces/dom/DeferredDocumentTypeImpl.java
Index: DeferredDocumentTypeImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/DeferredDocumentTypeImpl.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- DeferredDocumentTypeImpl.java 2000/05/25 01:58:30 1.6
+++ DeferredDocumentTypeImpl.java 2000/06/27 03:22:48 1.7
@@ -187,18 +187,7 @@
// element definitions
case NodeImpl.ELEMENT_DEFINITION_NODE: {
-
- // add element definition
elements.setNamedItem(node);
-
- // add attributes to element definition
- NamedNodeMap attrs = node.getAttributes();
- for (int attrIndex = ownerDocument.getLastChild(node.getNodeIndex());
- attrIndex != -1;
- attrIndex = ownerDocument.getPrevSibling(attrIndex)) {
- DeferredNode attr = ownerDocument.getNodeObject(attrIndex);
- attrs.setNamedItem(attr);
- }
break;
}