- From: Jirka Kosek <jirka@kosek.cz>
- Date: Tue, 01 May 2012 23:15:26 +0200
- To: Shaun McCance <shaunm@gnome.org>
- CC: public-multilingualweb-lt@w3.org
- Message-ID: <4FA0526E.90305@kosek.cz>
On 30.4.2012 16:11, Shaun McCance wrote: > 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 And do we need backwards compatibility here? Backwards compatible mode is mainly used in XSLT where you can use XSLT 2.0 processor to run XSLT 1.0 stylehsheets. If you concern was about compatibility of ITS 1.0 rules when interpreted as ITS 2.0 rules, then I don't think that XPath 2.0 will bring here anything we should be worried about. > 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. I think that using XPath 2.0 should not be problem. There are many implementations, both commercial and open-source, for many platforms. And XPath 2.0 doesn't require "XSD implementation" nor does it require source documents to be schema valid. XPath 2.0 only uses datatypes from XML Schema. Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------
Received on Tuesday, 1 May 2012 21:15:53 UTC