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


Dear Yves, Felix, all

It seems to me that double colon (::) parts are definitely extra in the expressions. Unfortunately they were not caught by Schematron validators since they are just extension attribute values from the point of view of Schematron.

Soroush.   

On Jun 18, 2017, at 12:42 PM, Yves Savourel <ysavourel@enlaso.com> wrote:

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]