W3C home > Mailing lists > Public > public-webapi@w3.org > February 2006

Re: [REX] Non conformant example

From: Robin Berjon <robin.berjon@expway.fr>
Date: Thu, 9 Feb 2006 13:12:26 +0100
Message-Id: <48EA4747-3473-420B-9C20-5F7F8D987C30@expway.fr>
Cc: public-webapi@w3.org
To: Fabrice Desré - France Telecom R&D/MAPS/AMS <fabrice.desre@francetelecom.com>

Hi Fabrice,

On Feb 09, 2006, at 12:47, Fabrice Desré - France Telecom R&D/MAPS/ 
AMS wrote:
>  My understanding is that the example at [1] (Removing an element)  
> is not compliant with the path syntax [2] : it uses a predicate  
> [@class="poodle-stylist-location"] when the path syntax only allows  
> positional predicates ("For each step a predicate may
> be used, which is limited to only containing an integer indicating  
> position.")

This is correct, and we intend to fix it. The reason for this is that  
the subset of XPath being used is still under discussion, and in this  
case the examples became a touch outdated. I believe there are other  
small glitches of this kind, the idea being that the specification  
should give a good feel for the language.

Note that implementations are allowed to implement more of XPath than  
the specification mandates for the baseline. The given message can  
therefore be interpreted, though it belongs to an extended set.

Thanks a lot for your feedback!

-- 
Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/
Received on Thursday, 9 February 2006 12:14:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:53 GMT