W3C home > Mailing lists > Public > www-xpath-comments@w3.org > January to March 2002

Re: Error in example of For Expression?

From: Jonathan Robie <jonathan.robie@softwareag.com>
Date: Tue, 05 Feb 2002 19:34:55 -0500
Message-Id: <>
To: "Peter Marks" <petermarks@blueyonder.co.uk>, <www-xpath-comments@w3.org>
At 02:06 PM 2/5/2002 -0500, Peter Marks wrote:

>The use of $b in //book[$b/author = $a] is an error acording to:
>"A variable name may not be used before it is bound, nor may it be used in
>the expression to which it is bound."
>The example should use //book[author = $a]

Yes, you are completely right. We'll fix that the next time around.

Received on Tuesday, 5 February 2002 19:35:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:42 UTC