[xmlsec] inconsistent XPath: xmlsec vs apache.org's xml-security
Aleksey Sanin
aleksey at aleksey.com
Tue Jan 4 10:06:10 PST 2005
> And then here()/ancestor::frog:compliance[1]/child::ds:Signature should
> select all the ds:Signature children from that frog:compliance node,
> and I think there is only one such child in this case.
Thanks, Daniel! You are right: "child" selects only children of
the node. To select *all* the Signature nodes one need to use
something like this:
here()/ancestor::frog:compliance[1]/descendant::ds:Signature
Looks like a bug in Apache XPath engine :)
Aleksey
More information about the xmlsec
mailing list