[xmlsec] XPointer problem

Aleksey Sanin aleksey at aleksey.com
Wed Mar 12 02:32:30 PST 2003


If I am reading the spec correctly, this is not xmlsec but XML DSig 
restriction:

        http://www.w3.org/TR/xmldsig-core/#sec-ReferenceProcessingModel

Unfortunatelly, I don't know how to differentiate '#id ' from 
'#shorthand-expr'.
There is an option of checking the first letter after '#' and if it is 
'/'assume that
this is shorthand expression and otherwise it is an id. But I am not 
sure that
this is correct way of doing this (afaik, there is no restriction that 
id could not
start from '/', for example, "<test ID="/aaa"/>" seems absolutelly legal 
to me).


Aleksey





More information about the xmlsec mailing list