Bug 49577 - DOMSubTreeData (implementation of NodeSetData) allows for only one iteration over referenced data
Summary: DOMSubTreeData (implementation of NodeSetData) allows for only one iteration ...
Status: RESOLVED FIXED
Alias: None
Product: Security - Now in JIRA
Classification: Unclassified
Component: Signature (show other bugs)
Version: Java 1.4.2
Hardware: All All
: P2 major
Target Milestone: ---
Assignee: XML Security Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-09 09:32 UTC by Zoran Regvart
Modified: 2010-09-04 07:22 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.