You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by bu...@apache.org on 2005/12/20 20:02:03 UTC
DO NOT REPLY [Bug 37708] - Different behaviour with NodeSet and RootNode with InclusiveNamespaces
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37708>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37708
sean.mullan@sun.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
------- Additional Comments From sean.mullan@sun.com 2005-12-20 20:02 -------
I have a tentative fix for this, I am still testing it. The fix is trivial -
Canonicalizer20010315Excl.java should not override
engineCanonicalizeXPathNodeSet(Set xpathNodeSet). This fixes the problem *if*
you manually call XMLUtils.circumventBug2650 before the node-set is created, it
does not work if you call it after the node-set is created (either directly, or
by calling XMLSignatureInput.setNeedsToBeExpanded). I feel that this is an
acceptable workaround and this bug should be marked as resolved if the rest
of the testing goes ok. It may be the case that once the node-set has been
created it is too late to call circumventBug2650 - maybe Raul can comment on
that.
svn diff Canonicalizer20010315Excl.java
Index: Canonicalizer20010315Excl.java
===================================================================
--- Canonicalizer20010315Excl.java (revision 357070)
+++ Canonicalizer20010315Excl.java (working copy)
@@ -209,10 +209,10 @@
}
/** @inheritDoc */
- public byte[] engineCanonicalizeXPathNodeSet(Set xpathNodeSet
- ) throws CanonicalizationException {
- return engineCanonicalizeXPathNodeSet(xpathNodeSet,"");
- }
+// public byte[] engineCanonicalizeXPathNodeSet(Set xpathNodeSet
+// ) throws CanonicalizationException {
+// return engineCanonicalizeXPathNodeSet(xpathNodeSet,"");
+// }
/**
* @inheritDoc
@@ -317,4 +317,4 @@
return result.iterator();
}
-}
\ No newline at end of file
+}
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.