[xmlsec] XPointer problem
Aleksey Sanin
aleksey@aleksey.com
Wed, 12 Mar 2003 02:32:30 -0800
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