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

Re: Namespaces in Xpath expressions

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 9 Feb 2006 23:17:48 +0000 (UTC)
To: Robin Berjon <robin.berjon@expway.fr>
Cc: Elliotte Harold <elharo@metalab.unc.edu>, public-webapi@w3.org
Message-ID: <Pine.LNX.4.62.0602092317020.28514@dhalsim.dreamhost.com>

On Thu, 9 Feb 2006, Robin Berjon wrote:
> 
> On Feb 09, 2006, at 17:26, Elliotte Harold wrote:
> > I haven;t finished reading the spec yet, so I may be jumping the gun here
> > but I believe the XPath expression used in the REX document are incorrect.
> > Specifically they do not use namespace prefixes. Consider this example.
> 
> Yes, as explained in a previous post some of the examples were written a 
> little too fast and there are some inconsistencies. I blame the editor 
> who had too many things in parallel in mind to do the examples right. 
> They'll all be fixed.

It may be worth considering that if the editor of the specification can't 
get the XPath expressions in the examples correct, it is very likely that 
authors of content using the specification will have even more troubles.

Maybe using XPath for this purpose is not the optimal choice?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 9 February 2006 23:17:55 GMT

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