W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > April 2012

RE: XPath Version

From: Yves Savourel <ysavourel@enlaso.com>
Date: Mon, 30 Apr 2012 08:42:46 -0600
To: <public-multilingualweb-lt@w3.org>
Message-ID: <assp.04671d6a1a.assp.046727f38c.000901cd26df$81de1470$859a3d50$@com>
Hi Shaun,

I agree with you: this is an important question. It has a lot of implications.

I can't recall why ITS 1.0 wasn't more specific on the version. But we stuck to XPath 1.0 for the test suite and the examples. We should be more specific for this new specification.

Cheers,
-yves


-----Original Message-----
From: Shaun McCance [mailto:shaunm@gnome.org] 
Sent: Monday, April 30, 2012 8:12 AM
To: public-multilingualweb-lt@w3.org
Subject: XPath Version

What version of XPath will be used for ITS 2.0? ITS 1.0 says "The selector attribute contains an AbsoluteLocationPath as described in XPath 1.0 or its successor."

http://www.w3.org/TR/its/#datacategory-locations

But XPath 2.0 isn't entirely backwards compatible with XPath 1.0.

http://www.w3.org/TR/xpath20/#id-backwards-compatibility

I suppose new standards probably ought to use the newest version.
But XPath 2.0 is considerably more difficult to implement, and a full implementation requires an XSD implementation. 2.0 isn't as widely implemented as 1.0, and requiring it could hurt adoption.

Sorry if this has been discussed already. I didn't see anything on the wiki pages.

--
Shaun
Received on Monday, 30 April 2012 14:43:09 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 9 June 2013 00:24:55 UTC