Re: XPath 2.0 in ITS

Thank you, Yves.

So the lack of support for XPath 2.0 is not in ITS but on Okapi's side

I guess that means that if I'm using an Okapi filter in OmegaT, I'm 
stuck with XPath 1.0 until version 2.0 gets implemented in Okapi.

Is that correct?

Would implementing support for XPath 2.0 in Okapi be a lot of work? 
(hours, days, weeks)

Thanks a lot.
Cheers, Manuel


On 2/2/23 5:00, yves@opentag.com wrote:
>
> 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 <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
> ____________________________
>

-- 

*Manuel Souto Pico*
Lead translation technologist
____________________________

cApStAn SA, Brussels
http://www.capstan.be
____________________________

Received on Thursday, 2 February 2023 10:13:39 UTC