[Fwd: Re: [xmlsec] Problem with ver 0.0.11]

Aleksey Sanin aleksey at aleksey.com
Wed Dec 4 11:19:00 PST 2002


> Another xpointer expression failing in the new version (but did not in 
> the old) is
>
> <ds:Reference 
> URI="#xmlns(soap-env=http://schemas.xmlsoap.org/soap/envelope/)xpointer(/soap-env:Envelope/soap-env:Body)"> 
>
>   
> To me it looks like a valid xpointer expression. Signing a SOAP 
> envelope using this expession causes the same error than described in 
> the last email.
>
>    (..\src\transforms.c:1181): error 4: xml operation failed : 
> xmlXPtrEval(xmlns(soap-env=http://schemas.xmlsoap.org/soap/envelop...


Again, you need to *say* that this is an xpointer expression:
    URI="xpointer(xmlns(.....))"
Otherwise, the "xmlns(...)" string is considered an ID attribute. In the 
old xmlsec version
this was ok because I just had a bug :(


Aleksey




More information about the xmlsec mailing list