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 2009/06/26 16:20:52 UTC
DO NOT REPLY [Bug 47260] Improve Java unit testing
https://issues.apache.org/bugzilla/show_bug.cgi?id=47260
--- Comment #2 from coheigea <co...@apache.org> 2009-06-26 07:20:50 PST ---
Created an attachment (id=23888)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23888)
A second patch for this issue
This is part two of a patch for improving the unit tests.
This patch fixes the failing IaikCoreFeaturesTest. The test verifies an iaik
test signature which contains a number of different references. One of the
references is to the document found here:
http://www.w3.org/TR/2000/REC-xml-20001006
The reason signature verification was failing is that this document seems to
have been modified since the signature was created....specifically, it used to
be:
<html lang="EN">
but now it has:
<html xmlns="http://www.w3.org/1999/xhtml" lang="EN">
and so the digest comparison fails. I changed the test by adding a
URIDerefencer which points to a local copy of the document in "data" which was
there previously and doesn't have the additional default namespace.
Colm.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.