[xmlsec] XPointer problem

Matthias Jung matthias.jung at xtradyne.com
Mon Mar 10 05:23:06 PST 2003

Dear Aleksey,

in December I asked you about using xpointer expressions in the "reference URI"
attribute of a signature. There was a path in xmlsec that caused some my tests
to fail.

At that time I helped myself using simpler xpointer expressions, but now I have
to use more complex expressions using namespace definitions. There is a sample 
expression below that I would like to use in the signature's reference section:

(works with libxml's "testXPath" application)

Trying to use such an expression in a signature like this ...


causes the error ....

(..\src\transforms.c:1182): error 4: xml operation failed :
(..\src\transforms.c:881): error 2: xmlsec operation failed :
(..\src\xmldsig.c:1602): error 2: xmlsec operation failed :

Shouldn't the function xmlXPtrEval be called with the argument
"xmlns(soap-env=http://...)xpointer(/soap-env:Envelope/soap-env:Body))" ????
If this presumption is true I would like to fix this and send a patch to you.

Sorry to bother you again,


More information about the xmlsec mailing list