Re: XSLT draft interpretation question: sequences of relational operators

Subject: Re: XSLT draft interpretation question: sequences of relational operators
From: James Clark <jjc@xxxxxxxxxx>
Date: Mon, 17 May 1999 12:48:22 +0700

Dieter Maurer wrote:
> 
> 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"

The latter.

> 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"

The latter.

James



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread