<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><font face="Courier" style="font-size: 13px; ">Hi xmlsec team,</font></div>
<div><font face="Courier" style="font-size: 13px;"><br>
</font></div>
<div><font face="Courier" style="font-size: 13px;">I use xmlsec library to verify signature whether correct. But when saml response include "<ds:Reference
<font color="#ff0000">URI</font>="#s29c0153b613859ac1c788536d2a924d65e643b308" xmlns:ds="<a href="http://www.w3.org/2000/09/xmldsig#">">http://www.w3.org/2000/09/xmldsig#"></a>"</font></div>
<div><font face="Courier" style="font-size: 13px;">I got the error:</font></div>
<div><font color="#003f80" style="font-family: Calibri, sans-serif; font-size: 14px; "><br>
</font></div>
<div>
<pre style="word-wrap: break-word; white-space: pre-wrap; ">func=xmlSecXPathDataExecute:file=xpath.c:line=273:obj=unknown:subj=xmlXPtrEval:error=5:libxml2 library function failed:expr=xpointer(id('s29c0153b613859ac1c788536d2a924d65e643b308'))
func=xmlSecXPathDataListExecute:file=xpath.c:line=356:obj=unknown:subj=xmlSecXPathDataExecute:error=1:xmlsec library function failed: 
func=xmlSecTransformXPathExecute:file=xpath.c:line=466:obj=xpointer:subj=xmlSecXPathDataExecute:error=1:xmlsec library function failed: 
func=xmlSecTransformDefaultPushXml:file=transforms.c:line=2405:obj=xpointer:subj=xmlSecTransformExecute:error=1:xmlsec library function failed: 
func=xmlSecTransformCtxXmlExecute:file=transforms.c:line=1236:obj=unknown:subj=xmlSecTransformPushXml:error=1:xmlsec library function failed:transform=xpointer
func=xmlSecTransformCtxExecute:file=transforms.c:line=1296:obj=unknown:subj=xmlSecTransformCtxXmlExecute:error=1:xmlsec library function failed: 
func=xmlSecDSigReferenceCtxProcessNode:file=xmldsig.c:line=1571:obj=unknown:subj=xmlSecTransformCtxExecute:error=1:xmlsec library function failed: 
func=xmlSecDSigCtxProcessSignedInfoNode:file=xmldsig.c:line=804:obj=unknown:subj=xmlSecDSigReferenceCtxProcessNode:error=1:xmlsec library function failed:node=Reference
func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=547:obj=unknown:subj=xmlSecDSigCtxProcessSignedInfoNode:error=1:xmlsec library function failed: 
func=xmlSecDSigCtxVerify:file=xmldsig.c:line=366:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlsec library function failed: 
Error: signature verification failed</pre>
<pre style="word-wrap: break-word; white-space: pre-wrap; "><br></pre>
<pre style="word-wrap: break-word; "><font face="Calibri"><span style="font-size: 14px; white-space: normal; ">I found the answer of similar issue from </span><a rel="nofollow" href="http://www.aleksey.com/xmlsec/faq.html" target="_blank" style="text-decoration: none; font-size: 14px; background-color: rgb(255, 255, 255); ">http://www.aleksey.com/xmlsec/faq.html</a></font></pre>
<pre style="word-wrap: break-word; "><font face="Courier" style="font-size: 13px;">S<span style="background-color: rgb(255, 254, 254); ">o I add the DTD:</span></font></pre>
<pre style="word-wrap: break-word; "><span style="text-align: -webkit-left; white-space: normal; "><!DOCTYPE test [</span><br style="text-align: -webkit-left; white-space: normal; "><span style="text-align: -webkit-left; white-space: normal; "><!ATTLIST </span>ds:Reference<span style="text-align: -webkit-left; white-space: normal; "> URI ID #IMPLIED></span><br style="text-align: -webkit-left; white-space: normal; "><span style="text-align: -webkit-left; white-space: normal; ">]></span></pre>
<pre style="word-wrap: break-word; ">But it doesn't work. Someone can help me out.</pre>
<pre style="word-wrap: break-word; ">Thanks in advance.</pre>
<pre style="word-wrap: break-word; "><br></pre>
<pre style="word-wrap: break-word; ">-Jeffrey</pre>
</div>
</body>
</html>