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

Hi Felix,

Can you specify a bit more how the offset would be computed?
It seems the zero is the start of the element (e.g. <source>) content.
But how would we count the inline element?

<source>Text<sm id='1' translate='no'/>data</source>

"Text" = 0,4
"data = 31,35

The problem is that we don't always know how long the inline tag is in the document (you can have extra spaces between attributes,
some attributes with default values may be omitted, etc.)

Or should we count each inline tag as 1 character?

Which would give:

"Text" = 0,4
"data = 5,9


Thanks,
-yves

Received on Thursday, 6 November 2014 20:34:52 UTC