XPath 2.0 distinguishes between value comparisons (ge,
eq, lt, etc.) and general comparisons (=, <=, etc.).
General comparisons succeed when any one element on the
left sequence (including a singleton sequence) succeeds
with any one element on the right sequence.
So, the following should work on the sample file id.xml:
//*[@id=("foobar","fb1")]
to select exactly two nodes. It fails to parse at all.
I don't know whether this is an XPE bug, or an Jaxen bug.
Regards,
Dan Greening (415)810-3693, greening at bigtribe dot com
Logged In: YES
user_id=258611
This may be due to Jaxen not supporting XPath 2.0. I
remember about a year ago there was some talk on the
Jaxen mailing list about how 2.0 would require some major
rewriting.