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: <5.1.0.14.0.20020205193421.081c40a8@157.189.161.214>
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.

Jonathan
Received on Tuesday, 5 February 2002 19:35:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:54 GMT