W3C home > Mailing lists > Public > public-i18n-its-ig@w3.org > November 2014

Question on domain in XLIFF

From: Felix Sasaki <fsasaki@w3.org>
Date: Tue, 18 Nov 2014 06:33:58 +0100
Message-Id: <85D3DC69-2162-4E92-A65B-92644B6FEE95@w3.org>
To: public-i18n-its-ig <public-i18n-its-ig@w3.org>
Hi all,

looking at Yves’ comment at

„The usage of the namespace urn:oasis:names:tc:xliff:its:2.1 is only due to XLIFF 2.0 validation constraints.
Note YS: it's also because the ITS namespace needs at time to be completed: when a data category uses the XLIFF markup and is missing some features (we would not be able to use the ITS namespace for this); and when ITS local rules are missing things, like a domain attribute"

I was wondering about domain local. As Yves writes, this is not available in ITS. So an ITS implementation will not look for local attributes. How should the ITS processor then work with local domain attributes in XLIFF? One answer could be to write a global domain rule like

 <its:domainRule selector="//xlf:mrk[@type='any‘ and @itsm:domains]" domainPointer="@itsm:domains" /> 

Using global rules for domain then means that this rule has to come last, so that it has precedence compared to other domain related global rules and in that way acts like a local markup. 


- Felix
Received on Tuesday, 18 November 2014 05:34:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:11:31 UTC