Subject: XSLT draft interpretation question: sequences of relational operators
From: Dieter Maurer <dieter@xxxxxxxxxxxx>
Date: Sun, 16 May 1999 20:59:33 +0000 (/etc/localtime)
|
The XSLT working draft grammar allows for expressions of the form
(1) r1 = r2 = r3 [grammar rule 24]
and
(2) a1 < a2 < a3 [grammar rule 25]
Is the intended interpretation of (1):
evaluate to true, iff all rn are equal
or
evaluate "r1 = r2" to a boolean "b"
and then evaluate "b = r3"
Is the intended interpretation of (2):
evaluate to true, iff both "a1 < a2" and "a2 < a3"
or
evaluate "a1 < a2" to a boolean "b"
and then evaluate "b < a3"
or should the grammar ban such expressions altogether.
- Dieter
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|