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 2004/07/27 17:22:58 UTC

DO NOT REPLY [Bug 30348] New: - XMLSignatureInput(Node) no longer throws TransformerExc

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=30348>.
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=30348

XMLSignatureInput(Node) no longer throws TransformerExc

           Summary: XMLSignatureInput(Node) no longer throws TransformerExc
           Product: Security
           Version: cvs
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: sean.mullan@sun.com


XMLSignatureInput(Node) was changed recently to not throw TransformerException.
Unfortunately this breaks existing applications, since we have code that calls
XMLSignatureInput(Node) in a try catch block, as follows:

try {
    in = new XMLSignatureInput(node);
} catch (TransformerException te) {
    ...
}

The same problem exists for XMLSignatureInput(Node, CachedXPathAPI)

I think you should restore the throws.