← Prev in month ← Prev in thread

XPath: what's the answre to True >= False

From
Berend de Boer <>
To
xml-dev <>
Date
2002-12-06T00:33:16Z
ID
<>
Thread
XPath: what's the answre to True >= False
Hello All,

When trying to create another XPath implementation I stumbled upon the 
somewhat complex conversion in paragraph 3.5: Booleans. To compare a 
boolean and a node-set, both are converted to Booleans. For all 
operators, including >= and <=. Can anyone tell me what:

    True >= False
    False >= True

and

    False <= True
    True <= False

is?

IMO, paragraph 3.5 could have been simpler if all comparisons with >= 
and <= first would have been converted to number. Would make the 
paragraph shorter as well.

-- 

Thank you very much for any anwsers,

Berend. (-:
← Prev in month ← Prev in thread