S
Soren Kuula
Hi,
In the XPath 2.0 requirements (http://www.w3.org/TR/xpath20req/), you
see claims like:
1. In XPath 1.0, the expression |5 > $ns| evaluates to true if |5| is
greater than the |number()| value of at least one node in the
|$ns| node set. There is no way to test whether |5| is greater
than the |number()| values of all nodes in |$ns|.
Is it really so ? What's wrong with 'not (5 < $ns)' ?
(ok I could try in some XPath evaluator, but I might do it wrong, it
might have bugs, and in any case I would not get to know the reason for
being right / wrong)
Soren
In the XPath 2.0 requirements (http://www.w3.org/TR/xpath20req/), you
see claims like:
1. In XPath 1.0, the expression |5 > $ns| evaluates to true if |5| is
greater than the |number()| value of at least one node in the
|$ns| node set. There is no way to test whether |5| is greater
than the |number()| values of all nodes in |$ns|.
Is it really so ? What's wrong with 'not (5 < $ns)' ?
(ok I could try in some XPath evaluator, but I might do it wrong, it
might have bugs, and in any case I would not get to know the reason for
being right / wrong)
Soren