santuario-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r992582 - in /xml/security/trunk: CHANGELOG.txt src/org/jcp/xml/dsig/internal/dom/DOMSubTreeData.java
Date Sat, 04 Sep 2010 11:21:55 GMT
Author: coheigea
Date: Sat Sep  4 11:21:55 2010
New Revision: 992582

URL: http://svn.apache.org/viewvc?rev=992582&view=rev
Log:
[Bug 49577] -  DOMSubTreeData allows for only one iteration over referenced data.

Modified:
    xml/security/trunk/CHANGELOG.txt
    xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSubTreeData.java

Modified: xml/security/trunk/CHANGELOG.txt
URL: http://svn.apache.org/viewvc/xml/security/trunk/CHANGELOG.txt?rev=992582&r1=992581&r2=992582&view=diff
==============================================================================
--- xml/security/trunk/CHANGELOG.txt (original)
+++ xml/security/trunk/CHANGELOG.txt Sat Sep  4 11:21:55 2010
@@ -1,5 +1,6 @@
 Changelog for "Apache xml-security" <http://santuario.apache.org/>
 New in v1.4.4-SNAPSHOT
+    Fixed Bug 49577: DOMSubTreeData allows for only one iteration over referenced data.
     Fixed Bug 49692: Xmlsec 1.4.3 not compatible with xmlbeans 2.4.0.
     Fixed Bug 49629: Some changes to the build system.
     Fixed Bug 49483: KeyResolver.registerAtStart() leads to ClassCastException. Thanks to
Clement Pellerin.

Modified: xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSubTreeData.java
URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSubTreeData.java?rev=992582&r1=992581&r2=992582&view=diff
==============================================================================
--- xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSubTreeData.java (original)
+++ xml/security/trunk/src/org/jcp/xml/dsig/internal/dom/DOMSubTreeData.java Sat Sep  4 11:21:55
2010
@@ -41,17 +41,15 @@ import org.w3c.dom.Node;
 public class DOMSubTreeData implements NodeSetData {
 
     private boolean excludeComments;
-    private Iterator ni;
     private Node root;
 
     public DOMSubTreeData(Node root, boolean excludeComments) {
 	this.root = root;
-	this.ni = new DelayedNodeIterator(root, excludeComments);
 	this.excludeComments = excludeComments;
     }
 
     public Iterator iterator() {
-	return ni;
+	return new DelayedNodeIterator(root, excludeComments);
     }
 
     public Node getRoot() {



Mime
View raw message