RE: XPath Version

Even so,



It would be good to factor it into ITS 2.0 to assure interop as implementations increase over time.



Thanks,



Jan

________________________________
From: Yves Savourel [ysavourel@enlaso.com]
Sent: Tuesday, May 01, 2012 7:07 AM
To: 'Felix Sasaki'; 'Dave Lewis'
Cc: public-multilingualweb-lt@w3.org
Subject: RE: XPath Version

Mmm... It looks like “and its successors” was added at the last minute without much of a discussion and without thinking a lot about the implications.

If both versions are incompatible, without a flag indicating which version is used, the processor may be in trouble.

But I’m not sure where such flag would be set, on each element that uses XPath? At some top-level location (but there are not necessarily a top-level location in ITS)

All that not to mention that implementations of XPath 2.0 are far less common than 1.0 (and often require dependencies).

-ys


From: Felix Sasaki [mailto:fsasaki@w3.org]
Sent: Tuesday, May 01, 2012 7:23 AM
To: Dave Lewis
Cc: public-multilingualweb-lt@w3.org
Subject: Re: XPath Version

Hi Dave, all,

FYI, we had discussed this in the ITS working group a bit, see

https://www.w3.org/Bugs/Public/show_bug.cgi?id=3323
and
https://www.w3.org/2006/08/09-i18nits-minutes.html#item04

Felix

2012/4/30 Dave Lewis <dave.lewis@cs.tcd.ie<mailto:dave.lewis@cs.tcd.ie>>
Thanks Shaun, that's a good point and not one we've discussed yet, but it will definitely be an issue when we get into the guts of the implementation specific for data categories. I made a note in the ITS1.0  requirement document (http://www.w3.org/International/multilingualweb/lt/wiki/Requirements#Support_ITS_1.0_Data_Categories)  and also raised this as an issue so we can track it.

cheers,
Dave


On 30/04/2012 15: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

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






--
Felix Sasaki
DFKI / W3C Fellow

Received on Tuesday, 1 May 2012 14:49:38 UTC