Yves, Soroush, Felix, all
Are the rules working now? Was it an easy syntax fix attributable to a typo or export error, but no actual ambiguity as to where on the XLIFF tree the rules apply?
Please let us know, it seems to me that the cs01 fate hinges on the answers to the above questions..
Cheers
dF
Dr. David Filip
===========
OASIS XLIFF OMOS TC Chair
OASIS XLIFF TC Secretary, Editor, Liaison Officer
Spokes Research Fellow
ADAPT Centre
KDEG, Trinity College Dublin
Mobile: +420-777-218-122
On Mon, Jun 19, 2017 at 12:07 AM, Yves Savourel <> wrote:
Thanks Soroush.
I get some null pointer now, but that may be a bug in our ITS engine implementation.
Somehow the selector return null. I’ll have to go debug that…
-ys
From: Soroush.Saadatfar [mailto:]
Sent: Sunday, June 18, 2017 4:02 PM
To: Yves Savourel <>
Cc: XLIFF Main List <>
Subject: Re: [xliff] ITS rules syntax
Dear Yves,
I believe it was supposed to be
//xlf:file//xlf:source…
//xlf:file[not(@appliesTo)]//xlf:target...
to select all sources and targets of a file respectively.
Soroush.
On Jun 18, 2017, at 5:10 PM, Yves Savourel <> wrote:
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:]
Sent: Sunday, June 18, 2017 1:33 PM
To: Yves Savourel <>
Cc: XLIFF Main List <>
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 <>:
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