[xquery-talk] range implementations -- which is correct?

Michael Rys mrys at microsoft.com
Tue Jun 21 16:07:57 PDT 2005


I think, Galax and Saxon are both correct according to their WD and
Saxon is correct against the most recent.

Best regards
Michael

> -----Original Message-----
> From: talk-bounces at xquery.com [mailto:talk-bounces at xquery.com] On
Behalf
> Of Howard Katz
> Sent: Tuesday, June 21, 2005 2:48 PM
> To: talk at xquery.com
> Subject: [xquery-talk] range implementations -- which is correct?
> 
> 
> What's the result of invoking
> 
>        ( <a/>, <b/>, <c/> )[ 1 to 2 ]
> 
> ----------------------------
> 
> MarkLogic 3.0 (May 2003 wd) returns
> 
>      <a/>
>      <b/>
> 
> Galax 0.5.0 (Oct 2004 wd) returns
> 
>      <a/>
>      <b/>
>      <c/>
> 
> Saxon 8.4 (Feb 2005 wd) returns
> 
>    "Error: Effective boolean value is not defined for a sequence
>     of two or more items starting with an atomic value
> 
> The situation is made somewhat more confusing because each
implementation
> is
> implemented against a different version of the wd. More precisely
there
> are
> two questions:
> 
> (1) Which of the above results are correct (or incorrect) for the
version
> of
> the working draft against which they were implemented, and
> (2) Which are correct (or incorrect) against the most recent working
draft
> of April 2005?
> 
> Howard
> 
> _______________________________________________
> talk at xquery.com
> http://xquery.com/mailman/listinfo/talk



More information about the talk mailing list