[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [xliff] ITS: Preserve space and Language Information
Going from a structural element to an inline one in the Terminology case is easy: you don't lose anything.
But forcing some inline formatting information to drive segmentation is completely different and very restrictive.
In addition to losing granularity you also assume the segmentation is done by the extractor agent.
I see plenty of technical documents where inline formatting mixes spans of true text with fixed-space sections. Elements like <code>, <var>, <kbd>, etc. in HTML (and their counterparts in DITA, DocBook, etc.) are examples of such spans where the style often requires preserving the spaces. There is no way we can reasonably use segmentation to apply that information.
The bottom line is that if we didn't have <sm/> we would not have this discussion and everyone would see xml:space and xml:lang as perfectly natural in <mrk>. This tells me the issue is how to represent those two features with <sm/>.
Trying to rationalize how we can avoid inline cases is just wishful thinking.
Ideally what we should have done in 2.0 was to allow xml:lang and xml:space in <mrk> and declare XLIFF Core attributes ‘space’ and ‘lang’ for <sm/> to work around the scope issue.
But we are at 2.1 now, and we can't modify the Core.
So, in my opinion, using the ITS module to get an inline solution seems to be the best we can do now.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]