But the latest ITS 2.0 specification defines only two values for queryLanguage attribute: xpath and css, where the former means XPath 1.0.
Serge
From: yves@opentag.com <yves@opentag.com>
Sent: Thursday, February 2, 2023 7:01 AM
To: 'Manuel Souto Pico [cApStAn]' <manuel.souto@capstan.be>; public-i18n-its-ig@w3.org
Subject: RE: XPath 2.0 in ITS
Hi Manuel,
Technically, ITS 2.0 could use other versions than XPath 1.0. You would have to specify it in an queryLanguage attribute in <rules>.
But it means that the ITS processor would have to support it as well. Currently the ITS processor implemented in Okapi does not.
Cheers,
-yves
From: Manuel Souto Pico [cApStAn] <manuel.souto@capstan.be<mailto:manuel.souto@capstan.be>>
Sent: Wednesday, February 1, 2023 11:12 PM
To: public-i18n-its-ig@w3.org<mailto:public-i18n-its-ig@w3.org>
Subject: XPath 2.0 in ITS
You don't often get email from manuel.souto@capstan.be<mailto:manuel.souto@capstan.be>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Dear all,
I understand ITS 2.0 currently only supports XPath 1.0. Could you please confirm whether that's correct?
If that's the case, is there any workaround to use XPath 2.0 methods with ITS Version 2.0?
Thanks a lot.
Cheers, Manuel
Manuel Souto Pico
Lead translation technologist
____________________________
cApStAn SA, Brussels
http://www.capstan.be
____________________________