Thanks,
I managed to add the DTD p� my XML-file but I still can't sign the document. The
Reference URI fails. I can sign the exact same document if I use Reference ID. Any
idea what is wrong? Below is what I figure is the most important parts of my XML.
The call fails in xpath.c line 273 with the message
expr=xpointer(id('Id-9E70F376-B42E-4EAD-B5B3-8ED6F9CB5906'))
Regards,
Erik
<?xml version="1.0"?>
<!DOCTYPE SOAP-ENV:Envelope [
<!ATTLIST SOAP-ENV:Body wsu:Id ID #IMPLIED>
]>
<SOAP-ENV:Envelope>
...
<SOAP-ENV:Header>
...
<wsse:Security ...>
...
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
<Reference URI="#Id-9E70F376-B42E-4EAD-B5B3-8ED6F9CB5906">
...
</Reference>
</SignedInfo>
</Signature>
</wsse:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility"
wsu:Id="Id-9E70F376-B42E-4EAD-B5B3-8ED6F9CB5906" ...>
...
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec