OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xliff message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [xliff] ITS rules syntax


Thanks Soroush & Felix.

 

Did you really mean “//:” by “/”? (seems to get errors too)

Or “//::” by “/” (seems to be pass, syntactically).

 

Thanks

-yves

 

From: Felix Sasaki [mailto:felix@sasakiatcf.com]
Sent: Sunday, June 18, 2017 1:33 PM
To: Yves Savourel <ysavourel@enlaso.com>
Cc: XLIFF Main List <xliff@lists.oasis-open.org>
Subject: Re: [xliff] ITS rules syntax

 

Hi Yves, all,

 

you are right, this is not the correct syntax, probably due to export from Oxygen editor? Anyway replacing //: by / should help.

 

- Felix

 

2017-06-18 18:42 GMT+02:00 Yves Savourel <ysavourel@enlaso.com>:

Hi all,

 

Are we sure the ITS rules in its.sch (especially the locNoteRule ones) are correct?

I’m getting syntax errors like “A location step was expected following the '/' or '//' token.” When trying to process them.

 

I’m certainly no XPath expert, but the “//::” parts look odd.

 

For example a rule like:

 

//xlf:file//::xlf:source[ancestor::xlf:file[not(@appliesTo)]/xlf:notes/xlf:note[@priority=1]] | //xlf:file[not(@appliesTo)]//::xlf:target[ancestor::xlf:file[not(@appliesTo)]/xlf:notes/xlf:note[@priority=1]]

 

Does not pass any online XPath evaluators/validators I’ve tried.

 

Thoughts?

-yves

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]