W3C home > Mailing lists > Public > public-wai-ert-tsdtf@w3.org > June 2007

Re: XPath 2.0 in TCDL 2.0

From: Christophe Strobbe <christophe.strobbe@esat.kuleuven.be>
Date: Wed, 13 Jun 2007 11:29:23 +0200
Message-Id: <6.2.5.6.2.20070613110140.0336a490@esat.kuleuven.be>
To: TSDTF <public-wai-ert-tsdtf@w3.org>

Hi,

At 10:51 13/06/2007, I wrote:
>Hi,
>
>As you may know, XPath 2.0 [1] became a W3C Recommendation in 
>January 2007. The current TCDL 2.0 spec was mostly written before 
>that time and only references XPath 1.0:
>"The xpath attribute type specifies the location of an issue by 
>means of an XPath expression as defined in XPath 1.0." [2]
>
>Would there be any objections against allowing XPath 2.0? According 
>to the abstract of the XPath 2.0 spec, XPath 2.0 is a superset of 
>XPath 1.0, so there would be no need to make immediate changes; it 
>would just give us a more powerful expression language when we need it.

In my previous message, I overlooked the incompatibilities [3] 
between XPath 1.0 and XPath 2.0. It appears from a superficial look, 
however, that these compatibilities are mainly related to functions, 
operators and data types, which are hardly (if ever) used in our 
XPath expressions. The namespace axis (namespace::foo) is deprecated 
in XPath 2.0, but it is not used anywhere in the BenToWeb test cases anyway.



>[1] <http://www.w3.org/TR/xpath20/>
>[2] <http://bentoweb.org/refs/TCDL2.0.html#edef-location>

[3] <http://www.w3.org/TR/xpath20/#id-backwards-compatibility>

Best regards,

Christophe


-- 
Christophe Strobbe
K.U.Leuven - Dept. of Electrical Engineering - SCD
Research Group on Document Architectures
Kasteelpark Arenberg 10 bus 2442
B-3001 Leuven-Heverlee
BELGIUM
tel: +32 16 32 85 51
http://www.docarch.be/ 


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Received on Wednesday, 13 June 2007 09:29:29 GMT

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