This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Re: xpath2 functions returning ()


> So:
>
>   (1, 2, 3)[2]
>
> is an error according to the XPath 2.0 WD, as far as I can tell.
>
> Which strikes me as rather peculiar, personally.
>
I think it's a bug.

You're right, the spec does say "The expression in the general step must
evaluate to a sequence of nodes". I'm fairly sure that what we MEANT to say
was that a general step used as an operand of "/" in a path expression must
evaluate to a sequence of nodes.

I'll ensure this is flagged as an issue.

Mike Kay


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]