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 2010/11/04 20:33:03 UTC

DO NOT REPLY [Bug 50215] New: test_jsr105 target appears to fail certain tests because of changes to W3C xml-stylesheet spec

https://issues.apache.org/bugzilla/show_bug.cgi?id=50215

           Summary: test_jsr105 target appears to fail certain tests
                    because of changes to W3C xml-stylesheet spec
           Product: Security
           Version: unspecified
          Platform: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: eric@tibco.com


The tests:

javax.xml.crypto.test.dsig.Baltimore18Test.test_signature_keyname
javax.xml.crypto.test.dsig.Baltimore18Test.test_signature_retrievalmethod_rawx509crt

and a few others fail, because they're signing the document:
http://www.w3.org/TR/xml-stylesheet/

However, this document has changed recently (2010-09-09 & 2010-10-28), and the
original reference should have been to the specific version of the file rather
than the "latest."

It appears that the test cases referencing this URL are no longer valid.

Doing:
grep -R "http://www.w3.org/TR/xml-stylesheet" data/

shows quite a number of test cases that include this same mistake.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 50215] test_jsr105 target appears to fail certain tests because of changes to W3C xml-stylesheet spec

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50215

sean.mullan@oracle.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from sean.mullan@oracle.com 2010-11-08 09:19:39 EST ---
Fixed in trunk and will be delivered in 1.4.4 release.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 50215] test_jsr105 target appears to fail certain tests because of changes to W3C xml-stylesheet spec

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50215

sean.mullan@oracle.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All

--- Comment #1 from sean.mullan@oracle.com 2010-11-05 09:48:20 EDT ---
This can be fixed without regenerating the signatures. What we can do is store
a local copy of the old stylesheet in the tests directory and then modify the
test to use a URIDereferencer that fetches the cached stylesheet instead of the
newer one from the w3c site. I'll get this fix in soon.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.