- From: <yves@opentag.com>
- Date: Fri, 3 Feb 2023 13:42:56 +0100
- To: <felix@sasakiatcf.com>, "Sergey Nozhenko" <sergey.nozhenko@logrusglobal.com>
- Cc: "'Manuel Souto Pico [cApStAn]'" <manuel.souto@capstan.be>, <public-i18n-its-ig@w3.org>
Actually, the queryLanguage value for XPath 2 is xpath2 See https://www.w3.org/TR/its20/#d0e2761 -ys -----Original Message----- From: felix@sasakiatcf.com <felix@sasakiatcf.com> Sent: Friday, February 3, 2023 1:05 PM To: Sergey Nozhenko <sergey.nozhenko@logrusglobal.com> Cc: yves@opentag.com; 'Manuel Souto Pico [cApStAn]' <manuel.souto@capstan.be>; public-i18n-its-ig@w3.org Subject: Re: XPath 2.0 in ITS [You don't often get email from felix@sasakiatcf.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] You are right, Sergey. And the specification has only a dependency on XPath 1.0 https://www.w3.org/TR/its20/#normative-references So there is no conformant way to use another version of XPath than 1.0. In practice, I don't know if matters, since the backwards compatibility issues in XPath are rather minor. Best, Felix Am 2023-02-02 19:37, schrieb Sergey Nozhenko: > 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> > Sent: Wednesday, February 1, 2023 11:12 PM > To: public-i18n-its-ig@w3.org > Subject: XPath 2.0 in ITS > > You don't often get email from manuel.souto@capstan.be. Learn why > this is important [1] > > 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 > ____________________________ > > Links: > ------ > [1] https://aka.ms/LearnAboutSenderIdentification
Received on Friday, 3 February 2023 12:43:15 UTC