Bug 49577

Summary: DOMSubTreeData (implementation of NodeSetData) allows for only one iteration over referenced data
Product: Security - Now in JIRA Reporter: Zoran Regvart <zregvart>
Component: SignatureAssignee: XML Security Developers Mailing List <security-dev>
Status: RESOLVED FIXED    
Severity: major    
Priority: P2    
Version: Java 1.4.2   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Zoran Regvart 2010-07-09 09:32:02 UTC
When dereferencing data from a Reference an implementation of NodeSetData (DOMSubTreeData) is given, this implementation allows for only one iteration over the signed nodes. In other words one can reference signed nodes only once. DOMSubTreeData should allow for multiple iterations over the signed nodes. This is not the case with ApacheNodeSetData which allows for multiple iterations over the Nodes.
Comment 1 coheigea 2010-09-04 07:22:48 UTC
A fix for this issue has been applied:

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


Colm.