Re: XMLDigitalSignature fails

2005-07-29 Thread Stefan Schulz
On Fri, 2005-07-29 at 16:34 -0400, Sean Mullan wrote: > Make sure you set your factory to be namespace aware, i.e. > > DocumentBuilderFactory fac = > DocumentBuilderFactory.newInstance(); > fac.setNamespaceAware(true); I have made the factory namespace-aware, but the problem persists, as muc

Re: XMLDigitalSignature fails

2005-07-29 Thread Sean Mullan
Make sure you set your factory to be namespace aware, i.e. DocumentBuilderFactory fac = DocumentBuilderFactory.newInstance(); fac.setNamespaceAware(true); --Sean Stefan Schulz wrote: Hello all I am sorry to bother the developers, but i am at the end of my (limited) knowledge here. Attache

Re: XMLDigitalSignature fails

2005-07-28 Thread Stefan Schulz
On Thu, 2005-07-28 at 22:04 +0200, Stefan Schulz wrote: Some corrections to the code *sigh* 1) Lost one line in copy & paste. Add a import static org.apache.xml.security.signature.XMLSignature.*; > import java.io.ByteArrayInputStream; > import java.io.ByteArrayOutputStream; > import java.securi

XMLDigitalSignature fails

2005-07-28 Thread Stefan Schulz
Hello all I am sorry to bother the developers, but i am at the end of my (limited) knowledge here. Attached to this mail is a piece of java Source code. I am using the latest binary release. I would expect to find this program outputing nothing, but instead, verifying the signature fails. Since t