[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [xliff] ITS rules syntax
We are also missing the case of the comment annotation using a @ref instead of a @value. Something like: <its:locNoteRule selector="//xlf:mrk[@type='comment' and @ref]" locNoteRefPointer="@ref" locNoteType="alert"/> But this needs to be tweaked for the locNoteType: ‘alert’ if the note has a priority of 1 or none, ‘description’ otherwise. I’m not sure how you would express this though as the priority value is in the referenced <note>. Maybe Felix or Soroush have ideas? -yve From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Yves Savourel There is at least one other error in a rule: <its:locNoteRule selector="//xlf:*[@annotation='comment' and @value]" locNotePointer="@value" locNoteType="description"/> Should be: <its:locNoteRule selector="//xlf:*[@type='comment' and @value]" locNotePointer="@value" locNoteType="description"/> Or probably even: <its:locNoteRule selector="//xlf:mrk[@type='comment' and @value]" locNotePointer="@value" locNoteType="description"/> Yves Savourel From: xliff@lists.oasis-open.org [mailto:xliff@lists.oasis-open.org] On Behalf Of Yves Savourel I’ve started to look at why our okapi ITS processor was getting a null pointer. It looks like it’s because the rules are have an attribute localizationNotePointer instead of locNotePointer. So one more typo to correct. I’m not sure the expressions work though: I get no error, but no notes associated with nodes either (so far). Yves Savourel From: David Filip [mailto:david.filip@adaptcentre.ie] 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 <ysavourel@enlaso.com> wrote:
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]