Re: ACTION-54: Try to come up with example of xliff+its test format / output

Hi Yves,

Am 07.11.2014 um 13:58 schrieb Yves Savourel <ysavourel@enlaso.com>:

> Hi Felix, all,
> 
> I've tried to implement the offset as you described it (normalized whitespaces, no trimming of the ends).
> See the attached input and output for the Translate data category.

Great!

> 
> One more question: currently the output does not use counters in the paths; that is if there are 2 units the 2 paths use ..\unit\..
> and not ..\unit[1]\.. and ..\unit[2]\.. 
> 
> Is that enough or should we use counters on elements? It would make each line unique, even if we don't really need this for the
> comparisons.


It would be helpful - again for testing this is not needed but for the NIF output, which has RDF statements like

„<http://example.com/myitsservice?informat=html&intype=url&input=http://example.com/doc.html&char=0,11>  
 nif:wasConvertedFrom
 <http://example.com/myitsservice?informat=html&intype=url&input=http://example.com/doc.html&xpath=/html/body[1]/h2[1]/text()[1]>.
" 


If you use the counters having such output (of course independent of the testing task) will be easy to achieve.

best,

Felix

> 
> Cheers,
> -yves
> 
> <translate.xlf><translate.xlf.txt>

Received on Friday, 7 November 2014 13:03:04 UTC