<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Well, it's a known issue and it was discussed on xmlsec mailing list
many times.<br>
The last time was last week :)<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.aleksey.com/pipermail/xmlsec/2003/001527.html">http://www.aleksey.com/pipermail/xmlsec/2003/001527.html</a><br>
<br>
(read on this is a long thread).<br>
<br>
Breifly: Visa protocol breaks several XML specifications because
"939..." could not <br>
be an ID attribute. You may hack libxml2 and make it work. But I have
no idea what <br>
else woud you break and what kind of other security issues may show up.<br>
<br>
Aleksey<br>
<br>
<br>
<br>
Jason Coon wrote:<br>
<blockquote type="cite"
 cite="midLPEJLFMOLDCGDAKIGAJEIEKOCCAA.jason@terrarium.com">
  <pre wrap="">ok,
        I know I should not do this but I am desperate.  I am trying to verify this
xml message with the root cert.  Yes this is VISA.  Anyway.  I get this
message.  I have tried xmlsec1 and the examples and your online tool and
everything I do I get this error also attaching DTD to declare node.  I
think it is a bug though I can verify other types of xml signatures.  lo

Sun solaris
xmlsec1 1.1.1 (openssl)
libxml2  20511
OpenSSL 0.9.7b 10 Apr 2003

Any Help would be appreciated.

sincerally Jason Coon

func=xmlSecXPathDataExecute:file=xpath.c:line=273:obj=unknown:subj=xmlXPtrEv
al:error=5:libxml2 library function failed:expr=xpointer(id('939123509'))
func=xmlSecXPathDataListExecute:file=xpath.c:line=356:obj=unknown:subj=xmlSe
cXPathDataExecute:error=1:xmlsec library function failed:
func=xmlSecTransformXPathExecute:file=xpath.c:line=466:obj=xpointer:subj=xml
SecXPathDataExecute:error=1:xmlsec library function failed:
func=xmlSecTransformDefaultPushXml:file=transforms.c:line=2332:obj=xpointer:
subj=xmlSecTransformExecute:error=1:xmlsec library function failed:
func=xmlSecTransformCtxXmlExecute:file=transforms.c:line=1168:obj=unknown:su
bj=xmlSecTransformPushXml:error=1:xmlsec library function
failed:transform=xpointer
func=xmlSecTransformCtxExecute:file=transforms.c:line=1228:obj=unknown:subj=
xmlSecTransformCtxXmlExecute:error=1:xmlsec library function failed:
func=xmlSecDSigReferenceCtxProcessNode:file=xmldsig.c:line=1564: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:s
ubj=xmlSecDSigCtxProcessSignedInfoNode:error=1:xmlsec library function
failed:
func=xmlSecDSigCtxVerify:file=xmldsig.c:line=366:obj=unknown:subj=xmlSecDSig
CtxSigantureProcessNode:error=1:xmlsec library function failed:
Error: signature verification failed



&lt;ThreeDSecure&gt;&lt;Message id="PAReq20030928111313"&gt;&lt;PARes
id="939123509"&gt;&lt;version&gt;1.0.2&lt;/version&gt;&lt;Merchant
  </pre>
  <blockquote type="cite">
    <pre wrap="">&lt;acqBIN&gt;11111111111&lt;/acqBIN&gt;&lt;merID&gt;12AB,cd/34-EF  -g,5/H-67&lt;/merID&gt;&lt;/Mercha
    </pre>
  </blockquote>
  <pre wrap=""><!---->nt&gt;&lt;Purchase&gt;&lt;xid&gt;MDAwMDAwM
jAwMzA5MjgxMTEzMTM=&lt;/xid&gt;&lt;date&gt;20030928
11:13:13&lt;/date&gt;&lt;purchAmount&gt;123456&lt;/purchAmount&gt;&lt;currency&gt;840&lt;/
currency&gt;&lt;exponent&gt;2&lt;/exponent&gt;&lt;/Purchase&gt;&lt;pan&gt;0000000001000&lt;/pan&gt;&lt;TX&gt;&lt;time&gt;
20030928 16:12:46&lt;/time&gt;&lt;st
atus&gt;Y&lt;/status&gt;&lt;cavv&gt;AAABBJg0VhI0VniQEjRWAAAAAAA=&lt;/cavv&gt;&lt;eci&gt;03&lt;/eci&gt;&lt;cavvAl
gorithm&gt;1&lt;/cavvAlgorithm&gt;&lt;/
TX&gt;&lt;/PARes&gt;&lt;Signature xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2000/09/xmldsig#">"http://www.w3.org/2000/09/xmldsig#"</a>&gt;&lt;SignedInfo
xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2000/09/xmldsig#">"http://www.w3.org/2
000/09/xmldsig#"</a>&gt;&lt;CanonicalizationMethod
Algorithm=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/TR/2001/REC-xml-c14n-20010315">"http://www.w3.org/TR/2001/REC-xml-c14n-20010315"</a>&gt;&lt;/
CanonicalizationMethod&gt;&lt;SignatureMethod
Algorithm=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2000/09/xmldsig#rsa-sha1">"http://www.w3.org/2000/09/xmldsig#rsa-sha1"</a>&gt;&lt;/Signat
ureMethod&gt;&lt;Reference URI="#939123509"&gt;&lt;DigestMethod
Algorithm=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2000/09/xmldsig#sha1">"http://www.w3.org/2000/09/xmldsig#sha1"</a>&gt;
&lt;/DigestMethod&gt;&lt;DigestValue&gt;qbtokjyh7AaUwsfV3NdOtYraVVY=&lt;/DigestValue&gt;&lt;/Refe
rence&gt;&lt;/SignedInfo&gt;&lt;Signatu
reValue&gt;kGlOMSgqHlKo2mU5dcrVz2XJgl+fyyAxEQ61pD8XPOmNBH0C80PbmvBnrKD6UkpfoUhc
lCxL/zW/3RT1hTNY2pgf9FqSYAv
xthEDpmKyaQT6y77Eo3WTpSBOyV3XrH3xD4Mu76K8ZHNSuf1FRBvoDjO0CGEMW4VgupziCjgIeag
=&lt;/SignatureValue&gt;&lt;KeyInfo&gt;
&lt;X509Data&gt;&lt;X509Certificate&gt;MIICJTCCAY6gAwIBAgIVANr+5nC2js/XYLb4IjL9N32xM8AGM
A0GCSqGSIb3DQEBBQUAMEc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/SSPQ3bLunDVKxanOLDiXfczxGMnQZWK47fQfWdbqqEINrcObagSw44Ba9pF
Z796DXn5XPZOkLuhrgLSwVVVqkU
WLeUaRPEFGDXQMk9XqrbCpivQix1Hr+9DgWWiqg0snC7JkD6rieQ8NIuj+bD83vnuhOW/nLEuLSf
xk=&lt;/X509Certificate&gt;&lt;/X509
Data&gt;&lt;/KeyInfo&gt;&lt;/Signature&gt;&lt;/Message&gt;&lt;/ThreeDSecure&gt;

  </pre>
</blockquote>
</body>
</html>