This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Re: xpath2 functions returning ()
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 4 Jan 2002 18:04:47 -0000
- Subject: RE: [xsl] Re: xpath2 functions returning ()
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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