CINXE.COM

Internationalization Tag Set (ITS) Version 2.0

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>Internationalization Tag Set (ITS) Version 2.0</title><style type="text/css"> </style><link rel="stylesheet" href="local.css" type="text/css"/><link rel="stylesheet" type="text/css" href="https://www.w3.org/StyleSheets/TR/W3C-REC.css" /></head><body><div class="head"><p><a href="https://www.w3.org/"><img src="https://www.w3.org/Icons/w3c_home" alt="W3C" height="48" width="72" /></a></p> <h1><a name="title" id="title"></a>Internationalization Tag Set (ITS) Version 2.0</h1> <h2><a name="w3c-doctype" id="w3c-doctype"></a>W3C Recommendation 29 October 2013</h2><dl><dt>This version:</dt><dd> <a href="https://www.w3.org/TR/2013/REC-its20-20131029/"> http://www.w3.org/TR/2013/REC-its20-20131029/</a> </dd><dt>Latest version:</dt><dd> <a href="https://www.w3.org/TR/its20/">http://www.w3.org/TR/its20/</a> </dd><dt>Previous version:</dt><dd><a href="https://www.w3.org/TR/2013/PR-its20-20130924/"> http://www.w3.org/TR/2013/PR-its20-20130924/</a></dd><dt>Editors:</dt><dd>David Filip, University of Limerick</dd><dd>Shaun McCance, Invited Expert</dd><dd>Dave Lewis, TCD</dd><dd>Christian Lieske, SAP AG</dd><dd>Arle Lommel, DFKI</dd><dd>Jirka Kosek, UEP</dd><dd>Felix Sasaki, DFKI / W3C Fellow</dd><dd>Yves Savourel, ENLASO</dd></dl><p>Please refer to the <a href="https://www.w3.org/International/its/ig/its20-errata.html"><strong>errata</strong></a> for this document, which may include some normative corrections.</p><p>See also <a href="https://www.w3.org/2003/03/Translations/byTechnology?technology=its"><strong>translations</strong></a>.</p><p>This document is also available in these non-normative formats: <a href="its20.odd">ODD/XML document</a>, <a href="itstagset20.zip">self-contained zipped archive</a>, and <a href="diffs/diff-rec20131029-wd20130924.html">XHTML Diff markup to previous publication 2013-09-24</a>.</p><p class="copyright"><a href="https://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2013 <a href="https://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>, <a href="http://ev.buaa.edu.cn/">Beihang</a>), All Rights Reserved. W3C <a href="https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="https://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p></div><hr/><div> <h2><a name="abstract" id="abstract"></a>Abstract</h2><p>The technology described in this document “<em>Internationalization Tag Set (ITS) 2.0</em>“ enhances the foundation to integrate automated processing of human language into core Web technologies. ITS 2.0 bears many commonalities with its predecessor, <a href="https://www.w3.org/TR/2007/REC-its-20070403/">ITS 1.0</a> but provides additional concepts that are designed to foster the automated creation and processing of multilingual Web content. ITS 2.0 focuses on HTML, XML-based formats in general, and can leverage processing based on the XML Localization Interchange File Format (XLIFF), as well as the Natural Language Processing Interchange Format (NIF).</p></div><div> <h2><a name="status" id="status"></a>Status of this Document</h2><p> <em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the <a href="https://www.w3.org/TR/">W3C technical reports index</a> at http://www.w3.org/TR/.</em> </p><p>The technology described in this document “<em>Internationalization Tag Set (ITS) 2.0</em>“ enhances the foundation to integrate automated processing of human language into core Web technologies. ITS 2.0 bears many commonalities with is predecessor, <a href="https://www.w3.org/TR/2007/REC-its-20070403/">ITS 1.0</a> but provides additional concepts that are designed to foster the automated creation and processing of multilingual Web content. ITS 2.0 focuses on HTML, XML-based formats in general, and can leverage processing based on the XML Localization Interchange File Format (XLIFF), as well as the Natural Language Processing Interchange Format (NIF).</p><p>This document was published by the <a href="https://www.w3.org/International/multilingualweb/lt/">MultilingualWeb-LT Working Group</a> as a W3C Recommendation (see <a href="https://www.w3.org/2004/02/Process-20040205/tr.html#maturity-levels">W3C document maturity levels</a>). The Working Group has completed and approved this specification's <a href="https://github.com/w3c/its-2.0-testsuite/">Test Suite</a> and created an <a href="https://www.w3.org/International/multilingualweb/lt/drafts/its20/its20-implementation-report.html">Implementation Report</a> that shows that two or more independent implementations pass each test.</p><p>This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. It is a stable document and may be used as reference material or cited from another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment. This enhances the functionality and interoperability of the Web.</p><p>The ITS 2.0 specification has a normative dependency on the HTML5 specification: it relies on the <a href="https://www.w3.org/TR/2013/CR-html5-20130806/dom.html#the-translate-attribute">HTML5 Translate attribute</a>. By publishing this Recommendation, W3C expects that the functionality specified in this ITS 2.0 Recommendation will not be affected by changes to HTML5 as that specification proceeds to Recommendation.</p><p>If you wish to make comments, please send them to <a href="mailto:public-i18n-its-ig@w3.org">public-i18n-its-ig@w3.org</a>. The <a href="http://lists.w3.org/Archives/Public/public-i18n-its-ig/">archives for this list</a> are publicly available. See also issues discussed within the <a href="https://www.w3.org/International/multilingualweb/lt/">MultilingualWeb-LT Working Group</a> and the <a href="#changelog-since-20130924">list of changes</a> since the previous publication.</p><p>This document was produced by a group operating under the <a href="https://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a href="https://www.w3.org/2004/01/pp-impl/53116/status">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="https://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="https://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>. </p></div><div class="toc"> <h2><a name="contents" id="contents"></a>Table of Contents</h2><div class="toc"><div class="toc1">1 <a href="#introduction">Introduction</a><div class="toc2">1.1 <a href="#overview">Overview</a></div> <div class="toc2">1.2 <a href="#general-motiviation-for-ITS2.0">General motivation for going beyond ITS 1.0</a></div> <div class="toc2">1.3 <a href="#usage-scenarios">Usage Scenarios</a></div> <div class="toc2">1.4 <a href="#high-level-differences-between-1.0-and-2.0">High-level differences between ITS 1.0 and ITS 2.0</a></div> <div class="toc2">1.5 <a href="#extended-implementation-hints">Extended implementation hints</a></div> </div> <div class="toc1">2 <a href="#basic-concepts">Basic Concepts</a><div class="toc2">2.1 <a href="#basic-concepts-datacategories">Data Categories</a></div> <div class="toc2">2.2 <a href="#basic-concepts-selection">Selection</a><div class="toc3">2.2.1 <a href="#basic-concepts-selection-local">Local Approach</a></div> <div class="toc3">2.2.2 <a href="#basic-concepts-selection-global">Global Approach</a></div> </div> <div class="toc2">2.3 <a href="#basic-concepts-overinher">Overriding, Inheritance and Defaults</a></div> <div class="toc2">2.4 <a href="#basic-concepts-addingpointing">Adding Information or Pointing to Existing Information</a></div> <div class="toc2">2.5 <a href="#specific-HTML-support">Specific HTML support</a><div class="toc3">2.5.1 <a href="#html5-global-approach">Global approach in HTML5</a></div> <div class="toc3">2.5.2 <a href="#html5-its-local-markup">Local approach</a></div> <div class="toc3">2.5.3 <a href="#html5-existing-markup-versus-its">HTML markup with ITS 2.0 counterparts</a></div> <div class="toc3">2.5.4 <a href="#html5-standoff-markup-explanation">Standoff markup in HTML5</a></div> <div class="toc3">2.5.5 <a href="#usage-in-legacy-html">Version of HTML</a></div> </div> <div class="toc2">2.6 <a href="#traceability">Traceability</a></div> <div class="toc2">2.7 <a href="#mapping-conversion">Mapping and conversion</a><div class="toc3">2.7.1 <a href="#mapping-NIF">ITS and RDF/NIF</a></div> <div class="toc3">2.7.2 <a href="#mapping-XLIFF">ITS and XLIFF</a></div> </div> <div class="toc2">2.8 <a href="#implementing-its20">ITS 2.0 Implementations and Conformance</a></div> </div> <div class="toc1">3 <a href="#notation-terminology">Notation and Terminology</a><div class="toc2">3.1 <a href="#notation">Notation</a></div> <div class="toc2">3.2 <a href="#def-datacat">Data category</a></div> <div class="toc2">3.3 <a href="#def-selection">Selection</a></div> <div class="toc2">3.4 <a href="#def-local-attributes">ITS Local Attributes</a></div> <div class="toc2">3.5 <a href="#def-rule-elements">Rule Elements</a></div> <div class="toc2">3.6 <a href="#iri-usage">Usage of Internationalized Resource Identifiers in ITS</a></div> <div class="toc2">3.7 <a href="#def-html">The Term HTML</a></div> <div class="toc2">3.8 <a href="#def-css-selector">The Term CSS Selectors</a></div> </div> <div class="toc1">4 <a href="#conformance">Conformance</a><div class="toc2">4.1 <a href="#conformance-product-schema">Conformance Type 1: ITS Markup Declarations</a></div> <div class="toc2">4.2 <a href="#conformance-product-processing-expectations">Conformance Type 2: The Processing Expectations for ITS Markup</a></div> <div class="toc2">4.3 <a href="#conformance-product-html-processing-expectations">Conformance Type 3: Processing Expectations for ITS Markup in HTML</a></div> <div class="toc2">4.4 <a href="#conformance-product-html5-its">Conformance Type 4: Markup conformance for HTML5+ITS documents</a></div> </div> <div class="toc1">5 <a href="#its-processing">Processing of ITS information</a><div class="toc2">5.1 <a href="#its-version-attribute">Indicating the Version of ITS</a></div> <div class="toc2">5.2 <a href="#datacategory-locations">Locations of Data Categories</a><div class="toc3">5.2.1 <a href="#selection-global">Global, Rule-based Selection</a></div> <div class="toc3">5.2.2 <a href="#selection-local">Local Selection in an XML Document</a></div> </div> <div class="toc2">5.3 <a href="#selectors">Query Language of Selectors</a><div class="toc3">5.3.1 <a href="#queryLanguage">Choosing Query Language</a></div> <div class="toc3">5.3.2 <a href="#d0e2513">XPath 1.0</a></div> <div class="toc3">5.3.3 <a href="#css-selectors">CSS Selectors</a></div> <div class="toc3">5.3.4 <a href="#d0e2761">Additional query languages</a></div> <div class="toc3">5.3.5 <a href="#its-param">Variables in selectors</a></div> </div> <div class="toc2">5.4 <a href="#link-external-rules">Link to External Rules</a></div> <div class="toc2">5.5 <a href="#selection-precedence">Precedence between Selections</a></div> <div class="toc2">5.6 <a href="#associating-its-with-existing-markup">Associating ITS Data Categories with Existing Markup</a></div> <div class="toc2">5.7 <a href="#its-tool-annotation">ITS Tools Annotation</a></div> </div> <div class="toc1">6 <a href="#html5-markup">Using ITS Markup in HTML</a><div class="toc2">6.1 <a href="#html5-local-attributes">Mapping of Local Data Categories to HTML</a></div> <div class="toc2">6.2 <a href="#html5-global-rules">Global rules</a></div> <div class="toc2">6.3 <a href="#html5-standoff-markup">Standoff Markup in HTML</a></div> <div class="toc2">6.4 <a href="#html5-selection-precedence">Precedence between Selections</a></div> </div> <div class="toc1">7 <a href="#xhtml5-markup">Using ITS Markup in XHTML</a></div> <div class="toc1">8 <a href="#datacategory-description">Description of Data Categories</a><div class="toc2">8.1 <a href="#datacategories-defaults-etc">Position, Defaults, Inheritance, and Overriding of Data Categories</a></div> <div class="toc2">8.2 <a href="#trans-datacat">Translate</a><div class="toc3">8.2.1 <a href="#translatability-definition">Definition</a></div> <div class="toc3">8.2.2 <a href="#translatability-implementation">Implementation</a></div> </div> <div class="toc2">8.3 <a href="#locNote-datacat">Localization Note</a><div class="toc3">8.3.1 <a href="#locNote-definition">Definition</a></div> <div class="toc3">8.3.2 <a href="#locNote-implementation">Implementation</a></div> </div> <div class="toc2">8.4 <a href="#terminology">Terminology</a><div class="toc3">8.4.1 <a href="#terminology-definition">Definition</a></div> <div class="toc3">8.4.2 <a href="#terminology-implementation">Implementation</a></div> </div> <div class="toc2">8.5 <a href="#directionality">Directionality</a><div class="toc3">8.5.1 <a href="#directionality-definition">Definition</a></div> <div class="toc3">8.5.2 <a href="#directionality-implementation">Implementation</a></div> </div> <div class="toc2">8.6 <a href="#language-information">Language Information</a><div class="toc3">8.6.1 <a href="#langinfo-definition">Definition</a></div> <div class="toc3">8.6.2 <a href="#langinfo-implementation">Implementation</a></div> </div> <div class="toc2">8.7 <a href="#elements-within-text">Elements Within Text</a><div class="toc3">8.7.1 <a href="#within-text-definition">Definition</a></div> <div class="toc3">8.7.2 <a href="#within-text-implementation">Implementation</a></div> </div> <div class="toc2">8.8 <a href="#domain">Domain</a><div class="toc3">8.8.1 <a href="#domain-definition">Definition</a></div> <div class="toc3">8.8.2 <a href="#domain-implementation">Implementation</a></div> </div> <div class="toc2">8.9 <a href="#textanalysis">Text Analysis</a><div class="toc3">8.9.1 <a href="#textanalysis-definition">Definition</a></div> <div class="toc3">8.9.2 <a href="#textanalysis-implementation">Implementation</a></div> </div> <div class="toc2">8.10 <a href="#LocaleFilter">Locale Filter</a><div class="toc3">8.10.1 <a href="#LocaleFilter-definition">Definition</a></div> <div class="toc3">8.10.2 <a href="#LocaleFilter-implementation">Implementation</a></div> </div> <div class="toc2">8.11 <a href="#provenance">Provenance</a><div class="toc3">8.11.1 <a href="#provenance-definition">Definition</a></div> <div class="toc3">8.11.2 <a href="#provenance-implementation">Implementation</a></div> </div> <div class="toc2">8.12 <a href="#externalresource">External Resource</a><div class="toc3">8.12.1 <a href="#externalresource-definition">Definition</a></div> <div class="toc3">8.12.2 <a href="#externalresource-implementation">Implementation</a></div> </div> <div class="toc2">8.13 <a href="#target-pointer">Target Pointer</a><div class="toc3">8.13.1 <a href="#target-pointer-definition">Definition</a></div> <div class="toc3">8.13.2 <a href="#target-pointer-implementation">Implementation</a></div> </div> <div class="toc2">8.14 <a href="#idvalue">ID Value</a><div class="toc3">8.14.1 <a href="#idvalue-definition">Definition</a></div> <div class="toc3">8.14.2 <a href="#idvalue-implementation">Implementation</a></div> </div> <div class="toc2">8.15 <a href="#preservespace">Preserve Space</a><div class="toc3">8.15.1 <a href="#preservespace-definition">Definition</a></div> <div class="toc3">8.15.2 <a href="#preservespace-implementation">Implementation</a></div> </div> <div class="toc2">8.16 <a href="#lqissue">Localization Quality Issue</a><div class="toc3">8.16.1 <a href="#lqissue-definition">Definition</a></div> <div class="toc3">8.16.2 <a href="#lqissue-implementation">Implementation</a></div> </div> <div class="toc2">8.17 <a href="#lqrating">Localization Quality Rating</a><div class="toc3">8.17.1 <a href="#lqrating-definition">Definition</a></div> <div class="toc3">8.17.2 <a href="#lqrating-implementation">Implementation</a></div> </div> <div class="toc2">8.18 <a href="#mtconfidence">MT Confidence</a><div class="toc3">8.18.1 <a href="#mtconfidence-definition">Definition</a></div> <div class="toc3">8.18.2 <a href="#mtconfidence-implementation">Implementation</a></div> </div> <div class="toc2">8.19 <a href="#allowedchars">Allowed Characters</a><div class="toc3">8.19.1 <a href="#allowedchars-definition">Definition</a></div> <div class="toc3">8.19.2 <a href="#allowedchars-implementation">Implementation</a></div> </div> <div class="toc2">8.20 <a href="#storagesize">Storage Size</a><div class="toc3">8.20.1 <a href="#storagesize-definition">Definition</a></div> <div class="toc3">8.20.2 <a href="#storagesize-implementation">Implementation</a></div> </div> </div> </div> <h3><a name="appendices" id="appendices"></a>Appendices</h3><div class="toc1">A <a href="#normative-references">References</a></div> <div class="toc1">B <a href="#its-mime-type">Internationalization Tag Set (ITS) MIME Type</a></div> <div class="toc1">C <a href="#lqissue-typevalues">Values for the Localization Quality Issue Type</a></div> <div class="toc1">D <a href="#its-schemas">Schemas for ITS</a></div> <div class="toc1">E <a href="#informative-references">Informative References</a></div> <div class="toc1">F <a href="#conversion-to-nif">Conversion to NIF</a></div> <div class="toc1">G <a href="#nif-backconversion">Conversion NIF2ITS</a></div> <div class="toc1">H <a href="#localization-quality-guidance">Localization Quality Guidance</a></div> <div class="toc1">I <a href="#list-of-elements-and-attributes">List of ITS 2.0 Global Elements and Local Attributes</a></div> <div class="toc1">J <a href="#revisionlog">Revision Log</a></div> <div class="toc1">K <a href="#acknowledgements">Acknowledgements</a></div> </div><hr/><div class="body"><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="introduction" id="introduction"></a>1 Introduction</h2><p> <em>This section is informative.</em> </p><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="overview" id="overview"></a>1.1 Overview</h3><p> Content or software that is authored in one language (so-called source language) for one locale (e.g. the French-speaking part of Canada) is often made available in additional languages or adapted with regard to other cultural aspects. A prevailing paradigm for multilingual production in many cases encompasses three phases: internationalization, translation, and localization (see the <a href="https://www.w3.org/International/questions/qa-i18n/"> W3C's Internationalization Q&amp;A</a> for more information related to these concepts). </p><p> From the viewpoints of feasibility, cost, and efficiency, it is important that the original material is suitable for downstream phases such as translation. This is achieved by appropriate design and development. The corresponding phase is referred to as internationalization. A proprietary XML vocabulary may be internationalized by defining special markup to specify directionality in mixed direction text. </p><p>During the translation phase, the meaning of a source language text is analyzed, and a target language text that is equivalent in meaning is determined. For example national or international laws may regulate linguistic dimensions like mandatory terminology or standard phrases in order to promote or ensure a translation's fidelity.</p><p>Although an agreed-upon definition of the localization phase is missing, this phase is usually seen as encompassing activities such as creating locale-specific content (e.g. adding a link for a country-specific reseller), or modifying functionality (e.g. to establish a fit with country-specific regulations for financial reporting). Sometimes, the insertion of special markup to support a local language or script is also subsumed under the localization phase. For example, people authoring in languages such as Arabic, Hebrew, Persian or Urdu need special markup to specify directionality in mixed direction text. </p><p>The technology described in this document – the <em>Internationalization Tag Set (ITS) 2.0</em> addresses some of the challenges and opportunities related to internationalization, translation, and localization. ITS 2.0 in particular contributes to concepts in the realm of metadata for internationalization, translation, and localization related to core Web technologies such as XML. ITS does for example assist in production scenarios, in which parts of an XML-based document are to be excluded from translation. ITS 2.0 bears many commonalities with its predecessor, <a href="https://www.w3.org/TR/2007/REC-its-20070403/">ITS 1.0</a> but provides additional concepts that are designed to foster enhanced automated processing – e.g. based on language technology such as entity recognition – related to multilingual Web content. </p><p> Like ITS 1.0, ITS 2.0 both identifies concepts (such as “Translate” ), and defines implementations of these concepts (termed “ITS data categories”) as a set of elements and attributes called the <em>Internationalization Tag Set (ITS)</em>. The definitions of ITS elements and attributes are provided in the form of RELAX NG <a title="Regular-grammar-based validation – RELAX NG" href="#relaxng">[RELAX NG]</a> (normative). Since one major step from ITS 1.0 to ITS 2.0 relates to coverage for HTML, ITS 2.0 also establishes a relationship between ITS markup and the various HTML flavors. Furthermore, ITS 2.0 suggests when and how to leverage processing based on the XML Localization Interchange File Format (<a title="XLIFF Version 1.2" href="#xliff1.2">[XLIFF 1.2]</a> and <a title="XLIFF Version 2.0" href="#xliff2.0">[XLIFF 2.0]</a>), as well as the Natural Language Processing Interchange Format <a title="NIF 2.0 Core Ontology" href="#nif-reference">[NIF]</a>.</p><p>For the purpose of an introductory illustration, here is a series of examples related to the question, how ITS can indicate that certain parts of a document are not intended for translation.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-motivation-its-1" id="EX-motivation-its-1"></a>Example 1: Document in which some content has to be left untranslated</div><p>In this document it is difficult to distinguish between those <code>string</code> elements that are intended for translation and those that are not to be translated. Explicit metadata is needed to resolve the issue.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;resources&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;section</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"Homepage"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;arguments&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>page<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>childlist<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/arguments&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;variables&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>POLICY<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>Corporate Policy<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/variables&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;keyvalue_pairs&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>Page<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>ABC Corporation - Policy Repository<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>Footer_Last<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>Pages<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>bgColor<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>NavajoWhite<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>title<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>List of Available Policies<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/keyvalue_pairs&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/section&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/resources&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-motivation-its-1.xml">examples/xml/EX-motivation-its-1.xml</a>]</p></div><p>ITS proposes several mechanisms, which differ among others in terms of the usage scenario/user types for which the mechanism is most suitable.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-motivation-its-2" id="EX-motivation-its-2"></a>Example 2: Document that uses two different ITS mechanisms to indicate that some parts have to be left untranslated.</div><p>ITS provides two mechanisms to explicitly associate metadata with one or more pieces of content (e.g. XML nodes): a <a href="#basic-concepts-selection-global">global</a>, rule-based approach as well as a <a href="#basic-concepts-selection-local">local</a>, attribute-based approached. Here, for instance, a <code class="its-elem-markup">translateRule</code> first specifies that only every second element inside <code>keyvalue_pairs</code> is intended for translation; later, an ITS <code class="its-attr-markup">translate</code> attribute specifies that one of these elements is not to be translated.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;resources</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//arguments"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//keyvalue_pairs/string[(position() mod 2)=1]"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;section</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"Homepage"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;arguments&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>page<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>childlist<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/arguments&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;variables&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string</strong> <span class="hl-attribute" style="color: #F5844C">its:translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>POLICY<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>Corporate Policy<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/variables&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;keyvalue_pairs&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>Page<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>ABC Corporation - Policy Repository<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>Footer_Last<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>Pages<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>bgColor<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string</strong> <span class="hl-attribute" style="color: #F5844C">its:translate</span>=<span class="hl-value" style="color: #993300">'no'</span><strong class="hl-tag" style="color: #000096">&gt;</strong>NavajoWhite<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>title<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string&gt;</strong>List of Available Policies<strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/keyvalue_pairs&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/section&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/resources&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-motivation-its-2.xml">examples/xml/EX-motivation-its-2.xml</a>]</p></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="general-motiviation-for-ITS2.0" id="general-motiviation-for-ITS2.0"></a>1.2 General motivation for going beyond ITS 1.0</h3><p>The basics of ITS 1.0 are simple:</p><ol class="depth1"><li><p>Provide metadata (e.g. “Do not translate”) to assist internationalization-related processes</p></li><li><p>Use XPath (so-called <a href="#selection-global">global approach</a>) to associate metadata with specific XML nodes (e.g. all elements named <code>uitext</code>) or put the metadata straight onto the XML nodes themselves (so-called <a href="#def-local-attributes">local approach</a>)</p></li><li><p>Work with a well-defined set of metadata categories or values (e.g. only the values "yes" and "no" for certain data categories)</p></li><li><p>Take advantage of existing metadata (e.g. terms already marked up with HTML markup such as <code>dt</code>)</p></li></ol><p>This conciseness made real-world deployment of ITS 1.0 easy. The deployments helped to identify additional metadata categories for internationalization-related processes. The <a href="https://www.w3.org/International/its/ig/">ITS Interest Group</a> for example compiled a list of additional data categories (see this <a href="https://www.w3.org/International/multilingualweb/limerick/slides/lieske.pdf">related summary</a>). Some of these were then defined in ITS 2.0: <a href="#idvalue">ID Value</a>, local <a href="#elements-within-text">Elements Within Text</a>, <a href="#preservespace">Preserve Space</a>, and <a href="#LocaleFilter">Locale Filter</a>. Others are still discussed as requirements for possible future versions of ITS:</p><ol class="depth1"><li><p>“Context” = What specific related information might be helpful?</p></li><li><p>“Automated Language” = Does this content lend itself to automatic processing?</p></li></ol><p>The real-world deployments also helped to understand that for the <a href="http://www.webplatform.org/">Open Web Platform</a> – the ITS 1.0 restriction to XML was an obstacle for quite a number of environments. What was missing was, for example, the following:</p><ol class="depth1"><li><p>Applicability of ITS to formats such as HTML in general, and HTML5 in particular</p></li><li><p>Easy use of ITS in various Web-exposed (multilingual) Natural Language Processing contexts</p></li><li><p>Computer-supported linguistic quality assurance</p></li><li><p>Content Management and translation platforms</p></li><li><p>Cross-language scenarios</p></li><li><p>Content enrichment</p></li><li><p>Support for W3C provenance <a title="Provenance data model" href="#prov-dm">[PROV-DM]</a>, “information about entities, activities, and people involved in producing a piece of data or thing, which can be used to form assessments about its quality, reliability or trustworthiness”</p></li><li><p>Provisions for extended deployment in Semantic Web/Linked Open Data scenarios</p></li></ol><p>ITS 2.0 was created by an alliance of stakeholders who are involved in content for global use. Thus, ITS 2.0 was developed with input from/with a view towards the following:</p><ul><li><p>Providers of content management and machine translation solutions who want to easily integrate for efficient content updates in multilingual production chains</p></li><li><p>Language technology providers who want to automatically enrich content (e.g. via term candidate generation, entity recognition or disambiguation) in order to facilitate human translation</p></li><li><p>Open standards endeavours (e.g. related to <a title="XLIFF Version 1.2" href="#xliff1.2">[XLIFF 1.2]</a>, <a title="XLIFF Version 2.0" href="#xliff2.0">[XLIFF 2.0]</a> and <a title="NIF 2.0 Core Ontology" href="#nif-reference">[NIF]</a>) that are interested for example in information sharing, and lossless roundtrip of metadata in localization workflows</p></li></ul><p>One example outcome of the resulting synergies is the <a href="#its-tool-annotation">ITS Tool Annotation</a> mechanism. It addresses the provenance-related requirement by allowing ITS processors to leave a trace: ITS processors can basically say “It is me that generated this bit of information”. Another example are the <a title="NIF 2.0 Core Ontology" href="#nif-reference">[NIF]</a> related details of ITS 2.0, which provide a non-normative approach to couple Natural Language Processing with concepts of the Semantic Web.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="usage-scenarios" id="usage-scenarios"></a>1.3 Usage Scenarios</h3><p>The <a title="
Internationalization Tag Set (ITS) Version 1.0
" href="#its10">[ITS 1.0]</a> <a href="https://www.w3.org/TR/2007/REC-its-20070403/#introduction">introduction</a> states: “ITS is a technology to easily create XML, which is internationalized and can be localized effectively”. In order to make this tangible, ITS 1.0 provided examples for <a href="https://www.w3.org/TR/2007/REC-its-20070403/#users-usage">users and usages</a>. Implicitly, these examples carried the information that ITS covers two areas: one that is related to the static dimension of mono-lingual content, and one that is related to the dynamic dimension of multilingual production.</p><ul><li><p>Static mono-lingual (for example, the area of content authors): This part of the content has the directionality “right-to-left”.</p></li><li><p>Dynamic multilingual: (for example, the area of machine translation systems): This part of the content has to be left untranslated.</p></li></ul><p>Although ITS 1.0 made no assumptions about possible phases in a multilingual production process chain, it was slanted towards a simple three phase “write→internationalize→translate” model. Even a birds-eye-view at ITS 2.0 shows that ITS 2.0 explicitly targets a much more comprehensive model for multilingual content production. The model comprises support for multilingual content production phases such as:</p><ul><li><p>Internationalization</p></li><li><p>Pre-production (e.g. related to marking terminology)</p></li><li><p>Automated content enrichment (e.g. automatic hyperlinking for entities)</p></li><li><p>Extraction/filtering of translation-relevant content</p></li><li><p>Segmentation</p></li><li><p>Leveraging (e.g. of existing translation-related assets such as translation memories)</p></li><li><p>Machine Translation (e.g. geared towards a specific domain)</p></li><li><p>Quality assessment or control of source language or target language content</p></li><li><p>Generation of translation kits (e.g. packages based on XLIFF)</p></li><li><p>Post-production</p></li><li><p>Publishing</p></li></ul><p>The document <a title="Metadata for the Multilingual Web - Usage Scenarios and Implementations " href="#mlw-metadata-us-impl">[MLW US IMPL]</a> lists a large variety of usage scenarios for ITS 2.0. Most of them are composed from the aforementioned phases.</p><p>In a similar vein, ITS 2.0 takes a much more comprehensive view on the actors that may participate in a multilingual content production process. ITS 1.0 annotations (e.g. local markup for the <a href="#terminology">Terminology</a> data category) most of the time were conceived as being closely tied to human actors such as content authors or information architects. ITS 2.0 raises non-human actors such as word processors/editors, content management systems, machine translation systems, term candidate generators, entity identifiers/disambiguators to the same level. This change among others is reflected by the ITS 2.0 <a href="#its-tool-annotation">Tool Annotation</a>, which allows systems to record that they have processed a certain part of content.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="high-level-differences-between-1.0-and-2.0" id="high-level-differences-between-1.0-and-2.0"></a>1.4 High-level differences between ITS 1.0 and ITS 2.0</h3><p>The differences between ITS 1.0 and ITS 2.0 can be summarized as follows.</p><p> <em>Coverage of <a title="HTML5" href="#html5">[HTML5]</a>: </em>ITS 1.0 can be applied to XML content. ITS 2.0 extends the coverage to <a title="HTML5" href="#html5">[HTML5]</a>. Explanatory details about ITS 2.0 and <a title="HTML5" href="#html5">[HTML5]</a> are given in <a class="section-ref" href="#specific-HTML-support">Section 2.5: Specific HTML support</a>.</p><p> <em>Addition of data categories</em>: ITS 2.0 provides additional data categories and modifies existing ones. A summary of all ITS 2.0 data categories is given in <a class="section-ref" href="#basic-concepts-datacategories">Section 2.1: Data Categories</a>.</p><p> <em>Modification of data categories</em>:</p><ul><li><p id="ruby-in-its2">ITS 1.0 provided the <a href="https://www.w3.org/TR/2007/REC-its-20070403/#ruby-annotation">Ruby data category</a>. ITS 2.0 does not provide ruby because at the time of writing the <a href="https://www.w3.org/TR/html51/text-level-semantics.html#the-ruby-element">ruby model in HTML5</a> was still under development. Once these discussions are settled, the Ruby data category possibly will be reintroduced, in a subsequent version of ITS.</p></li><li><p>The <a href="#directionality">Directionality</a> data category reflects directionality markup in <a title="HTML 4.01" href="#html4">[HTML 4.01]</a>. The reason is that enhancements are being discussed in the context of HTML5 that are expected to change the approach to marking up directionality, in particular to support content whose directionality needs to be isolated from that of surrounding content. However, these enhancements are not finalized yet. They will be reflected in a future revision of ITS.</p></li></ul><p> <em>Additional or modified mechanisms:</em> The following mechanisms from ITS 1.0 have been modified or added to ITS 2.0:</p><ul><li><p id="query-language-on-rules-element">ITS 1.0 used only XPath as the mechanism for selecting nodes in <a href="#basic-concepts-selection-global">global rules</a>. ITS 2.0 allows for choosing the <a href="#selectors">query language of selectors</a>. The default is XPath 1.0. An ITS 2.0 processor is free to support other selection mechanisms, like CSS selectors or other versions of XPath.</p></li><li><p id="parameters-in-selector">In global rules it is now possible to set <a href="#its-param">variables for the selectors</a> (XPath expression). The <code class="its-elem-markup">param</code> element serves this purpose.</p></li><li><p>ITS 2.0 has an <a href="#its-tool-annotation">ITS Tools Annotation</a> mechanism to associate processor information with the use of individual data categories. See <a class="section-ref" href="#traceability">Section 2.6: Traceability</a> for details.</p></li></ul><p> <em>Mappings:</em> ITS 2.0 provides a non-normative algorithm to convert ITS 2.0 information into <a title="NIF 2.0 Core Ontology" href="#nif-reference">[NIF]</a> and links to guidance about how to relate ITS 2.0 to XLIFF. See <a class="section-ref" href="#mapping-conversion">Section 2.7: Mapping and conversion</a> for details.</p><p> <em>Changes to the conformance section</em>: The <a class="section-ref" href="#conformance">Section 4: Conformance</a> tells implementers how to implement ITS. For ITS 2.0, the conformance statements related to Ruby have been removed. For <a title="HTML5" href="#html5">[HTML5]</a>, a dedicated conformance section has been created. Finally, a conformance clause related to Non-ITS elements and attributes has been added.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="extended-implementation-hints" id="extended-implementation-hints"></a>1.5 Extended implementation hints</h3><p id="unicode-normalization">As a general guidance, implementations of ITS 2.0 are encouraged to use a <a href="https://www.w3.org/TR/2012/WD-charmod-norm-20120501/#sec-NormalizingTranscoder">normalizing transcoder</a>. It converts from a legacy encoding to a Unicode encoding form and ensures that the result is in Unicode Normalization Form C. Further information on the topic of Unicode normalization is provided in <a title="Character Model for the World Wide Web 1.0: Normalization" href="#charmod-norm">[Charmod Norm]</a>.</p></div></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="basic-concepts" id="basic-concepts"></a>2 Basic Concepts</h2><p> <em>This section is informative.</em> </p><p>The purpose of this section is to provide basic knowledge about how ITS 2.0 works. Detailed knowledge (including formal definitions) is given in the subsequent sections.</p><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="basic-concepts-datacategories" id="basic-concepts-datacategories"></a>2.1 Data Categories</h3><p>A key concept of ITS is the abstract notion of <a href="#def-datacat">data categories</a>. Data categories define the information that can be conveyed via ITS. An example is the <a href="#trans-datacat">Translate</a> data category. It conveys information about translatability of content.</p><p> <a class="section-ref" href="#datacategory-description">Section 8: Description of Data Categories</a> defines data categories. It also describes their implementation, i.e. ways to use them for example in an XML context. The motivation for separating data category definitions from their implementation is to enable different implementations with the following characteristics:</p><ul><li><p>For various types of content (XML in general or <a href="#specific-HTML-support">HTML</a>).</p></li><li><p>For a single piece of content, e.g. a <code>p</code> element. This is the so-called <a href="#basic-concepts-selection-local">local approach</a>.</p></li><li><p>For several pieces of content in one document or even a set of documents. This is the so-called <a href="#basic-concepts-selection-global">global approach</a>.</p></li><li><p>For a complete markup vocabulary. This is done by adding <a href="#its-schemas">ITS markup declarations</a> to the schema for the vocabulary.</p></li></ul><p>ITS 2.0 provides the following data categories:</p><ul><li><p><a href="#trans-datacat">Translate</a>: expresses information about whether a selected piece of content is intended for translation or not.</p></li><li><p><a href="#locNote-datacat">Localization Note</a>: communicates notes to localizers about a particular item of content.</p></li><li><p><a href="#terminology">Terminology</a>: marks terms and optionally associates them with information, such as definitions or references to a term data base.</p></li><li><p><a href="#directionality">Directionality</a>: specifies the base writing direction of blocks, embeddings and overrides for the Unicode bidirectional algorithm.</p></li><li><p><a href="#language-information">Language Information</a>: expresses the language of a given piece of content.</p></li><li><p><a href="#elements-within-text">Elements Within Text:</a> expresses how content of an element is related to the text flow (constitutes its own segment like paragraphs, is part of a segment like emphasis marker etc.).</p></li><li><p><a href="#domain">Domain</a>: identifies the topic or subject of the annotated content for translation-related applications.</p></li><li><p><a href="#textanalysis">Text Analysis</a>: annotates content with lexical or conceptual information (e.g. for the purpose of contextual disambiguation).</p></li><li><p><a href="#LocaleFilter">Locale Filter</a>: specifies that a piece of content is only applicable to certain locales. </p></li><li><p><a href="#provenance">Provenance</a>: communicates the identity of agents that have been involved processing content.</p></li><li><p><a href="#externalresource">External Resource</a>: indicates reference points in a resource outside the document that need to be considered during localization or translation. Examples of such resources are external images and audio or video files.</p></li><li><p><a href="#target-pointer">Target Pointer</a>: associates the markup node of a given source content (i.e. the content to be translated) and the markup node of its corresponding target content (i.e. the source content translated into a given target language). This is relevant for formats that hold the same content in different languages inside a single document.</p></li><li><p><a href="#idvalue">Id Value</a>: identifies a value that can be used as unique identifier for a given part of the content. </p></li><li><p><a href="#preservespace">Preserve Space</a>: indicates how whitespace is to be handled in content.</p></li><li><p><a href="#lqissue">Localization Quality Issue</a>: describes the nature and severity of an error detected during a language-oriented quality assurance (QA) process.</p></li><li><p><a href="#lqrating">Localization Quality Rating</a>: expresses an overall measurement of the localization quality of a document or an item in a document.</p></li><li><p><a href="#mtconfidence">MT Confidence</a>: indicates the confidence that MT systems provide about their translation. </p></li><li><p><a href="#allowedchars">Allowed Characters</a>: specifies the characters that are permitted in a given piece of content.</p></li><li><p><a href="#storagesize">Storage Size</a>: specifies the maximum storage size of a given piece of content.</p></li></ul><p>Most of the existing ITS 1.0 data categories are included and new ones have been added. Modifications of existing ITS 1.0 data categories are summarized in <a class="section-ref" href="#high-level-differences-between-1.0-and-2.0">Section 1.4: High-level differences between ITS 1.0 and ITS 2.0</a>.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="basic-concepts-selection" id="basic-concepts-selection"></a>2.2 Selection</h3><p>Information (e.g. “translate this”) captured by an ITS data category always pertains to one or more XML or HTML nodes, primarily element and attribute nodes. In a sense, the relevant node(s) get “selected”. Selection may be explicit or implicit. ITS distinguishes two mechanisms for explicit selection: (1) local and (2) global (via <code class="its-elem-markup">rules</code>). Both local and global approaches can interact with each other, and with additional ITS dimensions such as inheritance and defaults.</p><p>The mechanisms defined for ITS selection resemble those defined in <a title="Cascading Style Sheets,&#xA; level 2 revision 1 CSS 2.1 Specification" href="#css2-1">[CSS 2.1]</a>. The local approach can be compared to the <code>style</code> attribute in HTML/XHTML, and the global approach is similar to the <code>style</code> element in HTML/XHTML:</p><ul><li><p>The local approach puts ITS markup in the relevant element of the host vocabulary (e.g. the <code>author</code> element in DocBook)</p></li><li><p>The global <a href="#selection-global">rule-based approach</a> puts the ITS markup in elements defined by ITS itself (namely the <code class="its-elem-markup">rules</code> element)</p></li></ul><p>ITS usually uses XPath in rules for identifying nodes although CSS Selectors and other query languages can in addition be implemented by applications.</p><p>ITS 2.0 can be used with XML documents (e.g. a DocBook article), HTML documents, document schemas (e.g. an XML Schema document for a proprietary document format), or data models in RDF.</p><p>The following two examples provide more details about the distinction between the local and global approach, using the <a href="#trans-datacat">Translate</a> data category as an example.</p><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="basic-concepts-selection-local" id="basic-concepts-selection-local"></a>2.2.1 Local Approach</h4><p>The document in <a href="#EX-basic-concepts-1">Example 3</a> shows how a content author can use the ITS <code class="its-attr-markup">translate</code> attribute to indicate that all content inside the <code>author</code> element is not intended for translation (i.e. has to be left untranslated). Translation tools that are aware of the meaning of the attribute can protect the relevant content from being translated (possibly still allowing translators to see the protected content as context information).</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-basic-concepts-1" id="EX-basic-concepts-1"></a>Example 3: ITS markup on elements in an XML document (local approach) </div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;article</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://docbook.org/ns/docbook"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"5.0"</span> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"en"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;info&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>An example article<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;author</strong> <span class="hl-attribute" style="color: #F5844C">its:translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;personname&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;firstname&gt;</strong>John<strong class="hl-tag" style="color: #000096">&lt;/firstname&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;surname&gt;</strong>Doe<strong class="hl-tag" style="color: #000096">&lt;/surname&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/personname&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;affiliation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;address&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;email&gt;</strong>foo@example.com<strong class="hl-tag" style="color: #000096">&lt;/email&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;/address&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/affiliation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/author&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/info&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;para&gt;</strong>This is a short article.<strong class="hl-tag" style="color: #000096">&lt;/para&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/article&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-basic-concepts-1.xml">examples/xml/EX-basic-concepts-1.xml</a>]</p></div><p>For the local approach (and <a href="#EX-basic-concepts-1">Example 3</a>) to work for a whole markup vocabulary, a schema developer would need to add the <code class="its-attr-markup">translate</code> attribute to the schema as a common attribute or on all the relevant element definitions. The example indicates that <a href="#basic-concepts-overinher">inheritance</a> plays a part in identifying which content does have to be translated and which does not: Although only the <code>author</code> element is marked as “do not translate”, its descendants (<code>personname</code>, <code>firstname</code>, <code>surname</code>) are considered to be implicitly marked as well. Tools that process this content for translation need to implement the expected inheritance.</p><p id="local-approach-not-applicable-to-attributes">For XML content, the local approach cannot be applied to a particular attribute. If ITS needs to be applied to a particular attribute, the global approach has to be used. The local approach applies to content of the current element and all its inherited nodes as described in <a class="section-ref" href="#datacategories-defaults-etc">Section 8.1: Position, Defaults, Inheritance, and Overriding of Data Categories</a>. For the <a href="#trans-datacat">Translate</a> data category used in <a title="HTML5" href="#html5">[HTML5]</a>, this is different, see the explanation of the <a href="#translate-in-html5">HTML5 definition of Translate</a>.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="basic-concepts-selection-global" id="basic-concepts-selection-global"></a>2.2.2 Global Approach</h4><p>The document in <a href="#EX-basic-concepts-2">Example 4</a> shows a different approach to identifying non-translatable content, similar to that used with a <code>style</code> element in <a title="XHTML™ 1.0 The Extensible&#xA; HyperText Markup Language (Second Edition)" href="#xhtml10">[XHTML 1.0]</a>, but using an ITS-defined element called <code class="its-elem-markup">rules</code>. It works as follows: A document can contain a <code class="its-elem-markup">rules</code> element (placed where it does not impact the structure of the document, e.g., in a “head” section, or even outside of the document itself). The <code class="its-elem-markup">rules</code> element contains one or more ITS children/rule elements (for example <code class="its-elem-markup">translateRule</code>). Each of these children elements contains a <code class="its-attr-markup">selector</code> attribute. As its name suggests, this attribute selects the node or nodes to which the corresponding ITS information pertains. The values of ITS <code class="its-attr-markup">selector</code> attributes are XPath absolute location paths (or CSS Selectors if queryLanguage is set to "css"). Via the <code class="its-elem-markup">param</code> element variables can be provided and used in selectors. </p><p>Information for the handling of namespaces in XPath expressions is taken from namespace declarations <a title="Namespaces in XML&#xA; (Second Edition)" href="#xmlns">[XML Names]</a> in the current rule element.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-basic-concepts-2" id="EX-basic-concepts-2"></a>Example 4: ITS global markup in an XML document (rule-based approach) </div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;myTopic</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://mynsuri.example.com"</span> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"topic01"</span> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"en-us"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;prolog&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Using ITS<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//n:term"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:n</span>=<span class="hl-value" style="color: #993300">"http://mynsuri.example.com"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/prolog&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>ITS defines <strong class="hl-tag" style="color: #000096">&lt;term&gt;</strong>data category<strong class="hl-tag" style="color: #000096">&lt;/term&gt;</strong> as an abstract concept for a particular type of information for internationalization and localization of XML schemas and documents.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/myTopic&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-basic-concepts-2.xml">examples/xml/EX-basic-concepts-2.xml</a>]</p></div><p>For the global approach (and <a href="#EX-basic-concepts-2">Example 4</a>) to work, a schema developer may need to add a <code class="its-elem-markup">rules</code> element and associated markup to the schema. In some cases, global rules may be sufficient and other ITS markup (such as an <code class="its-attr-markup">translate</code> attribute on the elements and attributes) may not be needed in the schema. However, it is likely that authors may need the local approach from time to time to override the general rule.</p><p>For specification of the <a href="#trans-datacat">Translate</a> data category information, the contents of the <code class="its-elem-markup">translateRule</code> element would normally be designed by an information architect familiar with the document format and familiar with, or working with someone familiar with, the needs of localization/translation.</p><p>The global, rule-based approach has the following benefits:</p><ul><li><p>Content authors do not have to concern themselves with creating additional markup or verifying that the markup was applied correctly. ITS data categories are associated with sets of nodes (for example all <code>p</code> elements in an XML instance)</p></li><li><p>Changes can be made in a single location, rather than by searching and modifying local markup throughout a document (or documents, if the <code class="its-elem-markup">rules</code> element is stored as an external entity)</p></li><li><p>ITS data categories can designate attribute values (as well as elements)</p></li><li><p>It is possible to associate ITS markup with existing markup (for example the <code>term</code> element in DITA)</p></li></ul><p>The commonality in both examples above is the markup <code>translate='no'</code>. This piece of ITS markup can be interpreted as follows:</p><ul><li><p>it pertains to the <a href="#trans-datacat">Translate</a> data category </p></li><li><p>the attribute <code class="its-attr-markup">translate</code> holds a value of "no"</p></li></ul></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="basic-concepts-overinher" id="basic-concepts-overinher"></a>2.3 Overriding, Inheritance and Defaults</h3><p>The power of the ITS selection mechanisms comes at a price: rules related to <a href="#selection-precedence">overriding/precedence</a> and <a href="#datacategories-defaults-etc">inheritance</a> have to be established.</p><p>The document in <a href="#EX-basic-concepts-3">Example 5</a> shows how inheritance and overriding work for the <a href="#trans-datacat">Translate</a> data category:</p><ul><li><p>The ITS default is that all elements are translatable.</p></li><li><p>The <code class="its-elem-markup">translateRule</code> element declared in the header overrides the default for the <code>head</code> element inside text and for all its children.</p></li><li><p>Because the <code>title</code> element is actually translatable, the global rule needs to be overridden by a local <code>its:translate="yes"</code>.</p></li><li><p>In the body of the document the default applies, and <code>its:translate="no"</code> is used to set "faux pas" as non-translatable.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-basic-concepts-3" id="EX-basic-concepts-3"></a>Example 5: Overriding and Inheritance</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;text</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;revision&gt;</strong>Sep-10-2006 v5<strong class="hl-tag" style="color: #000096">&lt;/revision&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;author&gt;</strong>Ealasaidh McIan<strong class="hl-tag" style="color: #000096">&lt;/author&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;contact&gt;</strong>ealasaidh@hogw.ac.uk<strong class="hl-tag" style="color: #000096">&lt;/contact&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title</strong> <span class="hl-attribute" style="color: #F5844C">its:translate</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>The Origins of Modern Novel<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/text/head"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;div</strong> <span class="hl-attribute" style="color: #F5844C">xml:id</span>=<span class="hl-value" style="color: #993300">"intro"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong>Introduction<strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>It would certainly be quite a <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its:translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>faux pas<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> to start a dissertation on the origin of modern novel without mentioning the <strong class="hl-tag" style="color: #000096">&lt;tl&gt;</strong>Epic of Gilgamesh<strong class="hl-tag" style="color: #000096">&lt;/tl&gt;</strong>...<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/div&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-basic-concepts-3.xml">examples/xml/EX-basic-concepts-3.xml</a>]</p></div><p>For XML content, <a href="#datacategories-overview">data category specific defaults</a> are provided. These are independent of the actual XML markup vocabulary. Example for the <a href="#trans-datacat">Translate</a> data category: <code>translate="yes"</code> for elements, and <code>translate="no"</code> for attributes.</p><p>For <a title="HTML5" href="#html5">[HTML5]</a>, several HTML5 elements and attributes map exactly to ITS 2.0 data categories. Hence that HTML markup is normatively interpreted as ITS 2.0 data category information (see <a class="section-ref" href="#html5-existing-markup-versus-its">Section 2.5.3: HTML markup with ITS 2.0 counterparts</a> for more information).</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="basic-concepts-addingpointing" id="basic-concepts-addingpointing"></a>2.4 Adding Information or Pointing to Existing Information</h3><p>Data categories can add information or point to information for the selected nodes. For example, the <a href="#locNote-datacat">Localization Note</a> data category can add information to selected nodes (using a <code class="its-elem-markup">locNote</code> element), or point to existing information elsewhere in the document (using a <code class="its-attr-markup">locNotePointer</code> attribute).</p><p>The <a href="#datacategories-overview">data category overview table</a>, in <a class="section-ref" href="#datacategories-defaults-etc">Section 8.1: Position, Defaults, Inheritance, and Overriding of Data Categories</a>, provides an overview of which data categories allow the addition of information and which allow to point to existing information.</p><p>Adding information and pointing to existing information are <em>mutually exclusive</em>; attributes for adding information and attributes for pointing to the same information are not allowed to appear at the same rule element.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="specific-HTML-support" id="specific-HTML-support"></a>2.5 Specific HTML support</h3><p>For applying ITS 2.0 data categories to HTML, five aspects are of importance:</p><ol class="depth1"><li><p>Global approach in HTML5</p></li><li><p>Local Approach</p></li><li><p>HTML markup with ITS 2.0 counterparts</p></li><li><p>Standoff markup in HTML5</p></li><li><p>Version of HTML</p></li></ol><p>In the following sections these aspects are briefly discussed.</p><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="html5-global-approach" id="html5-global-approach"></a>2.5.1 Global approach in HTML5</h4><p>To account for the so-called <a href="#basic-concepts-selection-global">global approach</a> in HTML, this specification (see <a class="section-ref" href="#html5-global-rules">Section 6.2: Global rules</a>) defines: </p><ul><li><p>A link type for referring to external files with global rules from a <code>link</code> element.</p></li><li><p>An approach to have inline global rules in the HTML <code>script</code> element.</p></li></ul><p>It is preferable to use external global rules linked via the <code>link</code> element rather than to have inline global rules in the HTML document. The advantage is in being able to reuse the same rules file for many documents and also inline rules require secondary parsing of the <code>script</code> element.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-html5-global-1" id="EX-translate-html5-global-1"></a>Example 6: Using ITS global rules in HTML</div><p>The <code>link</code> element points to the rules file <code>EX-translateRule-html5-1.xml</code> The <code>rel</code> attribute identifies the ITS specific link relation <code>its-rules</code>.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Translate flag global rules example<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;link</strong> <span class="hl-attribute" style="color: #F5844C">href</span>=<span class="hl-value" style="color: #993300">EX-translateRule-html5-1.xml</span> <span class="hl-attribute" style="color: #F5844C">rel</span>=<span class="hl-value" style="color: #993300">its-rules</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>This sentence should be translated, but code names like the <strong class="hl-tag" style="color: #000096">&lt;code&gt;</strong>span<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong> element should not be translated. Of course there are always exceptions: certain code values should be translated, e.g. to a value in your language like <strong class="hl-tag" style="color: #000096">&lt;code</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">yes</span><strong class="hl-tag" style="color: #000096">&gt;</strong>warning<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-translate-html5-global-1.html">examples/html5/EX-translate-html5-global-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-html5-global-1-rules-file" id="EX-translate-html5-global-1-rules-file"></a>Example 7: ITS rules file linked from HTML</div><p>The rules file linked in <a href="#EX-translate-html5-global-1">Example 6</a>.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:h</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xhtml"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//h:code"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> </pre></div><p>[Source file: <a href="examples/html5/EX-translateRule-html5-1.xml">examples/html5/EX-translateRule-html5-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-html5-inline-global-1" id="EX-translate-html5-inline-global-1"></a>Example 8: Using ITS inline global rules in HTML</div><p>The <code>script</code> element contains the same rules as the external rules file <code>EX-translateRule-html5-1.xml</code> in <a href="#EX-translate-html5-global-1-rules-file">the above example</a>.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Translate flag global rules example<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;script</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">application/its+xml</span> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">ru1</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:h</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xhtml"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//h:code"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/script&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>This sentence should be translated, but code names like the <strong class="hl-tag" style="color: #000096">&lt;code&gt;</strong>span<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong> element should not be translated. Of course there are always exceptions: certain code values should be translated, e.g. to a value in your language like <strong class="hl-tag" style="color: #000096">&lt;code</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">yes</span><strong class="hl-tag" style="color: #000096">&gt;</strong>warning<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-translate-html5-inline-global-1.html">examples/html5/EX-translate-html5-inline-global-1.html</a>]</p></div></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="html5-its-local-markup" id="html5-its-local-markup"></a>2.5.2 Local approach</h4><p>In HTML, an ITS 2.0 local data category is realized with the prefix <code>its-</code>. The general mapping of the XML based ITS 2.0 attributes to their HTML counterparts is defined in <a class="section-ref" href="#html5-local-attributes">Section 6.1: Mapping of Local Data Categories to HTML</a>. An informative table in <a class="section-ref" href="#list-of-elements-and-attributes">Appendix I: List of ITS 2.0 Global Elements and Local Attributes</a> provides an overview of the mapping for all data categories.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="html5-existing-markup-versus-its" id="html5-existing-markup-versus-its"></a>2.5.3 HTML markup with ITS 2.0 counterparts</h4><p>There are four ITS 2.0 data categories, which have counterparts in HTML markup. In these cases, native HTML markup provides some information in terms of ITS 2.0 data categories. For these data categories, ITS 2.0 defines the following:</p><ul><li><p>The <a href="#language-information">Language Information</a> data category has the HTML <code>lang</code> attribute as a counterpart. In XHTML the counterpart is the <code>xml:lang</code> attribute. These HTML attributes act as local markup for the <a href="#language-information">Language Information</a> data category in HTML and take <a href="#selection-precedence">precedence</a> over language information conveyed via a global <code class="its-elem-markup">langRule</code>.</p></li><li><p>The <a href="#idvalue">Id Value</a> data category has the HTML or XHTML <code>id</code> attribute as counterpart. This HTML attribute acts as local markup for the <a href="#idvalue">Id Value</a> data category in HTML and takes <a href="#selection-precedence">precedence</a> over identifier information conveyed via a global <code class="its-elem-markup">idValueRule</code>.</p></li><li><p>The <a href="#elements-within-text">Elements within Text</a> data category has a set of HTML elements (the so-called <a href="https://www.w3.org/TR/2013/CR-html5-20130806/dom.html#phrasing-content-1">phrasing content</a>) as counterpart. In the absence of an <a href="#elements-within-text">Elements within Text</a> local attribute or global rules selecting the element in question, most of the phrasing content elements are interpreted as <code>withinText="yes"</code> by default. The phrasing content elements <code class="its-elem-markup">iframe</code>, <code class="its-elem-markup">noscript</code>, <code class="its-elem-markup">script</code> and <code class="its-elem-markup">textarea</code> are interpreted as <code>withinText="nested"</code>.</p></li><li><p id="translate-in-html5">The <a href="#trans-datacat">Translate</a> data category has a direct counterpart in <a title="HTML5" href="#html5">[HTML5]</a>, namely the <a title="HTML5" href="#html5">[HTML5]</a> <code>translate</code> attribute. ITS 2.0 does not define its own behavior for <a title="HTML5" href="#html5">[HTML5]</a> <code>translate</code>, but just refers to <a href="https://www.w3.org/TR/2013/CR-html5-20130806/dom.html#the-translate-attribute">the HTML5 definition</a>. That definition also applies to nodes selected via global rules. That is, a <code class="its-elem-markup">translateRule</code> like <code>&lt;its:translateRule selector="//h:img" translate="yes"/&gt;</code> will set the <code>img</code> element and its translatable attributes like <code>alt</code> to "yes".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-its-and-existing-HTML5-markup" id="EX-its-and-existing-HTML5-markup"></a>Example 9: The <a href="#language-information">Language Information</a>, <a href="#idvalue">Id Value</a>, <a href="#elements-within-text">Elements within Text</a> and <a href="#trans-datacat">Translate</a> ITS 2.0 data categories expressed by native HTML markup.</div><p>The <code>lang</code> attribute of the <code>html</code> element conveys the <a href="#language-information">Language Information</a> value "en". The <code>id</code> attribute of the <code>p</code> element conveys the <a href="#idvalue">Id Value</a> "p1". The elements <code>em</code> and <code>img</code> are interpreted to be <code>withinText="yes"</code>. The <code>p</code> element and its children are set to be non-translatable via an <a title="HTML5" href="#html5">[HTML5]</a> <code>translate</code> attribute. Via inheritance, the <code>alt</code> attribute, normally translatable by default, also is non-translatable.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>HTML native markup expressing three ITS 2.0 data categories<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"p1"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>This is a <strong class="hl-tag" style="color: #000096">&lt;em&gt;</strong>motherboard<strong class="hl-tag" style="color: #000096">&lt;/em&gt;</strong> and image: <strong class="hl-tag" style="color: #000096">&lt;img</strong> <span class="hl-attribute" style="color: #F5844C">src</span>=<span class="hl-value" style="color: #993300">"http://example.com/myimg.png"</span> <span class="hl-attribute" style="color: #F5844C">alt</span>=<span class="hl-value" style="color: #993300">"My image"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-its-and-existing-HTML5-markup.html">examples/html5/EX-its-and-existing-HTML5-markup.html</a>]</p></div><p>There are also some HTML markup elements that have or can have similar, but not necessarily identical, roles and behaviors as certain ITS 2.0 data categories. For example, the HTML <code>dfn</code> element could be used to identify a term in the sense of the <a href="#terminology">Terminology</a> data category. However, this is not always the case and it depends on the intentions of the HTML content author. To accommodate this situation, users of ITS 2.0 are encouraged to specify the semantics of existing HTML markup in an ITS 2.0 context with a dedicated global rules file. For example, a rule can be used to define that the HTML <code>dfn</code> has the semantics of ITS <code>term="yes"</code>. For additional examples, see the <a href="https://www.w3.org/TR/2008/NOTE-xml-i18n-bp-20080213/#relating-its-plus-xhtml">XML I18N Best Practices</a> document.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="html5-standoff-markup-explanation" id="html5-standoff-markup-explanation"></a>2.5.4 Standoff markup in HTML5</h4><p>The <a href="#provenance">Provenance</a> and the <a href="#lqissue">Localization Quality Issue</a> data categories allow for using so-called standoff markup, see the XML <a href="#EX-provenance-global-1">Example 58</a>. In HTML such standoff markup is placed into a <code>script</code> element. If this is done, the constraints for <a href="#provenance-records-in-html5-constraint">Provenance standoff</a> markup in HTML and <a href="#loc-quality-issues-in-html5-constraint">Localization quality issue</a> markup in HTML need to be taken into account. Examples of standoff markup in HTML for the two data categories are <a href="#EX-provenance-html5-local-2">Example 61</a> and <a href="#EX-locQualityIssue-html5-local-2">Example 76</a>.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="usage-in-legacy-html" id="usage-in-legacy-html"></a>2.5.5 Version of HTML</h4><p>ITS 2.0 does not define how to use ITS in HTML versions prior to version 5. Users are thus encouraged to migrate their content to <a title="HTML5" href="#html5">[HTML5]</a> or XHTML. While it is possible to use <code>its-*</code> attributes introduced for <a title="HTML5" href="#html5">[HTML5]</a> in older versions of HTML (such as 3.2 or 4.01) and pages using these attributes will work without any problems, <code>its-*</code> attributes will be marked as invalid by validators.</p></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="traceability" id="traceability"></a>2.6 Traceability</h3><p>The <a href="#its-tool-annotation">ITS Tools Annotation</a> mechanism allows processor information to be associated with individual data categories in a document, independently from data category annotations themselves (e.g. the Entity Type related to Text Analysis). The mechanism associates identifiers for tools with data categories via the <code class="its-attr-markup">annotatorsRef</code> attribute (or <a href="">annotators-ref</a> in <a title="HTML5" href="#html5">[HTML5]</a>) and is mandatory for the <a href="#mtconfidence">MT Confidence</a> data category. For the <a href="#terminology">Terminology</a> and <a href="#textanalysis">Text Analysis</a> data categories the ITS Tools Annotation is mandatory if the data categories provide confidence information. Nevertheless, <a href="#its-tool-annotation">ITS Tools Annotation</a> can be used for all data categories. <a href="#EX-its-tool-annotation-2">Example 23</a> demonstrates the usage in the context of several data categories. </p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mapping-conversion" id="mapping-conversion"></a>2.7 Mapping and conversion</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mapping-NIF" id="mapping-NIF"></a>2.7.1 ITS and RDF/NIF</h4><p>ITS 2.0 provides a non-normative algorithm to convert XML or HTML documents (or their DOM representations) that contain ITS metadata to the RDF format based on <a title="NIF 2.0 Core Ontology" href="#nif-reference">[NIF]</a>. NIF is an RDF/OWL-based format that aims at interoperability between Natural Language Processing (NLP) tools, language resources and annotations.</p><p>The conversion from <a href="#conversion-to-nif">ITS 2.0 to NIF</a> results in RDF triples. These triples represent the textual content of the original document as RDF typed information. The ITS annotation is represented as properties of content-related triples and relies on an <a href="https://www.w3.org/2005/11/its/rdf#">ITS RDF vocabulary</a>.</p><p>The back conversion from <a href="#nif-backconversion">NIF to ITS 2.0</a> is defined informatively as well. One motivation for the back conversion is a roundtrip workflow like: 1) conversion to NIF 2) in NIF representation detection of named entities using NLP tools 3) back conversion to HTML and generation of <a href="#textanalysis">Text Analysis</a> markup. The outcome are HTML documents with linked information, see <a href="#EX-text-analysis-html5-local-1">Example 52</a>.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mapping-XLIFF" id="mapping-XLIFF"></a>2.7.2 ITS and XLIFF</h4><p>The XML Localization Interchange File Format <a title="XLIFF Version 1.2" href="#xliff1.2">[XLIFF 1.2]</a> is an OASIS standard that enables translatable source text and its translation to be passed between different tools within localization and translation workflows. <a title="XLIFF Version 2.0" href="#xliff2.0">[XLIFF 2.0]</a> is the successor of <a title="XLIFF Version 1.2" href="#xliff1.2">[XLIFF 1.2]</a> and under development. XLIFF has been widely implemented in various translation management systems, computer aided translation tools and in utilities for extracting translatable content from source documents and merging back the content in the target language.</p><p>The mapping between ITS and XLIFF therefore underpins several important ITS 2.0 usage scenarios <a title="Metadata for the Multilingual Web - Usage Scenarios and Implementations " href="#mlw-metadata-us-impl">[MLW US IMPL]</a>. These usage scenarios involve:</p><ul><li><p>the extraction of ITS metadata from a source language file into XLIFF</p></li><li><p>the addition of ITS metadata into an XLIFF file by translation tools</p></li><li><p>the mapping of ITS metadata in an XLIFF file into ITS metadata in the resulting target language files.</p></li></ul><p>ITS 2.0 has no normative dependency on XLIFF, however a <a href="https://www.w3.org/International/its/wiki/XLIFF_Mapping">non-normative definition of how to represent ITS 2.0 data categories in XLIFF 1.2 or XLIFF 2.0</a> is being defined within the <a href="https://www.w3.org/International/its/ig/">Internationalization Tag Set Interest Group</a>.</p></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="implementing-its20" id="implementing-its20"></a>2.8 ITS 2.0 Implementations and Conformance</h3><p>What does it mean to implement ITS 2.0? This specification provides several conformance clauses as the normative answer (see <a class="section-ref" href="#conformance">Section 4: Conformance</a>). The clauses target different types of implementers:</p><ul><li><p>Conformance clauses in <a class="section-ref" href="#conformance-product-schema">Section 4.1: Conformance Type 1: ITS Markup Declarations</a> tell markup vocabulary developers how to add ITS 2.0 markup declarations to their schemas.</p></li><li><p>Conformance clauses in <a class="section-ref" href="#conformance-product-processing-expectations">Section 4.2: Conformance Type 2: The Processing Expectations for ITS Markup</a> tell implementers how to process XML content according to ITS 2.0 data categories.</p></li><li><p>Conformance clauses in <a class="section-ref" href="#conformance-product-html-processing-expectations">Section 4.3: Conformance Type 3: Processing Expectations for ITS Markup in HTML</a> tell implementers how to process <a title="HTML5" href="#html5">[HTML5]</a> content.</p></li><li><p>Conformance clauses in <a class="section-ref" href="#conformance-product-html5-its">Section 4.4: Conformance Type 4: Markup conformance for HTML5+ITS documents</a> tell implementers how ITS 2.0 markup is integrated into <a title="HTML5" href="#html5">[HTML5]</a>.</p></li></ul><p>The conformance clauses in <a class="section-ref" href="#conformance-product-processing-expectations">Section 4.2: Conformance Type 2: The Processing Expectations for ITS Markup</a> and <a class="section-ref" href="#conformance-product-html-processing-expectations">Section 4.3: Conformance Type 3: Processing Expectations for ITS Markup in HTML</a> clarify how information needs to be made available for given pieces of markup when processing a dedicated ITS 2.0 data category. To allow for flexibility, an implementation can choose whether it wants to support only ITS 2.0 global or local information, or XML or HTML content. These choices are reflected in separate conformance clauses and also in the <a href="https://github.com/w3c/its-2.0-testsuite/">ITS 2.0 test suite</a>.</p><p>ITS 2.0 processing expectations only define which information needs to be made available. They do not define how that information actually is to be used. This is due to the fact that there is a wide variety of usage scenarios for ITS 2.0, and a wide variety of tools for working with ITS 2.0 is possible. Each of these tools may have its own way of using ITS 2.0 data categories (see <a title="Metadata for the Multilingual Web - Usage Scenarios and Implementations " href="#mlw-metadata-us-impl">[MLW US IMPL]</a> for more information).</p></div></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="notation-terminology" id="notation-terminology"></a>3 Notation and Terminology</h2><p> <em>This section is normative.</em> </p><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="notation" id="notation"></a>3.1 Notation</h3><p id="rfc-keywords">The keywords “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in <a title="Key Words for use in RFCs to Indicate&#xA; Requirement Levels" href="#rfc2119">[RFC 2119]</a>.</p><p>The namespace URI that <a href="#rfc-keywords">MUST</a> be used by implementations of this specification is:</p><div class="exampleInner"><div class="exampleOuter"><pre>http://www.w3.org/2005/11/its</pre></div></div><p id="its-namespace-prefix">The namespace prefix used in this specification for XML implementations of ITS for the above URI is <code>its</code>. It is recommended that XML implementations of this specification use this prefix, unless there is existing dedicated markup in use for a given data category. In HTML there is no namespace prefix: <code>its-</code> is used instead to indicate ITS 2.0 attributes in HTML documents. See <a class="section-ref" href="#html5-local-attributes">Section 6.1: Mapping of Local Data Categories to HTML</a> for details.</p><p>In addition, the following namespaces are used in this document:</p><ul><li><p><code>http://www.w3.org/2001/XMLSchema</code> for the XML Schema namespace, here used with the prefix <code>xs</code></p></li><li><p><code>http://www.w3.org/1999/xlink</code> for the XLink namespace, here used with the prefix <code>xlink</code></p></li><li><p><code>http://www.w3.org/1999/xhtml</code> for the HTML namespace, here used with the prefix <code>h</code></p></li></ul></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="def-datacat" id="def-datacat"></a>3.2 Data category</h3><p> [<a name="t002" id="t002" title="data category">Definition</a>: ITS defines <span class="new-term">data category</span> as an abstract concept for a particular type of information for internationalization and localization of XML schemas and documents.] The concept of a data category is independent of its implementation in an XML and HTML environment (e.g., using an element or attribute).</p><p>For each data category, ITS distinguishes between the following:</p><ul><li><p>the prose description, see <a class="section-ref" href="#datacategory-description">Section 8: Description of Data Categories</a></p></li><li><p>schema language-independent formalization, see the "implementation" subsections in <a class="section-ref" href="#datacategory-description">Section 8: Description of Data Categories</a></p></li><li><p>schema language-specific implementations, see <a class="section-ref" href="#its-schemas">Appendix D: Schemas for ITS</a></p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e1611" id="d0e1611"></a>Example 10: A data category and its implementation</div><p>The <a href="#trans-datacat">Translate</a> data category conveys information as to whether a piece of content is intended for translation or not.</p><p>The simplest formalization of this prose description on a schema language-independent level is a <code class="its-attr-markup">translate</code> attribute with two possible values: "yes" and "no". An implementation on a schema language-specific level would be the declaration of the <code class="its-attr-markup">translate</code> attribute in, for example, an XML Schema document or a RELAX NG document. A different implementation would be a <code class="its-elem-markup">translateRule</code> element that allows for specifying <a href="#selection-global">global rules</a> about the <a href="#trans-datacat">Translate</a> data category.</p></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="def-selection" id="def-selection"></a>3.3 Selection</h3><p> [<a name="termdef-selection" id="termdef-selection" title="Selection">Definition</a>: <span class="new-term">selection</span> encompasses mechanisms to specify to what parts of an XML or HTML document an ITS data category and its values apply.] Selection is discussed in detail in <a class="section-ref" href="#its-processing">Section 5: Processing of ITS information</a>. Selection can be applied globally, see <a class="section-ref" href="#selection-global">Section 5.2.1: Global, Rule-based Selection</a>, and locally, see <a class="section-ref" href="#selection-local">Section 5.2.2: Local Selection in an XML Document</a>. As for global selection, ITS information can be <a href="#def-adding-pointing">added</a> to the selected nodes, or it can <a href="#def-adding-pointing">point to existing information</a> that is related to selected nodes. </p><div class="note"><p class="prefix"><b>Note:</b></p><p id="note-object-selection">The selection of the ITS data categories applies to textual values contained within element or attribute nodes. In some cases these nodes form pointers to other resources; a well-known example is the <code>src</code> attribute on the <code>img</code> element in HTML. The ITS <a href="#trans-datacat">Translate</a> data category applies to the text of the pointer itself, not the object to which it points. Thus in the following example, the translation information specified via the <code class="its-elem-markup">translateRule</code> element applies to the filename "instructions.jpg", and is not an instruction to open the graphic and change the words therein.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-notation-terminology-1" id="EX-notation-terminology-1"></a>Example 11: Selecting the text of a pointer to an external object</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;text&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//p/img/@src"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> ... <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>As you can see in <strong class="hl-tag" style="color: #000096">&lt;img</strong> <span class="hl-attribute" style="color: #F5844C">src</span>=<span class="hl-value" style="color: #993300">"instructions.jpg"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong>, the truth is not always out there.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-notation-terminology-1.xml">examples/xml/EX-notation-terminology-1.xml</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="def-local-attributes" id="def-local-attributes"></a>3.4 ITS Local Attributes</h3><p> [<a name="local-attributes" id="local-attributes" title="ITS Local Attributes">Definition</a>: <span class="new-term">ITS Local Attributes</span> are all attributes defined in <a class="section-ref" href="#datacategory-description">Section 8: Description of Data Categories</a> as a local markup.] </p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="def-rule-elements" id="def-rule-elements"></a>3.5 Rule Elements</h3><p> [<a name="rule-elements" id="rule-elements" title="Rule Elements">Definition</a>: <span class="new-term">Rule Elements</span> are all elements defined in <a class="section-ref" href="#datacategory-description">Section 8: Description of Data Categories</a> as elements for global rules.] </p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="iri-usage" id="iri-usage"></a>3.6 Usage of Internationalized Resource Identifiers in ITS</h3><p>All attributes that have the type <code>anyURI</code> in the normative RELAX NG schema in <a class="section-ref" href="#its-schemas">Appendix D: Schemas for ITS</a> <a href="#rfc-keywords">MUST</a> allow the usage of Internationalized Resource Identifiers (IRIs, <a title="Internationalized Resource&#xA; Identifiers (IRIs)" href="#rfc3987">[RFC 3987]</a> or its successor) to ease the adoption of ITS in international application scenarios.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="def-html" id="def-html"></a>3.7 The Term HTML</h3><p>This specification uses the term <code>HTML</code> to refer to HTML5 or its successor in HTML syntax <a title="HTML5" href="#html5">[HTML5]</a>.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="def-css-selector" id="def-css-selector"></a>3.8 The Term CSS Selectors</h3><p>This specification uses the term <code>CSS Selectors</code> in the sense of <code>Selectors</code> as specified in <a title="Selectors Level&#xA; 3" href="#css3-selectors">[Selectors Level 3]</a> to prevent confusion with the generic use of the word "selector".</p></div></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="conformance" id="conformance"></a>4 Conformance</h2><p> <em>This section is normative.</em> </p><p>The usage of the term <em>conformance clause</em> in this section is in compliance with <a title="QA Framework:&#xA; Specification Guidelines" href="#qa-framework">[QAFRAMEWORK]</a>.</p><p>This specification defines four types of conformance: conformance of <a href="#conformance-product-schema">1) ITS markup declarations</a>, conformance of <a href="#conformance-product-processing-expectations">2) processing expectations for ITS Markup</a>, conformance of <a href="#conformance-product-html-processing-expectations">3) processing expectations for ITS Markup in HTML</a>, and <a href="#conformance-product-html5-its">4) markup conformance for HTML5+ITS documents</a>. The conformance type 4 is defined for using ITS markup in HTML5 documents, HTML5+ITS, which serves as an <em>applicable specification</em> in the sense specified in the <a href="https://www.w3.org/TR/html5/infrastructure.html#extensibility">Extensibility section</a> of <a title="HTML5" href="#html5">[HTML5]</a>. These conformance types and classes complement each other. An implementation of this specification <a href="#rfc2119">MAY</a> use them separately or together.</p><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="conformance-product-schema" id="conformance-product-schema"></a>4.1 Conformance Type 1: ITS Markup Declarations</h3><p> <em>Description:</em> ITS markup declarations encompass all declarations that are part of the Internationalization Tag Set. They do not concern the <em>usage</em> of the markup in XML documents. Such markup is subject to the conformance clauses in <a class="section-ref" href="#conformance-product-processing-expectations">Section 4.2: Conformance Type 2: The Processing Expectations for ITS Markup</a>.</p><p> <em>Definitions related to this conformance type:</em> ITS markup declarations are defined in various subsections in a schema language independent manner.</p><p> <em>Who uses this conformance type:</em> Schema designers integrating ITS markup declarations into a schema. All conformance clauses for this conformance type concern the position of ITS markup declarations in that schema, and their status as mandatory or optional.</p><p> <em>Conformance clauses:</em> </p><ul><li><p id="its-conformance-1-1"> <em>1-1:</em> At least one of the following <a href="#rfc-keywords">MUST</a> be in the schema:</p><ul><li><p><code class="its-elem-markup">rules</code> element</p></li><li><p>one of the local ITS attributes</p></li><li><p><code class="its-elem-markup">span</code> element</p></li></ul></li><li><p id="its-conformance-1-2"> <em>1-2:</em> If the <code class="its-elem-markup">rules</code> element is used, it <a href="#rfc-keywords">MUST</a> be part of the content model of at least one element declared in the schema. It <a href="#rfc-keywords">SHOULD</a> be in a content model for meta information, if this is available in that schema (e.g., the <code>head</code> element in <a title="XHTML™ 1.0 The Extensible&#xA; HyperText Markup Language (Second Edition)" href="#xhtml10">[XHTML 1.0]</a>).</p></li><li><p id="its-conformance-1-3"> <em>1-3:</em> If the <code class="its-elem-markup">span</code> element is used, it <a href="#rfc-keywords">SHOULD</a> be declared as an inline element.</p></li></ul><p id="its-markup-conformance-claims">Full implementations of this conformance type will implement all markup declarations for ITS. Statements related to this conformance type <a href="#rfc-keywords">MUST</a> list all markup declarations they implement.</p><p> <em>Examples: </em> Examples of the usage of ITS markup declarations in various existing schemas are given in a separate document <a title="Best&#xA; Practices for XML Internationalization" href="#xml-i18n-bp">[XML i18n BP]</a>.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="conformance-product-processing-expectations" id="conformance-product-processing-expectations"></a>4.2 Conformance Type 2: The Processing Expectations for ITS Markup</h3><p> <em>Description:</em> Processors need to compute the ITS information that pertains to a node in an XML document. The ITS processing expectations define how the computation has to be carried out. Correct computation involves support for <a href="#def-selection">selection mechanism</a>, <a href="#datacategories-defaults-etc">defaults / inheritance / overriding characteristics</a>, and <a href="#selection-precedence">precedence</a>. The markup <a href="#rfc-keywords">MAY</a> be valid against a schema that conforms to the clauses in <a class="section-ref" href="#conformance-product-schema">Section 4.1: Conformance Type 1: ITS Markup Declarations</a>.</p><p> <em>Definitions related to this conformance type:</em> The processing expectations for ITS markup make use of selection mechanisms defined in <a class="section-ref" href="#its-processing">Section 5: Processing of ITS information</a>. The individual data categories defined in <a class="section-ref" href="#datacategory-description">Section 8: Description of Data Categories</a> have <a href="#datacategories-defaults-etc">defaults / inheritance / overriding characteristics</a>, and allow for using ITS markup in various positions (<a href="#selection-global">global</a> and <a href="#selection-local">local</a>).</p><p> <em>Who uses this conformance type:</em> Applications that need to process the nodes captured by a data category for internationalization or localization. Examples of this type of application are: ITS markup-aware editors, or translation tools that make use of ITS markup to filter translatable text as an input to the localization process.</p><div class="note"><p class="prefix"><b>Note:</b></p><p> Application-specific processing (that is processing that goes beyond the computation of ITS information for a node), such as automated filtering of translatable content based on the <a href="#trans-datacat">Translate</a> data category, is not covered by the conformance clauses below.</p></div><p> <em>Conformance clauses:</em> </p><ul><li><p id="its-conformance-2-1"> <em>2-1:</em> A processor <a href="#rfc-keywords"> MUST</a> implement at least <em>one</em> <a href="#def-datacat">data category</a>. For each implemented <a href="#def-datacat">data category</a>, the following <a href="#rfc-keywords">MUST</a> be taken into account:</p><ul><li><p id="its-conformance-2-1-1"> <em>2-1-1:</em> processing of at least one selection mechanism (<a href="#selection-global">global</a> or <a href="#selection-local">local</a>).</p></li><li><p id="its-conformance-2-1-2"> <em>2-1-2:</em> the <a href="#datacategories-defaults-etc">default selections for the data category</a>.</p></li><li><p id="its-conformance-2-1-3"> <em>2-1-3:</em> the precedence definitions for selections defined in <a class="section-ref" href="#selection-precedence">Section 5.5: Precedence between Selections</a>, for the type of selections it processes.</p></li></ul></li><li><p id="its-conformance-2-2"> <em>2-2:</em> If an application claims to process ITS markup for the global selection mechanism, it <a href="#rfc-keywords">MUST</a> process an XLink <code class="its-attr-markup">href</code> attribute found on a <code class="its-elem-markup">rules</code> element.</p></li><li><p id="its-conformance-2-3"> <em>2-3:</em> If an application claims to process ITS markup implementing the conformance clauses 2-2 and 2-3, it <a href="#rfc-keywords">MUST</a> process that markup with XML documents.</p></li><li><p id="its-conformance-2-4"> <em>2-4:</em> Non-ITS elements and attributes found in ITS elements <a href="#rfc2119">MAY</a> be ignored.</p></li></ul><p id="its-processing-conformance-claims">Statements related to this conformance type <a href="#rfc-keywords">MUST</a> list all <a href="#def-datacat">data categories</a> they implement, and for each <a href="#def-datacat">data category</a>, which type of selection they support, whether they support processing of XML.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The above conformance clauses are directly reflected in the <a href="https://github.com/w3c/its-2.0-testsuite/">ITS 2.0 test suite</a>. All tests specify which data category is processed (clause <a href="#its-conformance-2-1">2-1</a>); they are relevant for (clause <a href="#its-conformance-2-1-1">2-1-1</a>) global or local selection, or both; they require the processing of defaults and precedence of selections (clauses <a href="#its-conformance-2-1-2">2-1-2</a> and <a href="#its-conformance-2-1-3">2-1-3</a>); for each data category there are tests with linked rules (<a href="#its-conformance-2-2">2-2</a>); and all types of tests are given for XML (clause <a href="#its-conformance-2-3">2-3</a>). Implementers are encouraged to organize their documentation in a similar way, so that users of ITS 2.0 easily can understand the processing capabilities available.</p></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="conformance-product-html-processing-expectations" id="conformance-product-html-processing-expectations"></a>4.3 Conformance Type 3: Processing Expectations for ITS Markup in HTML</h3><p> <em>Description:</em> Processors need to compute the ITS information that pertains to a node in an HTML document. The ITS processing expectations define how the computation has to be carried out. Correct computation involves support for <a href="#def-selection">selection mechanism</a>, <a href="#datacategories-defaults-etc">defaults / inheritance / overriding characteristics</a>, and <a href="#html5-selection-precedence">precedence</a>.</p><p> <em>Definitions related to this conformance type:</em> The processing expectations for ITS markup make use of selection mechanisms defined in <a class="section-ref" href="#its-processing">Section 5: Processing of ITS information</a>. The individual data categories defined in <a class="section-ref" href="#datacategory-description">Section 8: Description of Data Categories</a> have <a href="#datacategories-defaults-etc">defaults / inheritance / overriding characteristics</a>, and allow for using ITS markup in various positions (<a href="#html5-local-attributes">local</a>, <a href="#html5-external-global-rules">external global</a> and <a href="#html5-inline-global-rules">inline global</a>).</p><p> <em>Who uses this conformance type:</em> Applications that need to process the nodes captured by a data category for internationalization or localization. Examples of this type of application are ITS markup-aware editors or translation tools that make use of ITS markup to filter translatable text as an input to the localization process.</p><div class="note"><p class="prefix"><b>Note:</b></p><p> Application-specific processing (that is processing that goes beyond the computation of ITS information for a node) such as automated filtering of translatable content based on the <a href="#trans-datacat">Translate</a> data category is not covered by the conformance clauses below.</p></div><p> <em>Conformance clauses:</em> </p><ul><li><p id="its-conformance-3-1"> <em>3-1:</em> A processor <a href="#rfc-keywords"> MUST</a> implement at least <em>one</em> <a href="#def-datacat">data category</a>. For each implemented <a href="#def-datacat">data category</a>, the following <a href="#rfc-keywords">MUST</a> be taken into account:</p><ul><li><p id="its-conformance-3-1-1"> <em>3-1-1:</em> processing of at least one selection mechanism (<a href="#selection-global">global</a> or <a href="#selection-local">local</a>).</p></li><li><p id="its-conformance-3-1-2"> <em>3-1-2:</em> the <a href="#datacategories-defaults-etc">default selections for the data category</a>.</p></li><li><p id="its-conformance-3-1-3"> <em>3-1-3:</em> the precedence definitions for selections defined in <a class="section-ref" href="#html5-selection-precedence">Section 6.4: Precedence between Selections</a>, for the type of selections it processes.</p></li></ul></li><li><p id="its-conformance-3-2"> <em>3-2:</em> If an application claims to process ITS markup for the global selection mechanism, it <a href="#rfc-keywords">MUST</a> process a <code class="its-attr-markup">href</code> attribute found on a <code>link</code> element that has a <code>rel</code> attribute with the value <code>its-rules</code>.</p></li><li><p id="its-conformance-3-3"> <em>3-3:</em> If an application claims to process ITS markup implementing the conformance clauses 3-1 and 3-2, it <a href="#rfc-keywords">MUST</a> process that markup within HTML documents.</p></li></ul><p id="its-html-processing-conformance-claims">Statements related to this conformance type <a href="#rfc-keywords">MUST</a> list all <a href="#def-datacat">data categories</a> they implement and, for each <a href="#def-datacat">data category</a>, which type of selection they support.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="conformance-product-html5-its" id="conformance-product-html5-its"></a>4.4 Conformance Type 4: Markup conformance for HTML5+ITS documents</h3><p>Conforming HTML5+ITS documents are those that comply with all the conformance criteria for documents as defined in <a title="HTML5" href="#html5">[HTML5]</a> with the following exception:</p><ul><li><p id="its-conformance-4-1">Conformance clause <em>4-1:</em> <a href="http://dev.w3.org/html5/spec/single-page.html#global-attributes">Global attributes</a> that can be used on all HTML elements are extended by attributes for local data categories as defined in <a class="section-ref" href="#html5-local-attributes">Section 6.1: Mapping of Local Data Categories to HTML</a>.</p></li></ul></div></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="its-processing" id="its-processing"></a>5 Processing of ITS information</h2><p> <em>This section is normative.</em> </p><div class="note"><p class="prefix"><b>Note:</b></p><p>Additional definitions about processing of HTML are given in <a class="section-ref" href="#html5-markup">Section 6: Using ITS Markup in HTML</a>.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="its-version-attribute" id="its-version-attribute"></a>5.1 Indicating the Version of ITS</h3><p>The version of the ITS schema defined in this specification is "2.0". The version is indicated by the ITS <code class="its-attr-markup">version</code> attribute. This attribute is mandatory for the <code class="its-elem-markup">rules</code> element, where it <a href="#rfc-keywords">MUST</a> be in no namespace.</p><p>If there is no <code class="its-elem-markup">rules</code> element in an XML document, a prefixed ITS <code class="its-attr-markup">version</code> attribute (e.g., <code>its:version</code>) <a href="#rfc-keywords">MUST</a> be provided on the element where the ITS markup is used, or on one of its ancestors.</p><p>If there is no <code class="its-elem-markup">rules</code> element and there are elements with standoff ITS markup in an XML document, an ITS <code class="its-attr-markup">version</code> attribute <a href="#rfc-keywords">MUST</a> be provided on element with standoff ITS markup or a prefixed ITS <code class="its-attr-markup">version</code> attribute (e.g., <code>its:version</code>) <a href="#rfc-keywords">MUST</a> be provided on one of its ancestors.</p><p>There <a href="#rfc-keywords">MUST NOT</a> be two different versions of ITS in the same document.</p><p>External, linked rules can have different versions than internal rules.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="datacategory-locations" id="datacategory-locations"></a>5.2 Locations of Data Categories</h3><p>ITS data categories can appear in two places:</p><ul><li><p><a href="#selection-global">Global rules</a>: the selection is realized within a <code class="its-elem-markup">rules</code> element. It contains <a href="#rule-elements">rule elements</a> for each data category. Each rule element has a <code class="its-attr-markup">selector</code> attribute and possibly other attributes. The <code class="its-attr-markup">selector</code> attribute contains an absolute selector as defined in <a class="section-ref" href="#selectors">Section 5.3: Query Language of Selectors</a>.</p></li><li><p><a href="#selection-local">Locally in a document</a>: the selection is realized using ITS local attributes, which are attached to an element node, or the <code class="its-elem-markup">span</code> element. There is no additional <code class="its-attr-markup">selector</code> attribute. The default selection for each data category defines whether the selection covers attributes and child elements. See <a class="section-ref" href="#datacategories-defaults-etc">Section 8.1: Position, Defaults, Inheritance, and Overriding of Data Categories</a>.</p></li></ul><p>The two locations are described in detail below.</p><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="selection-global" id="selection-global"></a>5.2.1 Global, Rule-based Selection</h4><p>Global, rule-based selection is implemented using the <code class="its-elem-markup">rules</code> element. The <code class="its-elem-markup">rules</code> element contains zero or more <a href="#rule-elements">rule elements</a>. Each <a href="#rule-elements">rule element</a> has a mandatory <code class="its-attr-markup">selector</code> attribute. This attribute and all other possible attributes on <a href="#rule-elements">rule elements</a> are in the empty namespace and used without a prefix.</p><p>If there is more than one <code class="its-elem-markup">rules</code> element in an XML document, the rules from each section are to be processed at the same precedence level. The <code class="its-elem-markup">rules</code> sections are to be read in document order, and the ITS rules with them processed sequentially. The versions of these <code class="its-elem-markup">rules</code> elements <a href="#rfc-keywords">MUST NOT</a> be different.</p><p id="def-adding-pointing">Depending on the data category and its usage, there are additional attributes for adding information to the selected nodes, or for pointing to existing information in the document. For example, the <a href="#locNote-datacat">Localization Note</a> data category can be used for adding notes to selected nodes, or for pointing to existing notes in the document. For the former purpose, a <code class="its-elem-markup">locNote</code> element can be used. For the latter purpose, a <code class="its-attr-markup">locNotePointer</code> attribute can be used.</p><p>The <a href="#datacategories-overview">data category overview table</a>, in <a class="section-ref" href="#datacategories-defaults-etc">Section 8.1: Position, Defaults, Inheritance, and Overriding of Data Categories</a>, provides an overview of what data categories allow to point to existing information or to add information.</p><p>The functionalities of adding information and pointing to existing information are <em>mutually exclusive</em>. That is: markup for pointing and adding the same information <a href="#rfc-keywords">MUST NOT</a> appear in the same rule element.</p><p>Global rules can appear in the XML document they will be applied to, or in a separate XML document. The precedence of their processing depends on these variations. See also <a class="section-ref" href="#selection-precedence">Section 5.5: Precedence between Selections</a>.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="selection-local" id="selection-local"></a>5.2.2 Local Selection in an XML Document</h4><p>Local selection in XML documents is realized with <a href="#local-attributes">ITS local attributes</a> or the <code class="its-elem-markup">span</code> element. <code class="its-elem-markup">span</code> serves just as a carrier for the local ITS attributes.</p><p>The data category determines what is being selected. The necessary data category specific defaults are described in <a class="section-ref" href="#datacategories-defaults-etc">Section 8.1: Position, Defaults, Inheritance, and Overriding of Data Categories</a>.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-selection-local-1" id="EX-selection-local-1"></a>Example 12: Defaults for various data categories</div><p>By default the content of all elements in a document is translatable. The attribute <code>its:translate="no"</code> in the <code>head</code> element means that the content of this element, including child elements, is not intended for translation. The attribute <code>its:translate="yes"</code> in the <code>title</code> element means that the content of this element, is to be translated (overriding the <code>its:translate="no"</code> in <code>head</code>). Attribute values of the selected elements or their children are not affected by local <code class="its-attr-markup">translate</code> attributes. By default they are not translatable.</p><p>The default directionality of a document is left-to-right. The <code>its:dir="rtl"</code> in the <code>quote</code> element means that the directionality of the content of this element, including child elements and attributes, is right-to-left. Note that <code>xml:lang</code> indicates only the language, not the directionality.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;text</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"en"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head</strong> <span class="hl-attribute" style="color: #F5844C">its:translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;author&gt;</strong>Sven Corneliusson<strong class="hl-tag" style="color: #000096">&lt;/author&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;date&gt;</strong>2006-09-26T17:34:04Z<strong class="hl-tag" style="color: #000096">&lt;/date&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title</strong> <span class="hl-attribute" style="color: #F5844C">its:translate</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">role</span>=<span class="hl-value" style="color: #993300">"header"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Bidirectional Text<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;par&gt;</strong>In Arabic, the title <strong class="hl-tag" style="color: #000096">&lt;quote</strong> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"ar"</span> <span class="hl-attribute" style="color: #F5844C">its:dir</span>=<span class="hl-value" style="color: #993300">"rtl"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>نشاط التدويل، W3C<strong class="hl-tag" style="color: #000096">&lt;/quote&gt;</strong> means <strong class="hl-tag" style="color: #000096">&lt;quote&gt;</strong>Internationalization Activity, W3C<strong class="hl-tag" style="color: #000096">&lt;/quote&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/par&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-selection-local-1.xml">examples/xml/EX-selection-local-1.xml</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>The <code class="its-attr-markup">dir</code> and <code class="its-attr-markup">translate</code> attributes are not listed in the ITS attributes to be used in HTML. The reason is that these two attributes are available in HTML natively, so there is no need to provide them as <code>its-</code> attributes. The definition of the two attributes in HTML is compatible, that is it provides the same values and interpretation, as the definition for the two data categories <a href="#trans-datacat">Translate</a> and <a href="#directionality">Directionality</a>.</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="selectors" id="selectors"></a>5.3 Query Language of Selectors</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="queryLanguage" id="queryLanguage"></a>5.3.1 Choosing Query Language</h4><p> <a href="#rule-elements">Rule elements</a> have attributes that contain absolute and relative selectors. Interpretation of these selectors depends on the actual query language. The query language is set by <code class="its-attr-markup">queryLanguage</code> attribute on <code class="its-elem-markup">rules</code> element. If <code class="its-attr-markup">queryLanguge</code> is not specified XPath 1.0 is used as a default query language.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="d0e2513" id="d0e2513"></a>5.3.2 XPath 1.0</h4><p>XPath 1.0 is identified by <code>xpath</code> value in <code class="its-attr-markup">queryLanguage</code> attribute.</p><div class="div4"> <h5><a name="d0e2524" id="d0e2524"></a>5.3.2.1 Absolute selector</h5><p>The absolute selector <a href="#rfc-keywords">MUST</a> be an XPath expression that starts with "<code>/</code>". That is, it <a href="#rfc-keywords">MUST</a> be an <a href="https://www.w3.org/TR/xpath/#NT-AbsoluteLocationPath"> AbsoluteLocationPath</a> or union of <a href="https://www.w3.org/TR/xpath/#NT-AbsoluteLocationPath"> AbsoluteLocationPath</a>s as described in <a href="#xpath">XPath 1.0</a>. This ensures that the selection is not relative to a specific location. The resulting nodes <a href="#rfc-keywords">MUST</a> be either element or attribute nodes.</p><p>Context for evaluation of the XPath expression is as follows:</p><ul><li><p>Context node is set to <a href="https://www.w3.org/TR/xpath/#root-node">Root Node</a>.</p></li><li><p>Both context position and context size are 1.</p></li><li><p>All variables defined by <code class="its-elem-markup">param</code> elements are bind.</p></li><li><p>All functions defined in the <a href="https://www.w3.org/TR/xpath/#corelib">XPath Core Function Library</a> are available. It is an error for an expression to include a call to any other function.</p></li><li><p>The set of namespace declarations are those in scope on the element that has the attribute in which the expression occurs. This includes the implicit declaration of the prefix <code>xml</code> required by the <a href="#xmlns">XML Namespaces Recommendation</a>; the default namespace (as declared by <code>xmlns</code>) is not part of this set.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-selection-global-1" id="EX-selection-global-1"></a>Example 13: XPath expressions with namespaces</div><p>The <code>term</code> element from the TEI is in a namespace <code>http://www.tei-c.org/ns/1.0</code>. </p><div class="exampleInner"><pre><em class="hl-comment" style="color: silver">&lt;!-- Definitions for TEI --&gt;</em> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//tei:term"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:tei</span>=<span class="hl-value" style="color: #993300">"http://www.tei-c.org/ns/1.0"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-selection-global-1.xml">examples/xml/EX-selection-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-selection-global-2" id="EX-selection-global-2"></a>Example 14: XPath expressions without namespaces</div><p>The <code class="its-elem-markup">term</code> element from DocBook V4.5 is in no namespace.</p><div class="exampleInner"><pre><em class="hl-comment" style="color: silver">&lt;!-- Definitions for DocBook --&gt;</em> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-selection-global-2.xml">examples/xml/EX-selection-global-2.xml</a>]</p></div></div><div class="div4"> <h5><a name="xpath-relative-selector" id="xpath-relative-selector"></a>5.3.2.2 Relative selector</h5><p>The relative selector <a href="#rfc-keywords">MUST</a> use a <a href="https://www.w3.org/TR/xpath/#NT-RelativeLocationPath">RelativeLocationPath</a> or an <a href="https://www.w3.org/TR/xpath/#NT-AbsoluteLocationPath">AbsoluteLocationPath</a> as described in <a href="#xpath">XPath 1.0</a>. The XPath expression is evaluated relative to the nodes selected by the selector attribute.</p><p id="pointer-attributes-list">The following attributes point to existing information: <code class="its-attr-markup">allowedCharactersPointer</code>, <code class="its-attr-markup">taClassRefPointer</code>, <code class="its-attr-markup">taIdentPointer</code>, <code class="its-attr-markup">taIdentRefPointer</code>, <code class="its-attr-markup">taSourcePointer</code>, <code class="its-attr-markup">domainPointer</code>, <code class="its-attr-markup">externalResourceRefPointer</code>, <code class="its-attr-markup">langPointer</code>, <code class="its-attr-markup">locNotePointer</code>, <code class="its-attr-markup">locNoteRefPointer</code>, <code class="its-attr-markup">locQualityIssuesRefPointer</code>, <code class="its-attr-markup">provenanceRecordsRefPointer</code>, <code class="its-attr-markup">storageEncodingPointer</code>, <code class="its-attr-markup">storageSizePointer</code>, <code class="its-attr-markup">targetPointer</code>, <code class="its-attr-markup">termInfoPointer</code>, <code class="its-attr-markup">termInfoRefPointer</code>.</p><p>Context for evaluation of the XPath expression is the same as for an absolute selector with the following changes:</p><ul><li><p>Nodes selected by the expression in the <code class="its-attr-markup">selector</code> attribute form the current node list.</p></li><li><p>Context node comes from the current node list.</p></li><li><p>The context position comes from the position of the current node in the current node list; the first position is 1.</p></li><li><p>The context size comes from the size of the current node list.</p></li></ul></div></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="css-selectors" id="css-selectors"></a>5.3.3 CSS Selectors</h4><div class="note"><p class="prefix"><b>Note:</b></p><p>The term <code>CSS Selectors</code> is used throughout the specification in the sense of <code>Selectors</code> as specified in <a title="Selectors Level&#xA; 3" href="#css3-selectors">[Selectors Level 3]</a> to prevent confusion with the generic use of the word "selector". See <a href="#css-selectors">The term CSS Selector</a>.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p id="css-selectors-implementations">The working group will not provide a CSS Selectors-based implementation; nevertheless there are several existing libraries that can translate CSS Selectors to XPath so that XPath selectors-based implementations can be used.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p id="css-selectors-and-attributes">CSS selectors have no ability to point to attributes.</p></div><p>CSS Selectors are identified by the value <code>css</code> in the <code class="its-attr-markup">queryLanguage</code> attribute.</p><div class="div4"> <h5><a name="d0e2738" id="d0e2738"></a>5.3.3.1 Absolute selector</h5><p>An absolute selector <a href="#rfc-keywords">MUST</a> be interpreted as a selector as defined in <a title="Selectors Level&#xA; 3" href="#css3-selectors">[Selectors Level 3]</a>. Both simple selectors and groups of selectors can be used.</p></div><div class="div4"> <h5><a name="d0e2748" id="d0e2748"></a>5.3.3.2 Relative selector</h5><p>A relative selector <a href="#rfc-keywords">MUST</a> be interpreted as a selector as defined in <a title="Selectors Level&#xA; 3" href="#css3-selectors">[Selectors Level 3]</a>. A selector is not evaluated against the complete document tree but only against subtrees rooted at nodes selected by the selector in the <code class="its-attr-markup">selector</code> attribute.</p></div></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="d0e2761" id="d0e2761"></a>5.3.4 Additional query languages</h4><p>ITS processors <a href="#rfc-keywords">MAY</a> support additional query languages. For each additional query language the processor <a href="#rfc-keywords">MUST</a> define:</p><ul><li><p>the identifier of the query language used in <code class="its-attr-markup">queryLanguage</code>;</p></li><li><p>rules for evaluating an absolute selector to a collection of nodes;</p></li><li><p>rules for evaluating a relative selector to a collection of nodes.</p></li></ul><p>Because future versions of this specification are likely to define additional query languages, the following query language identifiers are reserved: <code>xpath</code>, <code>css</code>, <code>xpath2</code>, <code>xpath3</code>, <code>xquery</code>, <code>xquery3</code>, <code>xslt2</code>, <code>xslt3</code>.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="its-param" id="its-param"></a>5.3.5 Variables in selectors</h4><p id="parameter-for-rules">A <code class="its-elem-markup">param</code> element (or several ones) can be placed as the first child element(s) of the <code class="its-elem-markup">rules</code> element to define the default values of variables used in the various selectors used in the rules.</p><p>An implementation <a href="#rfc2119">MUST</a> support the <code class="its-elem-markup">param</code> element for all query languages it supports and at the same time define how variables are bound for evaluation of the selector expression. Implementations <a href="#rfc2119">SHOULD</a> also provide means for changing the default values of the <code class="its-elem-markup">param</code> elements. Such means are implementation-specific.</p><p>The <code class="its-elem-markup">param</code> element has a required <code class="its-attr-markup">name</code> attribute. The value of the <code class="its-attr-markup">name</code> attribute is a <a href="https://www.w3.org/TR/2009/REC-xml-names-20091208/#NT-QName">QName</a>, see <a title="Namespaces in XML&#xA; (Second Edition)" href="#xmlns">[XML Names]</a>. The content of the element is a string used as default value for the corresponding variable.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-param-in-global-rules-1" id="EX-param-in-global-rules-1"></a>Example 15: Using the <code class="its-elem-markup">param</code> element to define the default value of a variable in a <code class="its-attr-markup">selector</code> attribute.</div><p>The <code class="its-elem-markup">param</code> element defines the default value for the <code>$LCID</code> variable. In this case, only the <code>msg</code> element with the attribute <code>lcid</code> set to "0x049" is seen as translatable.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;doc</strong> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:param</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"LCID"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>0x0409<strong class="hl-tag" style="color: #000096">&lt;/its:param&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/doc"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//msg[@lcid=$LCID]"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">lcid</span>=<span class="hl-value" style="color: #993300">"0x0409"</span> <span class="hl-attribute" style="color: #F5844C">num</span>=<span class="hl-value" style="color: #993300">"1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Create a folder<strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">lcid</span>=<span class="hl-value" style="color: #993300">"0x0411"</span> <span class="hl-attribute" style="color: #F5844C">num</span>=<span class="hl-value" style="color: #993300">"1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>フォルダーを作成する<strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">lcid</span>=<span class="hl-value" style="color: #993300">"0x0407"</span> <span class="hl-attribute" style="color: #F5844C">num</span>=<span class="hl-value" style="color: #993300">"1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Erstellen Sie einen Ordner<strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">lcid</span>=<span class="hl-value" style="color: #993300">"0x040c"</span> <span class="hl-attribute" style="color: #F5844C">num</span>=<span class="hl-value" style="color: #993300">"1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Créer un dossier<strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/doc&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-param-in-global-rules-1.xml">examples/xml/EX-param-in-global-rules-1.xml</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>In XSLT-based applications, it may make sense to map ITS parameters directly to XSLT parameters. To avoid naming conflicts one can use a prefix with the parameter name's value to distinguish between the ITS parameters and the XSLT parameters.</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="link-external-rules" id="link-external-rules"></a>5.4 Link to External Rules</h3><p>One way to associate a document with a set of external ITS rules is to use the optional XLink <a title="XML Linking Language&#xA; 1.1" href="#xlink1">[XLink 1.1]</a> <code class="its-attr-markup">href</code> attribute in the <code class="its-elem-markup">rules</code> element. The referenced document <a href="#rfc-keywords">MUST</a> be a valid XML document containing at most one <code class="its-elem-markup">rules</code> element. That <code class="its-elem-markup">rules</code> element can be the root element or be located anywhere within the document tree (for example, the document could be an XML Schema).</p><p>The rules contained in the referenced document <a href="#rfc-keywords">MUST</a> be processed as if they were at the top of the <code class="its-elem-markup">rules</code> element with the XLink <code class="its-attr-markup">href</code> attribute.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-link-external-rules-1" id="EX-link-external-rules-1"></a>Example 16: External file EX-link-external-rules-1.xml with global rules:</div><p>The example demonstrates how metadata can be added to ITS rules.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;myFormatInfo&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;desc&gt;</strong>ITS rules used by the Open University<strong class="hl-tag" style="color: #000096">&lt;/desc&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;hostVoc&gt;</strong>http://www.tei-c.org/ns/1.0<strong class="hl-tag" style="color: #000096">&lt;/hostVoc&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rulesId&gt;</strong>98ECED99DF63D511B1250008C784EFB1<strong class="hl-tag" style="color: #000096">&lt;/rulesId&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rulesVersion&gt;</strong>v 1.81 2006/03/28 07:43:21<strong class="hl-tag" style="color: #000096">&lt;/rulesVersion&gt;</strong> ... <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//header"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:withinTextRule</strong> <span class="hl-attribute" style="color: #F5844C">withinText</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term | //b"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/myFormatInfo&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-link-external-rules-1.xml">examples/xml/EX-link-external-rules-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-link-external-rules-2" id="EX-link-external-rules-2"></a>Example 17: Document with a link to EX-link-external-rules-1.xml</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;myDoc&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;header&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:xlink</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xlink"</span> <span class="hl-attribute" style="color: #F5844C">xlink:href</span>=<span class="hl-value" style="color: #993300">"EX-link-external-rules-1.xml"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;author&gt;</strong>Theo Brumble<strong class="hl-tag" style="color: #000096">&lt;/author&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;lastUpdate&gt;</strong>Apr-01-2006<strong class="hl-tag" style="color: #000096">&lt;/lastUpdate&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/header&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>A <strong class="hl-tag" style="color: #000096">&lt;term&gt;</strong>Palouse horse<strong class="hl-tag" style="color: #000096">&lt;/term&gt;</strong> has a spotted coat.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/myDoc&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-link-external-rules-2.xml">examples/xml/EX-link-external-rules-2.xml</a>]</p></div><p>The result of processing the two documents above is the same as processing the following document.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-link-external-rules-3" id="EX-link-external-rules-3"></a>Example 18: Document with identical rules as in the case of included rules</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;myDoc&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;header&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//header"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:withinTextRule</strong> <span class="hl-attribute" style="color: #F5844C">withinText</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term | //b"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;author&gt;</strong>Theo Brumble<strong class="hl-tag" style="color: #000096">&lt;/author&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;lastUpdate&gt;</strong>Apr-01-2006<strong class="hl-tag" style="color: #000096">&lt;/lastUpdate&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/header&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>A <strong class="hl-tag" style="color: #000096">&lt;term&gt;</strong>Palouse horse<strong class="hl-tag" style="color: #000096">&lt;/term&gt;</strong> has a spotted coat.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/myDoc&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-link-external-rules-3.xml">examples/xml/EX-link-external-rules-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-link-external-rules-4" id="EX-link-external-rules-4"></a>Example 19: External rules file with the <code class="its-elem-markup">rules</code> element as the root element</div><p>As with <a href="#EX-link-external-rules-1">Example 16</a>, these rules can be applied to <a href="#EX-link-external-rules-2">Example 17</a>. The only difference is that in <a href="#EX-link-external-rules-4">Example 19</a>, the <code class="its-elem-markup">rules</code> element is the root element of the external file.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//header"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:withinTextRule</strong> <span class="hl-attribute" style="color: #F5844C">withinText</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term | //b"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-link-external-rules-4.xml">examples/xml/EX-link-external-rules-4.xml</a>]</p></div><p>Applications processing global ITS markup <a href="#rfc-keywords">MUST</a> recognize the XLink <code class="its-attr-markup">href</code> attribute in the <code class="its-elem-markup">rules</code> element; they <a href="#rfc-keywords">MUST</a> load the corresponding referenced document and process its rules element before processing the content of the <code class="its-elem-markup">rules</code> element where the original XLink <code class="its-attr-markup">href</code> attribute is.</p><p>External rules may also have links to other external rules (see <a href="#EX-link-external-rules-2">Example 17</a>). The linking mechanism is recursive in a depth-first approach, and subsequently after the processing the rules MUST be read top-down (see <a href="#EX-link-external-rules-3">Example 18</a>).</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="selection-precedence" id="selection-precedence"></a>5.5 Precedence between Selections</h3><p>The following precedence order is defined for selections of ITS information in various positions (the first item in the list has the highest precedence):</p><ol class="depth1"><li><p>Selection via explicit (i.e., not inherited) local ITS markup in documents (<a href="#local-attributes">ITS local attributes</a> on a specific element)</p></li><li><p>Global selections in documents (using a <code class="its-elem-markup">rules</code> element)</p><p>Inside each <code class="its-elem-markup">rules</code> element the precedence order is: </p><ol class="depth2"><li><p>Any rule inside the rules element</p></li><li><p>Any rule linked via the XLink <code class="its-attr-markup">href</code> attribute</p></li></ol><p> </p><div class="note"><p class="prefix"><b>Note:</b></p><p>ITS does not define precedence related to rules defined or linked based on non-ITS mechanisms (such as processing instructions for linking rules).</p></div></li><li><p>Selection via inherited values. This applies only to element nodes. The inheritance rules are laid out in a dedicated <a href="#datacategories-overview">data category overview table</a>: see the column "<span class="quote">Inheritance for element nodes</span>". Selection via inheritance takes precedence over default values, see below item.</p></li><li><p>Selections via defaults for data categories, see <a class="section-ref" href="#datacategories-defaults-etc">Section 8.1: Position, Defaults, Inheritance, and Overriding of Data Categories</a></p></li></ol><p>In case of conflicts between global selections via multiple <a href="#selection-global">rules</a> elements or conflicts between multiple <code class="its-elem-markup">param</code> elements with the same name, the last rule or last <code class="its-elem-markup">param</code> element has higher precedence.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The precedence order fulfills the same purpose as the built-in template rules of <a title="XSL Transformations (XSLT)&#xA; Version 1.0" href="#xslt10">[XSLT 1.0]</a>. Override semantics are always complete, that is all information provided via lower precedence is overridden by the higher precedence. E.g. defaults are overridden by inherited values and these are overridden by nodes selected via global rules, which are in turn overridden by local markup.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-selection-precedence-1" id="EX-selection-precedence-1"></a>Example 20: Conflicts between selections of ITS information resolved using the precedence order</div><p>The two elements <code>title</code> and <code>author</code> of this document are intended as separate content when inside a <code>prolog</code> element, but in other contexts as part of the content of their parent element. In order to make this distinction two <code class="its-elem-markup">withinTextRule</code> elements are used:</p><p>The first rule specifies that <code>title</code> and <code>author</code> in general are to be treated as an element within text. This overrides the default.</p><p>The second rule indicates that when <code>title</code> or <code>author</code> are found in a <code>prolog</code> element their content is to be treated separately. This is normally the default, but the rule is needed to override the first rule.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;text&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;prolog&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:withinTextRule</strong> <span class="hl-attribute" style="color: #F5844C">withinText</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//title|//author"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:withinTextRule</strong> <span class="hl-attribute" style="color: #F5844C">withinText</span>=<span class="hl-value" style="color: #993300">"no"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//prolog/title|//prolog/author"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Designing User Interfaces<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;author&gt;</strong>Janice Prakash<strong class="hl-tag" style="color: #000096">&lt;/author&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;keywords&gt;</strong>user interface, ui, software interface<strong class="hl-tag" style="color: #000096">&lt;/keywords&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/prolog&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>The book <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Of Mice and Screens<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> by <strong class="hl-tag" style="color: #000096">&lt;author&gt;</strong>Aldus Brandywine<strong class="hl-tag" style="color: #000096">&lt;/author&gt;</strong> is one of the best introductions to the vast topic of designing user interfaces.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-selection-precedence-1.xml">examples/xml/EX-selection-precedence-1.xml</a>]</p></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="associating-its-with-existing-markup" id="associating-its-with-existing-markup"></a>5.6 Associating ITS Data Categories with Existing Markup</h3><p>Some markup schemes provide markup that can be used to express ITS data categories. ITS data categories can be associated with such existing markup, using the global selection mechanism described in <a class="section-ref" href="#selection-global">Section 5.2.1: Global, Rule-based Selection</a>.</p><p>Associating existing markup with ITS data categories can be done only if the processing expectations of the host markup are the same as, or greater than, those of ITS. For example, the <a title="OASIS&#xA; Darwin Information Typing Architecture (DITA) Language Specification&#xA; v1.0" href="#dita10">[DITA 1.0]</a> format can use its translate attribute to apply to “transcluded” content, going beyond the ITS 2.0 local selection mechanism, but not contradicting it.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-associating-its-with-existing-markup-1" id="EX-associating-its-with-existing-markup-1"></a>Example 21: Association of the ITS data categories <a href="#trans-datacat"> Translate</a> and <a href="#terminology">Terminology</a> with DITA 1.0 markup</div><p>In this example, there is an existing <code>translate</code> attribute in DITA, and it is associated with the ITS semantics using the its:rules section. Similarly, the DITA <code>dt</code> and <code>term</code> elements are associated with the ITS <a href="#terminology">Terminology</a> data category.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;topic</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"myTopic"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>The ITS Topic<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;prolog&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//*[@translate='no']"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//*[@translate='yes']"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term | //dt"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/prolog&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;dl&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;dlentry</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"tDataCat"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;dt&gt;</strong>Data category<strong class="hl-tag" style="color: #000096">&lt;/dt&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;dd&gt;</strong>ITS defines <strong class="hl-tag" style="color: #000096">&lt;term&gt;</strong>data category<strong class="hl-tag" style="color: #000096">&lt;/term&gt;</strong> as an abstract concept for a particular type of information related to internationalization and localization of XML schemas and documents.<strong class="hl-tag" style="color: #000096">&lt;/dd&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/dlentry&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/dl&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>For the implementation of ITS, apply the rules in the order:<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ul&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;li&gt;</strong>Defaults<strong class="hl-tag" style="color: #000096">&lt;/li&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;li&gt;</strong>Rules in external files<strong class="hl-tag" style="color: #000096">&lt;/li&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;li&gt;</strong>Rules in the document<strong class="hl-tag" style="color: #000096">&lt;/li&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;li&gt;</strong>Local attributes<strong class="hl-tag" style="color: #000096">&lt;/li&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/ul&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;ph</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"fr"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Et voilà !<strong class="hl-tag" style="color: #000096">&lt;/ph&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/topic&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-associating-its-with-existing-markup-1.xml">examples/xml/EX-associating-its-with-existing-markup-1.xml</a>]</p></div><p>Global rules can be associated with a given XML document using different means:</p><ul><li><p>By using an <code class="its-elem-markup">rules</code> element in the document itself:</p><ul><li><p>with the rules directly inside the document, as shown in <a href="#EX-associating-its-with-existing-markup-1">Example 21</a></p></li><li><p>with a link to an external rules file using the XLink <code class="its-attr-markup">href</code> attribute, as shown in <a href="#EX-link-external-rules-1">Example 16</a></p></li></ul></li><li><p>By associating the rules and the document through a tool-specific mechanism. For example, in the case of a command-line tool by providing the paths of both the XML document to process and its corresponding external rules file.</p></li></ul></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="its-tool-annotation" id="its-tool-annotation"></a>5.7 ITS Tools Annotation</h3><p>In some cases, it may be important for instances of data categories to be associated with information about the processor that generated them. For example, the score of the <a href="#mtconfidence">MT Confidence</a> data category (provided via the <code class="its-attr-markup">mtConfidence</code> attribute) is meaningful only when the consumer of the information also knows which MT engine produced it, because the score provides the relative confidence of translations from the same MT engine but does not provide a score that can be reliably compared between MT engines. The same is true for confidence provided for the <a href="#textanalysis">Text Analysis</a> data category, providing confidence information via the <code class="its-attr-markup">taConfidence</code> attribute, or the <a href="#terminology">Terminology</a> data category, providing confidence information via the <code class="its-attr-markup">termConfidence</code> attribute.</p><p>ITS 2.0 provides a mechanism to associate such processor information with the use of individual data categories in a document, independently from data category annotations themselves.</p><p>The attribute <code class="its-attr-markup">annotatorsRef</code> provides a way to associate all the annotations of a given data category within the element with information about the processor that generated those data category annotations.</p><div class="note"><p class="prefix"><b>Note:</b></p><ul><li><p id="annotators-ref-usage-scenarios">Three cases of providing tool information can be expected:</p><ol class="depth1"><li><p>information about tools used for creating or modifying the textual content;</p></li><li><p>information about tools that do 1), but also create ITS annotations, see <a class="section-ref" href="#list-of-elements-and-attributes">Appendix I: List of ITS 2.0 Global Elements and Local Attributes</a>; </p></li><li><p>information about tools that don’t modify or create content, but just create ITS annotations.</p></li></ol><p> <code class="its-attr-markup">annotatorsRef</code> is only meant to be used when actual ITS annotation is involved, that is for 2) and 3). To express tool information related only to the creation or modification of textual content and independent of ITS data categories, that is case 1), the tool or <code class="its-attr-markup">toolRef</code> attribute provided by the <a href="#provenance">Provenance</a> data category is to be used.</p></li><li><p>An example of case 2) is an MT engine that modifies content and creates ITS <a href="#mtconfidence">MT Confidence</a> annotations. Here the situation may occur that several tools are involved in creating MT Confidence annotations: the MT engine and the tool inserting the markup. The annotatorsRef attribute is to identify the tool most useful in further processes, in this case the MT engine.</p></li></ul></div><p>The value of <code class="its-attr-markup">annotatorsRef</code> is a space-separated list of references where each reference is composed of two parts: a data category identifier and an IRI. These two parts are separated by a <code>|</code> VERTICAL LINE (U+007C) character:</p><ul><li><p>The data category identifier <a href="#rfc2119">MUST</a> be one of the identifiers specified in the <a href="#datacategories-overview">data category overview table</a>.</p></li><li><p>Within one <code class="its-attr-markup">annotatorsRef</code> value, a data category identifier <a href="#rfc2119">MUST NOT</a> appear more than one time.</p></li><li><p>The IRI indicates information about the processor used to generate the data category annotation. No single means is specified for how this IRI has to be used to indicate processor information. Possible mechanisms are: to encode information directly in the IRI, e.g., as parameters; to reference an external resource that provides such information, e.g. an XML file or an RDF declaration; or to reference another part of the document that provides such information.</p></li></ul><p>In HTML documents, the mechanism is implemented with the <code class="its-attr-markup">its-annotators-ref</code> attribute.</p><p>The attribute applies to the content of the element where it is declared (including its children elements) and to the attributes of that element.</p><p>On any given node, the information provided by this mechanism is a space-separated list of the accumulated references found in the <code class="its-attr-markup">annotatorsRef</code> attributes declared in the enclosing elements and sorted by data category identifiers. For each data category, the IRI part is the one of the inner-most declaration.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-its-tool-annotation-1" id="EX-its-tool-annotation-1"></a>Example 22: Accumulation and Overriding of the <code class="its-attr-markup">annotatorsRef</code> Values</div><p>In this example, the text shows the computed tools reference information for the given node. Note that the references are ordered alphabetically and that the IRI values are always the ones of the inner-most declaration.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;doc</strong> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"mt-confidence|MT1"</span><strong class="hl-tag" style="color: #000096"> &gt;</strong>doc node: "mt-confidence|MT1" <strong class="hl-tag" style="color: #000096">&lt;group</strong> <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"terminology|ABC"</span><strong class="hl-tag" style="color: #000096"> &gt;</strong>group node: "mt-confidence|MT1 terminology|ABC" <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"text-analysis|Tool3"</span><strong class="hl-tag" style="color: #000096"> &gt;</strong>This p node: "text-analysis|Tool3 mt-confidence|MT1 terminology|ABC"<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"mt-confidence|MT123"</span><strong class="hl-tag" style="color: #000096"> &gt;</strong>This p node: "mt-confidence|MT123 terminology|ABC"<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/group&gt;</strong> <em class="hl-comment" style="color: silver">&lt;!-- To make this example usable in real life, we would have annotations of the three data categories - text-analysis, mt-confidence and terminology - in the document --&gt;</em> <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"text-analysis|XYZ"</span><strong class="hl-tag" style="color: #000096"> &gt;</strong>This p node: "text-analysis|XYZ mt-confidence|MT1"<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/doc&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-its-tool-annotation-1.xml">examples/xml/EX-its-tool-annotation-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-its-tool-annotation-2" id="EX-its-tool-annotation-2"></a>Example 23: Example of ITS Tools Annotation</div><p>The <code class="its-attr-markup">annotatorsRef</code> attribute is used in this XML document to indicate that information about the processor that generated the <code class="its-attr-markup">mtConfidence</code> values for the first two <code>p</code> elements are found in element with <code>id="T1"</code> in the external document tools.xml, while that information for the third <code>p</code> element is found in the element with <code>id="T2"</code> in the same document. In addition, <code class="its-attr-markup">annotatorsRef</code> is used to identify a Web resource with information about the QA tool used to generate the <a href="#lqissue">Localization Quality Issue</a> annotation in the document.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;doc</strong> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>= <span class="hl-value" style="color: #993300">"mt-confidence|file:///tools.xml#T1 localization-quality-issue |http://www.qalsp-ex.com/qatools/transcheckv1.3"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">its:mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.78"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Text translated with tool T1<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">its:mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.55"</span> <span class="hl-attribute" style="color: #F5844C">its:locQualityIssueType</span>=<span class="hl-value" style="color: #993300">"typographical"</span> <span class="hl-attribute" style="color: #F5844C">its:locQualityIssueComment</span>=<span class="hl-value" style="color: #993300">"Sentence without capitalization"</span> <span class="hl-attribute" style="color: #F5844C">its:locQualityIssueSeverity</span>=<span class="hl-value" style="color: #993300">"50"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>text also translated with tool T1<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">its:mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.34"</span> <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"mt-confidence|file:///tools.xml#T2"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> Text translated with tool T2<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/doc&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-its-tool-annotation-2.xml">examples/xml/EX-its-tool-annotation-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-its-tool-annotation-html5-1" id="EX-its-tool-annotation-html5-1"></a>Example 24: Example of ITS Tool Annotation</div><p>The <code class="its-attr-markup">its-annotators-ref</code> attributes are used in this HTML document to indicate that the <a href="#mtconfidence">MT Confidence</a> annotation on the first two <code>span</code> elements come from one MT (French to English) engine, while the annotation on the third comes from another (Italian to English) engine. Both <code class="its-attr-markup">its-annotators-ref</code> attributes refer to a Web resource for information about the engine generating the <a href="#mtconfidence">MT Confidence</a> annotation.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Sentences about capital cities machine translated into English with mtConfidence defined locally.<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body</strong> <span class="hl-attribute" style="color: #F5844C">its-annotators-ref</span>=<span class="hl-value" style="color: #993300">"mt-confidence|http://www.exmt-prov.com/2012/11/9/fr-t-en"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-mt-confidence</span>=<span class="hl-value" style="color: #993300">0.8982</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Dublin is the capital of Ireland.<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-mt-confidence</span>=<span class="hl-value" style="color: #993300">0.8536</span><strong class="hl-tag" style="color: #000096">&gt;</strong>The capital of the Czech Republic is Prague.<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-mt-confidence</span>=<span class="hl-value" style="color: #993300">0.7009</span> <span class="hl-attribute" style="color: #F5844C">its-annotators-ref</span>=<span class="hl-value" style="color: #993300">"mt-confidence|http://www.exmt-prov.com/2012/11/9/it-t-en"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> The capital Italia is Roma.<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong> </pre></div><p>[Source file: <a href="examples/html5/EX-its-tool-annotation-html5-1.html">examples/html5/EX-its-tool-annotation-html5-1.html</a>]</p></div></div></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="html5-markup" id="html5-markup"></a>6 Using ITS Markup in HTML</h2><p> <em>This section is normative.</em> </p><div class="note"><p class="prefix"><b>Note:</b></p><p>Please note that the term <code>HTML</code> refers to HTML5 or its successor in HTML syntax <a title="HTML5" href="#html5">[HTML5]</a>.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="html5-local-attributes" id="html5-local-attributes"></a>6.1 Mapping of Local Data Categories to HTML</h3><p>All data categories defined in <a class="section-ref" href="#datacategory-description">Section 8: Description of Data Categories</a> and having local implementation may be used in HTML with the exception of the <a href="#trans-datacat">Translate</a>, <a href="#directionality">Directionality</a> and <a href="#language-information">Language Information</a> data categories.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The above-mentioned data categories are excluded because HTML has native markup for them.</p></div><p>In HTML data categories are implemented as attributes. The name of the HTML attribute is derived from the name of the attribute defined in the local implementation by using the following rules:</p><ol class="depth1"><li><p>The attribute name is prefixed with <code>its-</code></p></li><li><p>Each uppercase letter in the attribute name is replaced by <code>-</code> (U+002D) followed by a lowercase variant of the letter.</p></li></ol><p> </p><p> <a href="#EX-within-text-local-1">Example 48</a> demonstrates the <a href="#elements-within-text">Elements Within Text</a> data category with the local XML attribute <code class="its-attr-markup">withinText</code>. <a href="#EX-within-text-local-html5-1">Example 49</a> demonstrates the counterpart in HTML, i.e., the local attribute <code class="its-attr-markup">its-within-text</code>.</p><p>Values of attributes, which corresponds to data categories with a predefined set of values, <a href="#rfc2119">MUST</a> be matched ASCII-case-insensitively. </p><div class="note"><p class="prefix"><b>Note:</b></p><p>Case of attribute names is also irrelevant given the nature of HTML syntax. So in HTML the <a href="#terminology">terminology data category</a> can be stored as <code class="its-attr-markup">its-term</code>, <code>ITS-TERM</code>, <code>its-Term</code> etc. All of those attributes are treated as equivalent and will be normalized upon DOM construction.</p></div><p>Values of attributes that correspond to data categories that use <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#double">XML Schema double data type</a> <a href="#rfc2119">MUST</a> be also valid floating-point numbers as defined in <a title="HTML5" href="#html5">[HTML5]</a>.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="html5-global-rules" id="html5-global-rules"></a>6.2 Global rules</h3><p>Various aspects for global rules in general, external global rules, or inline global rules need to be taken into account. An example of an HTML5 document using global rules is <a href="#EX-translate-html5-global-1">Example 6</a>. The corresponding rules file is <a href="#EX-translate-html5-global-1-rules-file">Example 7</a>.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>By default XPath 1.0 will be used for selection in global rules. If users prefer an easier selection mechanism, they can switch query language to CSS selectors by using the <code class="its-attr-markup">queryLanguage</code> attribute, see <a class="section-ref" href="#queryLanguage">Section 5.3.1: Choosing Query Language</a>.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>The HTML5 parsing algorithm automatically puts all HTML elements into the XHTML namespace (<code>http://www.w3.org/1999/xhtml</code>). Selectors used in global rules need to take this into account.</p></div><p id="html5-external-global-rules">Linking to external global rules is specified in the <code class="its-attr-markup">href</code> attribute of <code>link</code> elements, with the link relation <code>its-rules</code>.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>Using XPath in global rules linked from HTML documents does not create an additional burden to implementers. Parsing HTML content produces a DOM tree that can be directly queried using XPath, functionality supported by all major browsers.</p></div><p id="html5-inline-global-rules">Inline global rules <a href="#rfc2119">MUST</a> be specified inside a <code>script</code> element that has a <code>type</code> attribute with the value <code>application/its+xml</code>. The <code>script</code> element itself <a href="#rfc2119">SHOULD</a> be a child of the <code>head</code> element. Comments <a href="#rfc2119">MUST NOT</a> be used inside global rules. Each <code>script</code> element <a href="#rfc2119">MUST NOT</a> contain more than one <code class="its-elem-markup">rules</code> element.</p><div class="note"><p class="prefix"><b>Note:</b></p><p id="note-html-rules-location">It is preferred to use external global rules linked using the <code>link</code> element than to have global rules embedded in the document.</p></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="html5-standoff-markup" id="html5-standoff-markup"></a>6.3 Standoff Markup in HTML</h3><p>The constraints for <a href="#provenance-records-in-html5-constraint">Provenance standoff markup in HTML</a> and <a href="#loc-quality-issues-in-html5-constraint">Localization quality issues markup in HTML</a> <a href="#rfc2119">MUST</a> be followed.</p></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="html5-selection-precedence" id="html5-selection-precedence"></a>6.4 Precedence between Selections</h3><p>The following precedence order is defined for selections of ITS information in various positions of HTML document (the first item in the list has the highest precedence):</p><ol class="depth1"><li><p>Implicit local selection in documents (<a href="#html5-local-attributes">ITS local attributes</a> on a specific element)</p></li><li><p>Global selections in documents (using the mechanism of <a href="#html5-external-global-rules">external global rules</a> or <a href="#html5-inline-global-rules">inline global rules</a>), to be processed in a document order, see <a class="section-ref" href="#selection-global">Section 5.2.1: Global, Rule-based Selection</a> for details.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>ITS does not define precedence related to rules defined or linked based on non-ITS mechanisms (such as processing instructions for linking rules). Selection via inheritance takes precedence over default values (see below).</p></div></li><li><p>Selection via inherited values. This applies only to element nodes. The inheritance rules are laid out in a dedicated <a href="#datacategories-overview">data category overview table</a> (see the column "<span class="quote">Inheritance for element nodes). Selection via inheritance takes precedence over default values (see below).</span>"</p></li><li><p>Selections via defaults for data categories, see <a class="section-ref" href="#datacategories-defaults-etc">Section 8.1: Position, Defaults, Inheritance, and Overriding of Data Categories</a>.</p></li></ol><p>In case of conflicts between global selections via multiple <a href="#selection-global">rules</a> elements or conflicts between multiple <code class="its-elem-markup">param</code> elements with the same name, the last rule or last <code class="its-elem-markup">param</code> element has higher precedence.</p><p> <a href="#EX-translate-html5-global-1">Example 6</a>, previously discussed, demonstrates the precedence: the <code>code</code> element with the <code class="its-attr-markup">translate</code> attribute set to yes has precedence over the global rule setting all <code>code</code> elements as untranslatable.</p></div></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="xhtml5-markup" id="xhtml5-markup"></a>7 Using ITS Markup in XHTML</h2><p> <em>This section is normative.</em> </p><p>XHTML documents aimed at public consumption by Web browsers, including HTML5 documents in XHTML syntax, <a href="#rfc2119">SHOULD</a> use the syntax described in <a class="section-ref" href="#html5-markup">Section 6: Using ITS Markup in HTML</a> in order to adhere to <a href="https://www.w3.org/TR/html-design-principles/#dom-consistency">DOM Consistency HTML Design Principle</a>.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-xhtml-markup-1" id="EX-xhtml-markup-1"></a>Example 25: Using ITS 2.0 markup in XHTML</div><p>This example illustrates the use of ITS 2.0 local markup in XHTML.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xhtml"</span> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"en"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>XHTML and ITS2.0<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;h1&gt;</strong>XHTML and ITS2.0<strong class="hl-tag" style="color: #000096">&lt;/h1&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>Don't use <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-loc-note</span>=<span class="hl-value" style="color: #993300">"Internationalization Tag Set"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>ITS<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> prefixed attributes inside the content, like its:locNote.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong> </pre></div><p>[Source file: <a href="examples/html5/EX-xhtml-markup-1.html">examples/html5/EX-xhtml-markup-1.html</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>Please note that this section defines how to use ITS in XHTML content that is directly served to Web browsers. Such XHTML is very often sent with an incorrect media type and parsed as HTML rather than XML in Web browsers. In such case it is more robust and safer to use HTML-like syntax for ITS metadata.</p><p>However when XHTML is not used as a delivery but rather as an exchange or storage format all XML features can be used in XHTML and it is advised to use XML syntax for ITS metadata.</p></div></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="datacategory-description" id="datacategory-description"></a>8 Description of Data Categories</h2><p> <em>This section is normative.</em> </p><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="datacategories-defaults-etc" id="datacategories-defaults-etc"></a>8.1 Position, Defaults, Inheritance, and Overriding of Data Categories</h3><p>The following table summarizes for each data category which selection, default value, and inheritance and overriding behavior apply. It also provides data category identifiers used in <a class="section-ref" href="#its-tool-annotation">Section 5.7: ITS Tools Annotation</a>:</p><ul><li><p id="def-default-values"> <em>Default values</em> apply if both local and global selection are absent. The default value for the <a href="#trans-datacat">Translate</a> data category, for example, mandates that elements are translatable, and attributes are not translatable if there is no <code class="its-elem-markup">translateRule</code> element and no <code class="its-attr-markup">translate</code> attribute available.</p></li><li><p id="def-inheritance"> <em>Inheritance</em> describes whether ITS information is applicable to child elements of nodes and attributes related to these nodes or their child notes. The inheritance for the <a href="#trans-datacat">Translate</a> data category, for example, mandates that all child elements of nodes are translatable whereas all attributes related to these nodes or their child notes are not translatable.</p></li><li><p id="def-overriding">For ITS data categories with inheritance, the information conveyed by the data category can be overridden. For example, a local <code class="its-attr-markup">translate</code> attribute overrides the <a href="#trans-datacat">Translate</a> information conveyed by a global <code class="its-elem-markup">translateRule</code>.</p></li></ul><p>Foreign elements can be used only inside <code class="its-elem-markup">rules</code>. Foreign attributes can be used on any element defined in ITS.</p><div class="note"><p class="prefix"><b>Note:</b></p><p id="its-information_versus_content">An ITS application is free to decide what pieces of content it uses. For example:</p><ul><li><p><a href="#terminology">Terminology</a> information is added to a <code>term</code> element. The information pertains only to the content of the element, since there is no inheritance for <a href="#terminology">Terminology</a>. Nevertheless an ITS application can make use of the complete element, e.g., including attribute nodes etc. </p></li><li><p>Using <a href="#idvalue">ID Value</a>, a unique identifier is provided for a <code>p</code> element. An application can make use of the complete <code>p</code> element, including child nodes and attributes nodes. The application is also free to make use just of the string value of <code>p</code>. Nevertheless the id provided via <a href="#idvalue">ID Value</a> pertains only to the <code>p</code> element. It cannot be used to identify nested elements or attributes.</p></li><li><p>Using <a href="#target-pointer">target pointer</a>, selected <code>source</code> elements have the ITS information that their translation is available in a <code>target</code> element; see <a href="#EX-target-pointer-global-1">Example 65</a>. This information does not inherit to child elements of <code>target pointer</code>. E.g., the translation of a <code>span</code> element nested in <code>source</code> is not available in a specific <code>target</code> element. Nevertheless, an application is free to use the complete content of <code>source</code>, including <code>span</code>, and, e.g., present it to a translator.</p></li></ul></div><a name="datacategories-overview" id="datacategories-overview"></a><table border="1" width="100%"><thead><tr><td>Data category (<code>identifier</code>)</td><td>Local Usage</td><td>Global, rule-based selection</td><td>Global adding of information</td><td>Global pointing to existing information</td><td>Default Values</td><td>Inheritance for elements nodes</td><td>Examples</td></tr></thead><tbody><tr><td> <a href="#trans-datacat">Translate</a> (<code>translate</code>) </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td>For XML: <code>translate="yes"</code> for elements, and <code>translate="no"</code> for attributes.<br/>For <a title="HTML5" href="#html5">[HTML5]</a>: see <a href="#html5-translate-handling">HTLM5 Translate Handling</a>.</td><td>For XML: Textual content of element, <em>including</em> content of child elements, but <em>excluding</em> attributes.<br/>For <a title="HTML5" href="#html5">[HTML5]</a>: see <a href="#html5-translate-handling">HTLM5 Translate Handling</a>.</td><td> <a href="#EX-translate-selector-2">local</a>, <a href="#EX-translate-selector-1">global</a> </td></tr><tr><td> <a href="#locNote-datacat">Localization Note</a> (<code>localization-note</code>) </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> content of child elements, but <em>excluding</em> attributes</td><td> <a href="#EX-locNote-selector-2">local</a>, <a href="#EX-locNote-element-1">global</a> </td></tr><tr><td> <a href="#terminology">Terminology</a> (<code>terminology</code>) </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td> <code>term="no"</code> </td><td>None</td><td> <a href="#EX-terms-selector-4">local</a>, <a href="#EX-terms-selector-1">global</a> </td></tr><tr><td> <a href="#directionality">Directionality</a> (<code>directionality</code>) </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td> <code>dir="ltr"</code> </td><td>Textual content of element, <em>including</em> attributes and child elements</td><td> <a href="#EX-dir-selector-3">local</a>, <a href="#EX-dir-selector-2">global</a> </td></tr><tr><td> <a href="#language-information">Language Information</a> (<code>language-information</code>) </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> attributes and child elements</td><td> <a href="#EX-lang-definition-1">global</a> </td></tr><tr><td> <a href="#elements-within-text">Elements Within Text</a> (<code>elements-within-text</code>) </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td>For XML content: <code>withinText="no"</code>. <br/>For <a title="HTML5" href="#html5">[HTML5]</a>: see <a href="#html5-withintext-handling">HTLM5 Element Within Text Handling</a>.</td><td>None</td><td> <a href="#EX-within-text-local-1">local</a>, <a href="#EX-within-text-implementation-1">global</a> </td></tr><tr><td> <a href="#domain">Domain</a> (<code>domain</code>) </td><td>No</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> attributes and child elements</td><td> <a href="#EX-domain-1">global</a> </td></tr><tr><td> <a href="#textanalysis">Text Analysis</a> (<code>text-analysis</code>) </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>None</td><td> <a href="#EX-text-analysis-html5-local-1">local</a>, <a href="#EX-text-analysis-html5-rdfa-companion-document">global</a> </td></tr><tr><td> <a href="#LocaleFilter">Locale Filter</a> (<code>locale-filter</code>) </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td> <code>localeFilterList="*"</code>, <code>localeFilterType="include"</code> </td><td>Textual content of element, <em>including</em> attributes and child elements</td><td> <a href="#EX-locale-filter-attribute-1">local</a>, <a href="#EX-locale-filter-selector-1">global</a> </td></tr><tr><td> <a href="#provenance">Provenance</a> (<code>provenance</code>) </td><td>Yes</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> child elements and attributes</td><td> <a href="#EX-provenance-local-1">local</a>, <a href="#EX-provenance-global-1">global</a> </td></tr><tr><td> <a href="#externalresource">External Resource</a> (<code>external-resource</code>) </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td> <a href="#EX-externalresource-1">global</a> </td></tr><tr><td> <a href="#target-pointer">Target Pointer</a> (<code>target-pointer</code>) </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td> <a href="#EX-target-pointer-global-1">global</a> </td></tr><tr><td> <a href="#idvalue">ID Value</a> (<code>id-value</code>) </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td> <a href="#EX-idvalue-element-1">global</a> </td></tr><tr><td> <a href="#preservespace">Preserve Space</a> (<code>preserve-space</code>) </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td> <code>default</code> </td><td>Textual content of element, <em>including</em> attributes and child elements</td><td> <a href="#EX-preservespace-local-1">local</a>, <a href="#EX-preservespace-global-1">global</a> </td></tr><tr><td> <a href="#lqissue">Localization Quality Issue</a> (<code>localization-quality-issue</code>) </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> child elements, but excluding attributes</td><td> <a href="#EX-locQualityIssue-local-1">local</a>, <a href="#EX-locQualityIssue-global-2">global</a> </td></tr><tr><td> <a href="#lqrating">Localization Quality Rating</a> (<code>localization-quality-rating</code>) </td><td>Yes</td><td>No</td><td>No</td><td>No</td><td>None</td><td>Textual content of element, <em>including</em> child elements, but excluding attributes</td><td> <a href="#EX-locQualityRating-local-1">local</a> </td></tr><tr><td> <a href="#mtconfidence">MT Confidence</a> (<code>mt-confidence</code>) </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td>None</td><td>Textual content of element, <em>including</em> child elements, but excluding attributes</td><td> <a href="#EX-mtConfidence-html5-local-1">local</a>, <a href="#EX-mtconfidence-global-html5-1-external-rules">global</a> </td></tr><tr><td> <a href="#allowedchars">Allowed Characters</a> (<code>allowed-characters</code>) </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> child elements, but excluding attributes</td><td> <a href="#EX-allowedCharacters-local-1">local</a>, <a href="#EX-allowedCharacters-global-1">global</a> </td></tr><tr><td> <a href="#storagesize">Storage Size</a> (<code>storage-size</code>) </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>None</td><td> <a href="#EX-storageSize-local-1">local</a>, <a href="#EX-storageSize-global-1">global</a> </td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="EX-datacat-behavior-1" id="EX-datacat-behavior-1"></a>Example 26: Defaults, inheritance and overriding behavior of data categories</div><p>In this example, the content of all the <code>data</code> elements is translatable and none of the attributes are translatable, because the default for the <a href="#trans-datacat">Translate</a> data category in elements is "yes" and in attributes is "no", and neither of their values are overridden at all. The first <code class="its-elem-markup">translateRule</code> is overridden by the local <code>its:translate="no"</code> attribute. The content of <code>revision</code>, <code>profile</code>, <code>reviser</code> and <code>locNote</code> elements are not translatable. This is because the default is overridden by the same <code>its:translate="no"</code> that these elements inherit from the local ITS markup in the <code>prolog</code> element. The exception is the <code>field</code> element where the second <code class="its-elem-markup">translateRule</code> takes precedence over the inherited value. The last <code class="its-elem-markup">translateRule</code> indicates that the content of <code>type</code> is not translatable because the global rule takes precedence over the default value.</p><p>The localization note for the two first <code>data</code> elements is the text defined globally with the <code class="its-elem-markup">locNoteRule</code> element. This note is overridden for the last <code>data</code> element by the local <code class="its-attr-markup">locNote</code> attribute.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;Res</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;prolog</strong> <span class="hl-attribute" style="color: #F5844C">its:translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;revision&gt;</strong>Sep-07-2006<strong class="hl-tag" style="color: #000096">&lt;/revision&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;profile&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;reviser&gt;</strong>John Doe<strong class="hl-tag" style="color: #000096">&lt;/reviser&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;field&gt;</strong>Computing Engineering<strong class="hl-tag" style="color: #000096">&lt;/field&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/profile&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//prolog"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/Res/prolog/profile/field"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//msg/type"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locNoteRule</strong> <span class="hl-attribute" style="color: #F5844C">locNoteType</span>=<span class="hl-value" style="color: #993300">"description"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//msg/data"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locNote&gt;</strong>The variable {0} is the name of the host.<strong class="hl-tag" style="color: #000096">&lt;/its:locNote&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:locNoteRule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/prolog&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"HostNotFound"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;type&gt;</strong>Error<strong class="hl-tag" style="color: #000096">&lt;/type&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data&gt;</strong>Host {0} cannot be found.<strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"HostDisconnected"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;type&gt;</strong>Error<strong class="hl-tag" style="color: #000096">&lt;/type&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data&gt;</strong>The connection with {0} has been lost.<strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"FileNotFound"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;type&gt;</strong>Error<strong class="hl-tag" style="color: #000096">&lt;/type&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">its:locNote</span>=<span class="hl-value" style="color: #993300">"{0} is a filename"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>{0} not found.<strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/Res&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-datacat-behavior-1.xml">examples/xml/EX-datacat-behavior-1.xml</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>The data categories differ with respect to defaults. This difference is due to existing standards and practices. It is common practice for example that information about translation refers only to textual content of an element. Thus, the default selection for the <a href="#trans-datacat">Translate</a> data category is the textual content.</p></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="trans-datacat" id="trans-datacat"></a>8.2 Translate</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="translatability-definition" id="translatability-definition"></a>8.2.1 Definition</h4><p>The <a href="#trans-datacat">Translate</a> data category expresses information about whether the content of an element or attribute is intended for translation or not. The values of this data category are "yes" (translatable) or "no" (not translatable).</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="translatability-implementation" id="translatability-implementation"></a>8.2.2 Implementation</h4><p>The <a href="#trans-datacat">Translate</a> data category can be expressed with global rules, or locally on an individual element. Handling of inheritance and interaction between elements and attributes is different for XML content versus <a title="HTML5" href="#html5">[HTML5]</a> content.</p><p>For XML: for elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, <em>including</em> child elements, but <em>excluding</em> attributes. The default is that elements are translatable and attributes are not.</p><p id="html5-translate-handling">For HTML: The interpretation of the <code class="its-attr-markup">translate</code> attribute is given in <a href="https://www.w3.org/TR/2013/CR-html5-20130806/dom.html#the-translate-attribute">HTML5</a>. Nodes in an HTML document selected via a <a href="#translate-global">global rule</a> are also interpreted following <a href="https://www.w3.org/TR/2013/CR-html5-20130806/dom.html#the-translate-attribute">HTML5</a>.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>As of writing, the default in <a title="HTML5" href="#html5">[HTML5]</a> is that elements are translatable, and that translatable attributes inherit from the respective elements. There is a pre-defined list of translatable attributes, for example <code>alt</code> or <code>title</code>.</p><p>Since the <a title="HTML5" href="#html5">[HTML5]</a> definition also applies to nodes selected via global rules, a <code class="its-elem-markup">translateRule</code> like <code>&lt;its:translateRule selector=""//h:img" translate="yes"/&gt;</code> will set the <code>img</code> element and its translatable attributes like <code>alt</code> to "yes".</p></div><p id="translate-global">GLOBAL: The <code class="its-elem-markup">translateRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A required <code class="its-attr-markup">translate</code> attribute with the value "yes" or "no".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-selector-1" id="EX-translate-selector-1"></a>Example 27: The <a href="#trans-datacat">Translate</a> data category expressed globally</div><p>The <code class="its-elem-markup">translateRule</code> element specifies that the elements <code>code</code> is not to be translated.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//code"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-translate-selector-1.xml">examples/xml/EX-translate-selector-1.xml</a>]</p></div><p id="translate-local">LOCAL: The following local markup is available for the <a href="#trans-datacat">Translate</a> data category:</p><ul><li><p>A <code class="its-attr-markup">translate</code> attribute with the value "yes" or "no".</p></li></ul><p>In <a title="HTML5" href="#html5">[HTML5]</a> the native <a title="HTML5" href="#html5">[HTML5]</a> <code>translate</code> attribute <a href="#rfc2119">MUST</a> be used to express the <a href="#trans-datacat">Translate</a> data category.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>For XML content, it is not possible to override the <a href="#trans-datacat">Translate</a> data category settings of attributes using local markup. This limitation is consistent with the advised practice of not using translatable attributes. If attributes need to be translatable, then this has to be declared globally. Note that this restriction does not apply to <a href="#html5-translate-handling">HTML5</a>.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-selector-2" id="EX-translate-selector-2"></a>Example 28: The <a href="#trans-datacat">Translate</a> data category expressed locally</div><p>The local <code>its:translate="no"</code> specifies that the content of <code>panelmsg</code> is not to be translated.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;messages</strong> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">num</span>=<span class="hl-value" style="color: #993300">"123"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Click Resume Button on Status Display or <strong class="hl-tag" style="color: #000096">&lt;panelmsg</strong> <span class="hl-attribute" style="color: #F5844C">its:translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096"> &gt;</strong>CONTINUE<strong class="hl-tag" style="color: #000096">&lt;/panelmsg&gt;</strong> Button on printer panel<strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/messages&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-translate-selector-2.xml">examples/xml/EX-translate-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-html5" id="EX-translate-html5"></a>Example 29: The <a href="#trans-datacat">Translate</a> data category expressed locally in HTML</div><p>The local <code>translate="no"</code> attribute specifies that the content of <code>span</code> is not to be translated.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Translate flag test: Default<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>The <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">no</span><strong class="hl-tag" style="color: #000096">&gt;</strong>World Wide Web Consortium<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> is making the World Wide Web worldwide!<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong> </pre></div><p>[Source file: <a href="examples/html5/EX-translate-html5-local-1.html">examples/html5/EX-translate-html5-local-1.html</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="locNote-datacat" id="locNote-datacat"></a>8.3 Localization Note</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="locNote-definition" id="locNote-definition"></a>8.3.1 Definition</h4><p>The <a href="#locNote-datacat">Localization Note</a> data category is used to communicate notes to localizers about a particular item of content.</p><p>This data category can be used for several purposes, including, but not limited to:</p><ul><li><p>Tell the translator how to translate parts of the content</p></li><li><p>Expand on the meaning or contextual usage of a specific element, such as what a variable refers to or how a string will be used in the user interface</p></li><li><p>Clarify ambiguity and show relationships between items sufficiently to allow correct translation (e.g., in many languages it is impossible to translate the word"<span class="quote">enabled</span>" in isolation without knowing the gender, number, and case of the thing it refers to.)</p></li><li><p>Indicate why a piece of text is emphasized (important, sarcastic, etc.)</p></li></ul><p>Two types of informative notes are needed:</p><ul><li><p>An alert contains information that the translator has to read before translating a piece of text. Example: an instruction to the translator to leave parts of the text in the source language.</p></li><li><p>A description provides useful background information that the translator will refer to only if they wish. Example: a clarification of ambiguity in the source text.</p></li></ul><p>Editing tools may offer an easy way to create this type of information. Translation tools can be made to recognize the difference between these two types of localization notes, and present the information to translators in different ways.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="locNote-implementation" id="locNote-implementation"></a>8.3.2 Implementation</h4><p>The <a href="#locNote-datacat">Localization Note</a> data category can be expressed with global rules, or locally on an individual element. For elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, <em>including</em> child elements, but <em>excluding</em> attributes.</p><p id="localizationnote-global">GLOBAL: The <code class="its-elem-markup">locNoteRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A required <code class="its-attr-markup">locNoteType</code> attribute with the value "description" or "alert".</p></li><li><p>Exactly one of the following:</p><ul><li><p>A <code class="its-elem-markup">locNote</code> element that contains the note itself and allows for <a href="#selection-local">local ITS markup</a>.</p></li><li><p>A <code class="its-attr-markup">locNotePointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node that holds the localization note.</p></li><li><p>A <code class="its-attr-markup">locNoteRef</code> attribute that contains an IRI referring to the location of the localization note.</p></li><li><p>A <code class="its-attr-markup">locNoteRefPointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node that holds the IRI referring to the location of the localization note.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locNote-element-1" id="EX-locNote-element-1"></a>Example 30: The <code class="its-elem-markup">locNote</code> element</div><p>The <code class="its-elem-markup">locNoteRule</code> element associates the content of the <code class="its-elem-markup">locNote</code> element with the message with the identifier 'DisableInfo' and flags it as important. This would also work if the rule is in an external file, allowing it to provide notes without modifying the source document.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;myRes&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">its:translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locNoteRule</strong> <span class="hl-attribute" style="color: #F5844C">locNoteType</span>=<span class="hl-value" style="color: #993300">"alert"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//msg[@id='DisableInfo']"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locNote&gt;</strong>The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'.<strong class="hl-tag" style="color: #000096">&lt;/its:locNote&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:locNoteRule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"DisableInfo"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>The {0} has been disabled.<strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/myRes&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-locNote-element-1.xml">examples/xml/EX-locNote-element-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locNotePointer-attribute-1" id="EX-locNotePointer-attribute-1"></a>Example 31: The <code class="its-attr-markup">locNotePointer</code> attribute</div><p>The <code class="its-attr-markup">locNotePointer</code> attribute is a <a href="#selectors">relative selector</a> pointing to a node that holds the note.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;Res&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;prolog&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//msg/notes"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locNoteRule</strong> <span class="hl-attribute" style="color: #F5844C">locNoteType</span>=<span class="hl-value" style="color: #993300">"description"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//msg/data"</span> <span class="hl-attribute" style="color: #F5844C">locNotePointer</span>=<span class="hl-value" style="color: #993300">"../notes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/prolog&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"FileNotFound"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;notes&gt;</strong>Indicates that the resource file {0} could not be loaded.<strong class="hl-tag" style="color: #000096">&lt;/notes&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data&gt;</strong>Cannot find the file {0}.<strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"DivByZero"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;notes&gt;</strong>A division by 0 was going to be computed.<strong class="hl-tag" style="color: #000096">&lt;/notes&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data&gt;</strong>Invalid parameter.<strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/Res&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-locNotePointer-attribute-1.xml">examples/xml/EX-locNotePointer-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locNoteRef-attribute-1" id="EX-locNoteRef-attribute-1"></a>Example 32: The <code class="its-attr-markup">locNoteRef</code> attribute</div><p>The <code class="its-elem-markup">locNoteRule</code> element specifies that the message with the identifier 'NotFound' has a corresponding explanation note in an external file. The IRI for the exact location of the note is stored in the <code class="its-attr-markup">locNoteRef</code> attribute.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;myRes&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locNoteRule</strong> <span class="hl-attribute" style="color: #F5844C">locNoteType</span>=<span class="hl-value" style="color: #993300">"description"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//msg[@id='NotFound']"</span> <span class="hl-attribute" style="color: #F5844C">locNoteRef</span>=<span class="hl-value" style="color: #993300">"ErrorsInfo.html#NotFound"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"NotFound"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Cannot find {0} on {1}.<strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/myRes&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-locNoteRef-attribute-1.xml">examples/xml/EX-locNoteRef-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locNoteRefPointer-attribute-1" id="EX-locNoteRefPointer-attribute-1"></a>Example 33: The <code class="its-attr-markup">locNoteRefPointer</code> attribute</div><p>The <code class="its-attr-markup">locNoteRefPointer</code> attribute contains a <a href="#selectors">relative selector</a> pointing to a node that holds the IRI referring to the location of the note.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;dataFile&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;prolog&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locNoteRule</strong> <span class="hl-attribute" style="color: #F5844C">locNoteType</span>=<span class="hl-value" style="color: #993300">"description"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//data"</span> <span class="hl-attribute" style="color: #F5844C">locNoteRefPointer</span>=<span class="hl-value" style="color: #993300">"../@noteFile"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/prolog&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"FileNotFound"</span> <span class="hl-attribute" style="color: #F5844C">noteFile</span>=<span class="hl-value" style="color: #993300">"Comments.html#FileNotFound"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data&gt;</strong>Cannot find the file {0}.<strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;string</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"DivByZero"</span> <span class="hl-attribute" style="color: #F5844C">noteFile</span>=<span class="hl-value" style="color: #993300">"Comments.html#DivByZero"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data&gt;</strong>Invalid parameter.<strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/string&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/dataFile&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-locNoteRefPointer-attribute-1.xml">examples/xml/EX-locNoteRefPointer-attribute-1.xml</a>]</p></div><p id="localizationnote-local">LOCAL: The following local markup is available for the <a href="#locNote-datacat">Localization Note</a> data category:</p><ul><li><p>Exactly one of the following:</p><ul><li><p>A <code class="its-attr-markup">locNote</code> attribute that contains the note itself.</p></li><li><p>A <code class="its-attr-markup">locNoteRef</code> attribute that contains an IRI referring to the location of the localization note.</p></li></ul></li><li><p>An optional <code class="its-attr-markup">locNoteType</code> attribute with the value "description" or "alert". If the <code class="its-attr-markup">locNoteType</code> attribute is not present, the type of localization note will be assumed to be "description".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locNote-selector-2" id="EX-locNote-selector-2"></a>Example 34: The <a href="#locNote-datacat">Localization Note</a> data category expressed locally</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;msgList</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">xml:space</span>=<span class="hl-value" style="color: #993300">"preserve"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"LISTFILTERS_VARIANT"</span> <span class="hl-attribute" style="color: #F5844C">its:locNote</span>=<span class="hl-value" style="color: #993300">"Keep the leading space!"</span> <span class="hl-attribute" style="color: #F5844C">its:locNoteType</span>=<span class="hl-value" style="color: #993300">"alert"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong> Variant {0} = {1} ({2})<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">its:locNote</span>=<span class="hl-value" style="color: #993300">"%1\$s is the original text's date in the format YYYY-MM-DD HH:MM always in GMT"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>Translated from English content dated <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"version-info"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>%1\$s<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> GMT.<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/msgList&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-locNote-selector-2.xml">examples/xml/EX-locNote-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locNote-html5" id="EX-locNote-html5"></a>Example 35: The <a href="#locNote-datacat">Localization Note</a> data category expressed locally in HTML</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>LocNote test: Default<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>This is a <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-loc-note</span>=<span class="hl-value" style="color: #993300">"Check with terminology engineer"</span> <span class="hl-attribute" style="color: #F5844C">its-loc-note-type</span>=<span class="hl-value" style="color: #993300">alert</span><strong class="hl-tag" style="color: #000096">&gt;</strong> motherboard<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-locNote-html5-local-1.html">examples/html5/EX-locNote-html5-local-1.html</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>It is generally recommended to avoid using attributes to store text, however, in this specific case, the need to provide the notes without interfering with the structure of the host document is outweighing the drawbacks of using an attribute.</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="terminology" id="terminology"></a>8.4 Terminology</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="terminology-definition" id="terminology-definition"></a>8.4.1 Definition</h4><p>The <a href="#terminology">Terminology</a> data category is used to mark terms and optionally associate them with information, such as definitions. This helps to increase consistency across different parts of the documentation. It is also helpful for translation.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>Existing terminology standards such as <a title="TermBase eXchange (TBX)" href="#iso30042">[ISO 30042]</a> and its derived formats are about coding terminology data, while the ITS <a href="#terminology">Terminology</a> data category simply allows to identify terms in XML documents and optionally to point to corresponding information.</p></div></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="terminology-implementation" id="terminology-implementation"></a>8.4.2 Implementation</h4><p>The <a href="#terminology">Terminology</a> data category can be expressed with global rules, or locally on an individual element. There is no inheritance. The default is that neither elements nor attributes are terms.</p><p id="terminology-global">GLOBAL: The <code class="its-elem-markup">termRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A required <code class="its-attr-markup">term</code> attribute with the value "yes" or "no".</p></li><li><p>Zero or one of the following:</p><ul><li><p>A <code class="its-attr-markup">termInfoPointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node that holds the terminology information.</p></li><li><p>A <code class="its-attr-markup">termInfoRef</code> attribute that contains an IRI referring to the resource providing information about the term.</p></li><li><p>A <code class="its-attr-markup">termInfoRefPointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node that holds the IRI referring to the location of the terminology information.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-terms-selector-1" id="EX-terms-selector-1"></a>Example 36: Usage of the <code class="its-attr-markup">termInfoPointer</code> attribute</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;text&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">termInfoPointer</span>=<span class="hl-value" style="color: #993300">"id(@def)"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>We may define <strong class="hl-tag" style="color: #000096">&lt;term</strong> <span class="hl-attribute" style="color: #F5844C">def</span>=<span class="hl-value" style="color: #993300">"TDPV"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>discoursal point of view<strong class="hl-tag" style="color: #000096">&lt;/term&gt;</strong> as <strong class="hl-tag" style="color: #000096">&lt;gloss</strong> <span class="hl-attribute" style="color: #F5844C">xml:id</span>=<span class="hl-value" style="color: #993300">"TDPV"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>the relationship, expressed through discourse structure, between the implied author or some other addresser, and the fiction.<strong class="hl-tag" style="color: #000096">&lt;/gloss&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-1.xml">examples/xml/EX-terms-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-terms-selector-2" id="EX-terms-selector-2"></a>Example 37: Usage of the <code class="its-attr-markup">termInfoRef</code> attribute</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;text&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term[1]"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">termInfoRef</span>=<span class="hl-value" style="color: #993300">"#TDPV"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>We may define <strong class="hl-tag" style="color: #000096">&lt;term&gt;</strong>discoursal point of view<strong class="hl-tag" style="color: #000096">&lt;/term&gt;</strong> as <strong class="hl-tag" style="color: #000096">&lt;gloss</strong> <span class="hl-attribute" style="color: #F5844C">xml:id</span>=<span class="hl-value" style="color: #993300">"TDPV"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>the relationship, expressed through discourse structure, between the implied author or some other addresser, and the fiction.<strong class="hl-tag" style="color: #000096">&lt;/gloss&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-2.xml">examples/xml/EX-terms-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-terms-selector-3" id="EX-terms-selector-3"></a>Example 38: Usage of the <code class="its-attr-markup">termInfoRefPointer</code> attribute</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;text&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">termInfoRefPointer</span>=<span class="hl-value" style="color: #993300">"@target"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>We may define <strong class="hl-tag" style="color: #000096">&lt;term</strong> <span class="hl-attribute" style="color: #F5844C">target</span>=<span class="hl-value" style="color: #993300">"#TDPV"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>discoursal point of view<strong class="hl-tag" style="color: #000096">&lt;/term&gt;</strong> as <strong class="hl-tag" style="color: #000096">&lt;gloss</strong> <span class="hl-attribute" style="color: #F5844C">xml:id</span>=<span class="hl-value" style="color: #993300">"TDPV"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>the relationship, expressed through discourse structure, between the implied author or some other addresser, and the fiction.<strong class="hl-tag" style="color: #000096">&lt;/gloss&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-3.xml">examples/xml/EX-terms-selector-3.xml</a>]</p></div><p id="terminology-local">LOCAL: The following local markup is available for the <a href="#terminology">Terminology</a> data category:</p><ul><li><p>A <code class="its-attr-markup">term</code> attribute with the value "yes" or "no".</p></li><li><p>An optional <code class="its-attr-markup">termInfoRef</code> attribute that contains an IRI referring to the resource providing information about the term.</p></li><li><p id="terminology-termConfidence">An optional <code class="its-attr-markup">termConfidence</code> attribute with the value of a rational number in the interval 0 to 1 (inclusive). The value follows the <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#double">XML Schema double data type</a> with the constraining facets <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive">minInclusive</a> set to 0 and <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive">maxInclusive</a> set to 1. <code class="its-attr-markup">termConfidence</code> represents the confidence of the agents producing the annotation that the annotated unit is a term or not. 1 represents the highest level of confidence. <code class="its-attr-markup">termConfidence</code> does not provide confidence information related to <code class="its-attr-markup">termInfoRef</code>.</p></li></ul><p>Any node selected by the terminology data category with the <code class="its-attr-markup">termConfidence</code> attribute specified <a href="#rfc2119">MUST</a> be contained in an element with the <code class="its-attr-markup">annotatorsRef</code> (or in HTML <code class="its-attr-markup">its-annotators-ref</code>) attribute specified for the <a href="#terminology">Terminology</a> data category. See <a class="section-ref" href="#its-tool-annotation">Section 5.7: ITS Tools Annotation</a> for more information.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-terms-selector-4" id="EX-terms-selector-4"></a>Example 39: The <a href="#terminology">Terminology</a> data category expressed locally, including term information reference and confidence score.</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;book</strong> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"terminology|http://example.com/term-tool"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong>...<strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> ... <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>And he said: you need a new <strong class="hl-tag" style="color: #000096">&lt;quote</strong> <span class="hl-attribute" style="color: #F5844C">its:term</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">its:termInfoRef</span>=<span class="hl-value" style="color: #993300">"http://www.directron.com/motherboards1.html"</span> <span class="hl-attribute" style="color: #F5844C">its:termConfidence</span>=<span class="hl-value" style="color: #993300">"0.5"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>motherboard<strong class="hl-tag" style="color: #000096">&lt;/quote&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> ... <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/book&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-4.xml">examples/xml/EX-terms-selector-4.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-term-local-html-1" id="EX-term-local-html-1"></a>Example 40: The <a href="#terminology">Terminology</a> data category expressed locally in HTML</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Terminology test: default<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>We need a new <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-term</span>=<span class="hl-value" style="color: #993300">yes</span><strong class="hl-tag" style="color: #000096">&gt;</strong>motherboard<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-term-html5-local-1.html">examples/html5/EX-term-html5-local-1.html</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="directionality" id="directionality"></a>8.5 Directionality</h3><div class="note"><p class="prefix"><b>Note:</b></p><p id="directionality-status-explanation">At the time of writing, enhancements are being discussed in the context of HTML5 that are expected to change the approach to marking up <a href="#directionality">Directionality</a>, in particular to support content where directionality needs to be isolated from that of surrounding content. However, these enhancements are not finalized yet. This section therefore reflects directionality markup in <a title="HTML 4.01" href="#html4">[HTML 4.01]</a>; enhancements in HTML5 will be reflected in a future revision.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="directionality-definition" id="directionality-definition"></a>8.5.1 Definition</h4><p>The <a href="#directionality">Directionality</a> data category allows the user to specify the base writing direction of blocks, embeddings, and overrides for the Unicode bidirectional algorithm. It has four values: "ltr", "rtl", "lro" and "rlo".</p><div class="note"><p class="prefix"><b>Note:</b></p><p>ITS defines only the values of the <a href="#directionality">Directionality</a> data category and their inheritance. The behavior of text labeled in this way may vary, according to the implementation. Implementers are encouraged, however, to model the behavior on that described in the CSS 2.1 specification or its successor. In such a case, the effect of the data category's values would correspond to the following CSS rules:</p><ul><li><p>Data category value: "ltr" (left-to-right text)</p><p>CSS rule: <code>*[dir="ltr"] { unicode-bidi: embed; direction: ltr}</code> </p></li><li><p>Data category value: "rtl" (right-to-left text)</p><p>CSS rule: <code>*[dir="rtl"] { unicode-bidi: embed; direction: rtl}</code> </p></li><li><p>Data category value: "lro" (left-to-right override)</p><p>CSS rule: <code>*[dir="lro"] { unicode-bidi: bidi-override; direction: ltr}</code> </p></li><li><p>Data category value: "rlo" (right-to-left override)</p><p>CSS rule: <code>*[dir="rlo"] { unicode-bidi: bidi-override; direction: rtl}</code> </p></li></ul><p>More information about how to use this data category is provided by <a title="What you&#xA; need to know about the bidi algorithm and inline markup" href="#bidiarticle">[Bidi Article]</a>.</p></div></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="directionality-implementation" id="directionality-implementation"></a>8.5.2 Implementation</h4><p>The <a href="#directionality">Directionality</a> data category can be expressed with global rules, or locally on an individual element. For elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, <em>including</em> child elements and attributes. The default is that both elements and attributes have the directionality of left-to-right.</p><p id="directionality-global">GLOBAL: The <code class="its-elem-markup">dirRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A required <code class="its-attr-markup">dir</code> attribute with the value "ltr", "rtl", "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-dir-selector-1" id="EX-dir-selector-1"></a>Example 41: Document that needs global rules for directionality</div><p>In this document the right-to-left directionality is marked using a <code>direction</code> attribute with a value "rtlText".</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;text</strong> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"en"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;par&gt;</strong>In Hebrew, the title <strong class="hl-tag" style="color: #000096">&lt;quote</strong> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"he"</span> <span class="hl-attribute" style="color: #F5844C">direction</span>=<span class="hl-value" style="color: #993300">"rtlText"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>פעילות הבינאום, W3C<strong class="hl-tag" style="color: #000096">&lt;/quote&gt;</strong> means "Internationalization Activity, W3C", and the order of characters is <strong class="hl-tag" style="color: #000096">&lt;bdo</strong> <span class="hl-attribute" style="color: #F5844C">direction</span>=<span class="hl-value" style="color: #993300">'rtlText'</span><strong class="hl-tag" style="color: #000096">&gt;</strong>פעילות הבינאום, W3C<strong class="hl-tag" style="color: #000096">&lt;/bdo&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/par&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-1.xml">examples/xml/EX-dir-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-dir-selector-2" id="EX-dir-selector-2"></a>Example 42: The <a href="#directionality">Directionality</a> data category expressed with global rules</div><p>The <code class="its-elem-markup">dirRule</code> element indicates that all elements with an attribute <code>direction="rtlText"</code> have right-to-left content, except that bdo elements with that attribute have right-to-left override content.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:dirRule</strong> <span class="hl-attribute" style="color: #F5844C">dir</span>=<span class="hl-value" style="color: #993300">"rtl"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//*[@direction='rtlText']"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:dirRule</strong> <span class="hl-attribute" style="color: #F5844C">dir</span>=<span class="hl-value" style="color: #993300">"rlo"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//bdo[@direction='rtlText']"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-2.xml">examples/xml/EX-dir-selector-2.xml</a>]</p></div><p id="directionality-local">LOCAL: The following local markup is available for the <a href="#directionality">Directionality</a> data category:</p><ul><li><p>A <code class="its-attr-markup">dir</code> attribute with the value "ltr", "rtl", "lro" or "rlo".</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p> <a title="HTML 4.01" href="#html4">[HTML 4.01]</a> does not have the "lro" and "rlo" values for its <code>dir</code> attribute, so these values are not used for HTML documents. HTML uses an inline <code>bdo</code> element instead.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-dir-selector-3" id="EX-dir-selector-3"></a>Example 43: The <a href="#directionality">Directionality</a> data category expressed locally</div><p>On the first <code>quote</code> element, the <code>its:dir="rtl"</code> attribute indicates a right-to-left content.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;text</strong> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"en"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;par&gt;</strong>In Arabic, the title <strong class="hl-tag" style="color: #000096">&lt;quote</strong> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"ar"</span> <span class="hl-attribute" style="color: #F5844C">its:dir</span>=<span class="hl-value" style="color: #993300">"rtl"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>نشاط التدويل، W3C<strong class="hl-tag" style="color: #000096">&lt;/quote&gt;</strong> means "Internationalization Activity, W3C".<strong class="hl-tag" style="color: #000096">&lt;/par&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-3.xml">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-dir-html5-local-1" id="EX-dir-html5-local-1"></a>Example 44: The <a href="#directionality">Directionality</a> data category expressed locally in HTML</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Dir test: Default<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>In Arabic, the title <strong class="hl-tag" style="color: #000096">&lt;q</strong> <span class="hl-attribute" style="color: #F5844C">dir</span>=<span class="hl-value" style="color: #993300">rtl</span> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">ar</span><strong class="hl-tag" style="color: #000096">&gt;</strong>نشاط التدويل، W3C<strong class="hl-tag" style="color: #000096">&lt;/q&gt;</strong> means "Internationalization Activity, W3C".<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-dir-html5-local-1.html">examples/html5/EX-dir-html5-local-1.html</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="language-information" id="language-information"></a>8.6 Language Information</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="langinfo-definition" id="langinfo-definition"></a>8.6.1 Definition</h4><p>The element <code class="its-elem-markup">langRule</code> is used to express the language of a given piece of content. The <code class="its-attr-markup">langPointer</code> attribute points to the markup that expresses the language of the text selected by the selector attribute. This markup <a href="#rfc-keywords">MUST</a> use values that conform to <a title="Tags for Identifying&#xA; Languages" href="#bcp47">[BCP47]</a>. The recommended way to specify language identification is to use <code>xml:lang</code> in XML, and <code>lang</code> in HTML. The <code class="its-elem-markup">langRule</code> element is intended only as a fall-back mechanism for documents where language is identified with another construct.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-lang-definition-1" id="EX-lang-definition-1"></a>Example 45: Pointing to language information via <code class="its-elem-markup">langRule</code> </div><p>The following <code class="its-elem-markup">langRule</code> element expresses that the content of all <code>p</code> elements (including attribute values and textual content of child elements) are in the language indicated by <code>mylangattribute</code>, which is attached to the <code>p</code> elements, and expresses language using values conformant to <a title="Tags for Identifying&#xA; Languages" href="#bcp47">[BCP47]</a>.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:langRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//p"</span> <span class="hl-attribute" style="color: #F5844C">langPointer</span>=<span class="hl-value" style="color: #993300">"@mylangattribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-lang-definition-1.xml">examples/xml/EX-lang-definition-1.xml</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>The <a href="#language-information">Language Information</a> data category only provides for rules to be expressed at a global level. Locally users are able to use <code>xml:lang</code> (which is defined by XML), or <code>lang</code> in HTML, or an attribute specific to the format in question (as in <a href="#EX-lang-definition-1">Example 45</a>).</p><p>In XML <code>xml:lang</code> is the preferable means of language identification. To ease the usage of <code>xml:lang</code>, a declaration for this attribute is part of the non-normative XML DTD and XML Schema document for ITS markup declarations. There is no declaration of <code>xml:lang</code> in the non-normative RELAX NG document for ITS, since in RELAX NG it is not necessary to declare attributes from the XML namespace.</p><p>Applying the <a href="#language-information">Language Information</a> data category to <code>xml:lang</code> attributes using global rules is not necessary, since <code>xml:lang</code> is the standard way to specify language information in <a title="Extensible Markup Language&#xA; (XML) 1.0 (Fifth Edition)" href="#xml10spec">[XML 1.0]</a>.</p><p>In HTML <code>lang</code> is the mandated means of language identification.</p></div></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="langinfo-implementation" id="langinfo-implementation"></a>8.6.2 Implementation</h4><p>The <a href="#language-information">Language Information</a> data category can be expressed only with global rules. For elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, <em>including</em> child elements and attributes. There is no default.</p><p id="languageinformation-global">GLOBAL: The <code class="its-elem-markup">langRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A required <code class="its-attr-markup">langPointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node that contains language information. If the attribute <code>xml:lang</code> is present or <code>lang</code> in HTML for the selected node, the value of the <code>xml:lang</code> attribute or <code>lang</code> in HTML <a href="#rfc2119">MUST</a> take precedence over the <code class="its-attr-markup">langPointer</code> value.</p></li></ul></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="elements-within-text" id="elements-within-text"></a>8.7 Elements Within Text</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="within-text-definition" id="within-text-definition"></a>8.7.1 Definition</h4><p>The <a href="#elements-within-text">Elements Within Text</a> data category reveals if and how an element affects the way text content behaves from a linguistic viewpoint. This information is for example relevant to provide basic text segmentation hints for tools such as translation memory systems. The values associated with this data category are:</p><ul><li><p> "yes": The element and its content are part of the flow of its parent element. For example the element <code>strong</code> in <a title="XHTML™ 1.0 The Extensible&#xA; HyperText Markup Language (Second Edition)" href="#xhtml10">[XHTML 1.0]</a>:</p><p> <code>&lt;strong&gt;Appaloosa horses&lt;/strong&gt; have spotted coats.</code> </p></li><li><p> "nested": The element is part of the flow of its parent element, its content is an independent flow. For example the element <code>fn</code> in <a title="OASIS&#xA; Darwin Information Typing Architecture (DITA) Language Specification&#xA; v1.0" href="#dita10">[DITA 1.0]</a>:</p><p> <code>Palouse horses&lt;fn&gt;A Palouse horse is the same as an Appaloosa.&lt;/fn&gt; have spotted coats.</code> </p></li><li><p> "no": The element splits the text flow of its parent element and its content is an independent text flow. For example the element <code>p</code> when inside the element <code>li</code> in DITA or XHTML:</p><p> <code>&lt;li&gt;Palouse horses: &lt;p&gt;They have spotted coats.&lt;/p&gt; &lt;p&gt;They have been bred by the Nez Perce.&lt;/p&gt; &lt;/li&gt;</code> </p></li></ul></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="within-text-implementation" id="within-text-implementation"></a>8.7.2 Implementation</h4><p>The <a href="#elements-within-text">Elements Within Text</a> data category can be expressed with global rules, or locally on an individual element. There is no inheritance.</p><p>For XML: The default is that elements are not within text.</p><p id="html5-withintext-handling">For HTML: The default is that elements are not within text, with the following exceptions:</p><ul><li><p>For the elements that are part of the <a href="https://www.w3.org/TR/2013/CR-html5-20130806/dom.html#phrasing-content-1">HTML5 phrasing content</a> the default is <code>withinText="yes"</code>, with the following exceptions:</p><ul><li><p>For the elements <code class="its-elem-markup">iframe</code>, <code class="its-elem-markup">noscript</code>, <code class="its-elem-markup">script</code> and <code class="its-elem-markup">textarea</code> the default is <code>withinText="nested"</code>.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-within-text-defaults-html5-1" id="EX-within-text-defaults-html5-1"></a>Example 46: Illustrates the defaults for the <a href="#elements-within-text">Elements Within Text</a> data category in HTML.</div><p>In this document the different flows of text are the following (brackets indicating inline or nested elements):<br/><code><br/> - "Elements within Text defaults for HTML5"<br/> - "The element p is not within text. But [the element em is]."<br/> - "A button [Click Here] is also within text. But [] is nested."<br/> - "The content of textarea"<br/> - "Some additional text... [] []"<br/> - "The script element is nested."<br/> - "The noscript element is nested."<br/></code> </p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Elements within Text defaults for HTML5<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>The element p is not within text. But <strong class="hl-tag" style="color: #000096">&lt;em&gt;</strong>the element em is<strong class="hl-tag" style="color: #000096">&lt;/em&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>A button <strong class="hl-tag" style="color: #000096">&lt;button</strong> <span class="hl-attribute" style="color: #F5844C">onclick</span>=<span class="hl-value" style="color: #993300">"display()"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Click Here<strong class="hl-tag" style="color: #000096">&lt;/button&gt;</strong> is also within text. But <strong class="hl-tag" style="color: #000096">&lt;textarea&gt;</strong>The content of textarea<strong class="hl-tag" style="color: #000096">&lt;/textarea&gt;</strong> is nested.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> Some additional text... <strong class="hl-tag" style="color: #000096">&lt;script&gt;</strong><em class="hl-comment" style="color: silver">&lt;!-- function display() { alert("The script element is nested."); } //--&gt;</em> <strong class="hl-tag" style="color: #000096">&lt;/script&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;noscript&gt;</strong>The noscript element is nested.<strong class="hl-tag" style="color: #000096">&lt;/noscript&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong> </pre></div><p>[Source file: <a href="examples/html5/EX-within-text-defaults-html5-1.html">examples/html5/EX-within-text-defaults-html5-1.html</a>]</p></div><p id="withintext-global">GLOBAL: The <code class="its-elem-markup">withinTextRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A required <code class="its-attr-markup">withinText</code> attribute with the value "yes", "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-within-text-implementation-1" id="EX-within-text-implementation-1"></a>Example 47: Specifying elements within text with a <code class="its-elem-markup">withinTextRule</code> element</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:withinTextRule</strong> <span class="hl-attribute" style="color: #F5844C">withinText</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//b | //em | //i"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-within-text-implementation-1.xml">examples/xml/EX-within-text-implementation-1.xml</a>]</p></div><p id="withintext-local">LOCAL: The following local markup is available for the <a href="#elements-within-text">Elements Within Text</a> data category:</p><ul><li><p>A <code class="its-attr-markup">withinText</code> attribute with the values "yes", "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-within-text-local-1" id="EX-within-text-local-1"></a>Example 48: The <a href="#trans-datacat">Elements Within Text</a> data category expressed locally</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;text</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;par&gt;</strong>Text with <strong class="hl-tag" style="color: #000096">&lt;bold</strong> <span class="hl-attribute" style="color: #F5844C">its:withinText</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>bold<strong class="hl-tag" style="color: #000096">&lt;/bold&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/par&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-within-text-local-1.xml">examples/xml/EX-within-text-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-within-text-local-html5-1" id="EX-within-text-local-html5-1"></a>Example 49: The <a href="#trans-datacat">Elements Within Text</a> data category expressed locally in HTML</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Within text test: Default<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>Text with <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-within-text</span>=<span class="hl-value" style="color: #993300">'yes'</span><strong class="hl-tag" style="color: #000096">&gt;</strong>bold<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-within-text-local-html5-1.html">examples/html5/EX-within-text-local-html5-1.html</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="domain" id="domain"></a>8.8 Domain</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="domain-definition" id="domain-definition"></a>8.8.1 Definition</h4><p>The <a href="#domain">Domain</a> data category is used to identify the topic or subject of content. Such information allows for more relevant linguistic choices during various processes.</p><p>Examples of usage include:</p><ul><li><p>Allowing machine translation systems to select the most appropriate engine and rules to translate the content.</p></li><li><p>Providing a general indication of what terminology collection is most suitable for use by translators.</p></li></ul><p>This data category addresses various challenges:</p><ul><li><p>Often domain-related information already exists in the document (e.g., keywords in the HTML <code>meta</code> element). The <a href="#domain">Domain</a> data category provides a mechanism to point to this information.</p></li><li><p>There are many flat or structured lists of domain related values, keywords, key phrases, classification codes, ontologies, etc. The <a href="#domain">Domain</a> data category does not propose its own given list. Instead it provides a mapping mechanism to associate the values in the document with the values used by the consumer tool.</p></li></ul></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="domain-implementation" id="domain-implementation"></a>8.8.2 Implementation</h4><p>The <a href="#domain">Domain</a> data category can be expressed only with global rules. For elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, <em>including</em> child elements and attributes. There is no default.</p><p>The information provided by this data category is a comma-separated list of one or more values, which is obtained by applying the following algorithm:</p><ul class="slist"><li><p>STEP 1: Set the initial value of the resulting string as an empty string.</p></li><li><p>STEP 2: Get the list of nodes resulting of the evaluation of the <code class="its-attr-markup">domainPointer</code> attribute.</p></li><li><p>STEP 3: For each node:</p><ul class="slist"><li><p>STEP 3-1: If the node value contains a COMMA (U+002C):</p><ul class="slist"><li><p>STEP 3-1-1: Split the node value into separate strings using the COMMA (U+002C) as separator.</p></li><li><p>STEP 3-1-2: For each string:</p><ul class="slist"><li><p>STEP 3-1-2-1: Trim the leading and trailing white spaces of the string.</p></li><li><p>STEP 3-1-2-2: If the first character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</p></li><li><p>STEP 3-1-2-3: If the last character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</p></li><li><p>STEP 3-1-2-4: If the value is empty: Go to STEP 3-1-2.</p></li><li><p>STEP 3-1-2-5: Check the <code>domainMapping</code> attribute to see if there is a mapping set for the string:</p><ul class="slist"><li><p>STEP 3-1-2-5-1. If a mapping is found: Add the corresponding value to the result string.</p></li><li><p>STEP 3-1-2-5-2. Else (if no mapping is found): Add the string to the result string.</p></li></ul></li></ul></li></ul></li><li><p>STEP 3-2: Else (if the node value does not contain a COMMA (U+002C)):</p><ul class="slist"><li><p>STEP 3-2-1: Trim the leading and trailing white spaces of the string.</p></li><li><p>STEP 3-2-2: If the first character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</p></li><li><p>STEP 3-2-3: If the last character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</p></li><li><p>STEP 3-2-4: If the value is empty: Go to STEP 3.</p></li><li><p>STEP 3-2-5: Check if there is a mapping for the string:</p><ul class="slist"><li><p>STEP 3-2-5-1: If a mapping is found: Add the corresponding value to the result string.</p></li><li><p>STEP 3-2-5-2: Else (if no mapping is found): Add the string (in its original cases) to the result string.</p></li></ul></li></ul></li></ul></li><li><p>STEP 4: Remove duplicated values from the resulting string.</p></li><li><p>STEP 5: Return the resulting string.</p></li></ul><p id="domain-global">GLOBAL: The <code class="its-elem-markup">domainRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A required <code class="its-attr-markup">domainPointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node that contains the domain information.</p></li><li><p>An optional <code class="its-attr-markup">domainMapping</code> attribute that contains a comma separated list of mappings between values in the content and consumer tool specific values. The left part of the pair corresponds to the source content and is unique within the mapping and case-sensitive. The right part of the mapping belongs to the consumer tool. Several left parts can map to a single right part. The values in the left or the right part of the mapping may contain spaces; in that case they <a href="#rfc-keywords">MUST</a> be delimited by quotation marks, that is pairs of APOSTROPHE (U+0027) or QUOTATION MARK (U+0022).</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>Although the <code class="its-attr-markup">domainMapping</code> attribute it is optional, its usage is recommended. Many commercial machine translation systems use their own domain definitions; the <code class="its-attr-markup">domainMapping</code> attribute will foster interoperability between these definitions and metadata items like <code>keywords</code> or <code>dcterms.subject</code> in Web pages or other types of content.</p><p>Values used in the <code class="its-attr-markup">domainMapping</code> attribute are arbitrary strings. In some consumer systems or existing content, the domain may be identified via an IRI like <code>http://example.com/domains/automotive</code>. The <code class="its-attr-markup">domainMapping</code> allows for using IRIs too. For the mapping, they are regarded as ordinary string values.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p> Although the focus of ITS 2.0, and some of the usage scenarios addressed in <a href="https://www.w3.org/TR/mlw-metadata-us-impl/">ITS 2.0 High-level Usage Scenarios</a>) is on “single engine” environments, ITS 2.0 (for example in the context of the <a href="#domain">Domain</a> data category) can accommodate ""workflow/multi engine" scenarios.</p><p>Example:</p><ul><li><p>A scenario involves Machine Translation (MT) engines A and B. The domain labels used by engine A follow the naming scheme A_123, the one for engine B follow the naming scheme B_456.</p></li><li><p>A <code class="its-attr-markup">domainMapping</code> as follows is in place: domainMapping="'sports law' Legal, 'property law' Legal"</p></li><li><p>Engine A maps 'Legal' to A_4711, Engine B maps 'Legal' to B_42.</p></li></ul><p>Thus, ITS does not encode a process or workflow (like "Use MT engine A with domain A_4711, and use MT engine B with domain A_42"). Rather, it encodes information that can be used in workflows.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-domain-1" id="EX-domain-1"></a>Example 50: The <code class="its-elem-markup">domainRule</code> element</div><p>The <code class="its-elem-markup">domainRule</code> element expresses that the content of the HTML <code>body</code> element is in the domain expressed by the HTML <code>meta</code> element with the <code>name</code> attribute, value <code>keywords</code>. The <code class="its-attr-markup">domainPointer</code> attribute points to that <code>meta</code> element.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:h</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xhtml"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:domainRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/h:html/h:body"</span> <span class="hl-attribute" style="color: #F5844C">domainPointer</span>=<span class="hl-value" style="color: #993300">"/h:html/h:head/h:meta[@name='keywords']/@content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-domain-1.xml">examples/xml/EX-domain-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-domain-2" id="EX-domain-2"></a>Example 51: The <code class="its-elem-markup">domainRule</code> element</div><p>The <code class="its-elem-markup">domainRule</code> element expresses that the content of the HTML <code>body</code> element is in the domain expressed by associated values. The <code class="its-attr-markup">domainPointer</code> attribute points to the values in the source content. In this case it points to the <code>meta</code> elements with the <code>name</code> attribute set to "keywords" or to "dcterms.subject". These elements hold the values in their <code>content</code> attributes. The <code class="its-attr-markup">domainMapping</code> attribute contains the comma-separated list of mappings. In the example, "automotive" is available in the source content, and "auto" is used within the consumer tool, e.g., a machine translation system.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:h</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xhtml"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:domainRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/h:html/h:body"</span> <span class="hl-attribute" style="color: #F5844C">domainPointer</span>=<span class="hl-value" style="color: #993300">"/h:html/h:head/h:meta[@name='dcterms.subject' or @name='keywords']/@content"</span> <span class="hl-attribute" style="color: #F5844C">domainMapping</span>=<span class="hl-value" style="color: #993300">"automotive auto, medical medicine, 'criminal law' law, 'property law' law"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-domain-2.xml">examples/xml/EX-domain-2.xml</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>In HTML, one possible way how to express domain information is a <code>meta</code> element with the <code>name</code> attribute set to "keywords" (see <a href="https://www.w3.org/TR/html5/single-page.html#standard-metadata-names">standard metadata names in HTML</a>). Alternatively, following the process for <a href="https://www.w3.org/TR/html5/single-page.html#other-metadata-names">other metadata names</a> the <a href="https://wiki.whatwg.org/wiki/MetaExtensions">extension value</a> of "dcterms.subject" can be used. The usage of both "keywords" and "dcterms.subject" is shown in example <a href="#EX-domain-2">Example 51</a>.</p><p>In the area of machine translation (e.g., machine translation systems or systems harvesting content for machine translation training), there is no agreed upon set of value sets for domain. Nevertheless, it is recommended to use a small set of values both in source content and within consumer tools, to foster interoperability. If larger value sets are needed (e.g., detailed terms in the law or medical domain), mappings to the smaller value set needed for interoperability is to be provided. An example would be a <code class="its-attr-markup">domainMapping</code> attribute for generalizing the law domain: <code>domainMapping="'criminal law' law, 'property law' law, 'contract law' law"</code>. </p><p>It is possible to have more than one domain associated with a piece of content. For example, if the consumer tool is a statistical machine translation engine, it could include corpora from all domains available in the source content in training the machine translation engine. </p><p>The consumer machine translation engine might choose to ignore the domain and take a one-size-fits-all approach, or may be selective in which domains to use, based on the range of content marked with domain. For example, if the content has hundreds of sentences marked with domain "automotive" and "medical", but only a couple of sentences marked with additional domains "criminal law" and "property law", the consumer tool may opt to include its domains "auto" and "medicine", but not "law", since the extra training resources do not justify the improvement in the output. Guidance about appropriate actions in such cases is beyond the scope of this specification.</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="textanalysis" id="textanalysis"></a>8.9 Text Analysis</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="textanalysis-definition" id="textanalysis-definition"></a>8.9.1 Definition</h4><p> The <a href="#textanalysis">Text Analysis</a> data category is used to annotate content with lexical or conceptual information for the purpose of contextual disambiguation. This information can be provided by so-called text analysis software agents such as named entity recognizers, lexical concept disambiguators, etc., and is represented by either string valued or IRI references to possible resource descriptions. Example: A named entity recognizer provides the information that the string "Dublin" in a certain context denotes a town in Ireland. </p><p>While text analysis can be done by humans, this data category is targeted more at software agents. </p><p>The information can be used for several purposes, including, but not limited to:</p><ul><li><p>Informing a human agent such as a translator that a certain fragment of textual content (so-called “text analysis target”) may follow specific translation rules. Examples: proper names, brands, or officially regulated expressions.</p></li><li><p>Informing a software agent such as a content management system about the conceptual type of a textual entity to enable special processing. Examples: places, personal names, product names, or geographic names, chemical compounds, and protein names that are situated in a specific index.</p></li></ul><p>The data category provides three pieces of annotation: confidence, entity type or concept class, entity identifier or concept identifier as specified in the following table.</p><a name="textAnalysis-info-pieces" id="textAnalysis-info-pieces"></a><table border="1" width="100%"><thead><tr><td>Information</td><td>Description</td><td>Value</td><td>Example</td><td>Comments</td></tr></thead><tbody><tr><td>Text analysis confidence</td><td>The confidence of the agent (that produced the annotation)in its own computation</td><td> The <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#double">XML Schema double data type </a> with the constraining facets <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive"> minInclusive </a> set to 0 and <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive"> maxInclusive </a> set to 1</td><td>0.5647346</td><td> The confidence value applies to two pieces of information (see the following rows in this table). This is opposed to <a href="#terminology-termConfidence">termConfidence</a> which is part of the <a href="#terminology">Terminology</a> data category. <a href="#terminology-termConfidence">termConfidence</a> represents the confidence in just a single piece of information: the decision whether something is a term or not (term). <a href="#terminology-termConfidence">termConfidence</a> does not relate to the confidence about additional information about the term that can be encoded with <code class="its-attr-markup">termInfoRef</code>.</td></tr><tr><td>Entity type / concept class</td><td>The type of entity, or concept class of the text analysis target </td><td>IRI</td><td> <a href="http://nerd.eurecom.fr/ontology#Location">http://nerd.eurecom.fr/ontology#Location</a> </td><td/></tr><tr><td rowspan="2">Entity / concept identifier</td><td rowspan="2">A unique identifier for the text analysis target</td><td>Mode 1: Identifier (string value) of the collection source + identifier of the concept in that collection</td><td>"Wordnet3.0" to identify the collection resource; "301467919" to identify a synset in Wordnet3.0</td><td rowspan="2">Mode 1 and mode 2 are mutually exclusive. They <a href="#rfc-keywords">MUST NOT</a> be used at the same time for the same text analysis target/node.</td></tr><tr><td>Mode 2: Identifier ( IRI) of the text analysis target</td><td> <a href="http://dbpedia.org/resource/Dublin">http://dbpedia.org/resource/Dublin</a> </td></tr></tbody></table><div class="note"><p class="prefix"><b>Note:</b></p><p id="text-analysis-versus-terminology">The use case for <a href="#textanalysis">Text Analysis</a> is distinct from that for the <a href="#terminology">Terminology</a> data category. Text Analysis informs human agents or software agents in cases where either explicit terminology information is not (yet) available, or would not be appropriate, e.g. conceptual information for general vocabulary.</p><p>Text Analysis support is achieved by associating a fragment of text with an external resource that can be interpreted by a language review agent. The agent may for example use the web resource to disambiguate the meaning or lexical choice of the fragment, and thereby contributing to its correct translation. The web resource may as well provide information on appropriate synonyms and example usage. This is for example the case if the web resource is WordNet <a title="WordNet" href="#wordnet">[WordNet]</a>. In the case of a <a href="#textAnalysis-info-pieces">concept class</a>, the external resource may provide a formalized conceptual definition arranged in a hierarchical framework of related concepts. In the case of a named entity, the external resource may provide a full-fledged description of the associated real world entity.</p><p>Extended example: The word 'City' in the fragment 'I am going to the City' may be enhanced by one of the following: </p><ul><li><p>one of WordNet's synsets that can be represented by 'city' </p></li><li><p>an ontological concept of 'City' that could represent a subclass of 'Populated Place' as a concept</p></li><li><p>the central area of a particular city – as interpreted as an entity instance (e.g., 'City of London')</p></li></ul></div><div class="note"><p class="prefix"><b>Note:</b></p><p id="text-analysis-unique-annotation"> A given document fragment can only be annotated once. When support for multiple annotations is necessary (e.g., when all three of the annotations in the extended example above need to be accommodated) NIF 2.0, <a href="http://www.tei-c.org/release/doc/tei-p5-doc/en/html/NH.html#NHSO">TEI Stand-off Markup</a>, or other so-called stand-off annotation mechanisms is better suitable.</p><p>Some external resources such as DBpedia also provide information for some ontological concepts and named entity definitions in multiple languages, and this facilitates translation even more because a possible link traversal would allow a direct access to foreign language labels for named entities.</p></div></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="textanalysis-implementation" id="textanalysis-implementation"></a>8.9.2 Implementation</h4><p> The <a href="#textanalysis">Text Analysis</a> data category can be expressed with global rules, or locally on an individual element. There is no inheritance.</p><div class="note"><p class="prefix"><b>Note:</b></p><p id="text-analyis-serializations">This specification defines a normative way to represent <a href="#textAnalysis-info-pieces">text analysis information</a> in XML and HTML <a href="#text-analysis-local">locally</a>. However, <a href="#textAnalysis-info-pieces">text analysis information</a> can also be represented in other formats, e.g., <a href="http://tools.ietf.org/html/rfc4627">JSON</a>. The <a href="https://www.w3.org/International/its/ig/">Internationalization Tag Set Interest Group</a> maintains a <a href="https://www.w3.org/International/its/wiki/Text_Analysis_serializations">description of such alternative serializations</a>. Readers of this specification are encouraged to evaluate whether that description fulfills their needs and to provide comments in the <a href="http://lists.w3.org/Archives/Public/public-i18n-its-ig">ITS IG mailing list (public archive)</a>.</p></div><p id="text-analysis-global"> GLOBAL: The <code class="its-elem-markup">textAnalysisRule</code> element contains the following: </p><ul><li><p> A required <code class="its-attr-markup">selector</code> attribute that contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>At least one of the following:</p><ul><li><p> A <code class="its-attr-markup">taClassRefPointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node that holds an IRI, which implements the <a href="#textAnalysis-info-pieces">entity type / concept class </a> information.</p></li><li><p>Exactly one of the following:</p><ul><li><p> When using identification <a href="#textAnalysis-info-pieces">mode 1</a>: A <code class="its-attr-markup">taSourcePointer</code> attribute that contains a <a href="#selectors">relative selector</a> to a node that holds the <a href="#textAnalysis-info-pieces">identifier of the collection source</a>; and a <code class="its-attr-markup">taIdentPointer</code> attribute that contains a relative selector to a node that holds the <a href="#textAnalysis-info-pieces">identifier of the concept in the collection</a>.</p></li><li><p> When using identification <a href="#textAnalysis-info-pieces">mode 2</a>: A <code class="its-attr-markup">taIdentRefPointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node that holds an IRI that holds the <a href="#textAnalysis-info-pieces">identifier of the text analysis target</a>.</p></li></ul></li></ul></li></ul><p> For an example, see <a href="#EX-text-analysis-html5-rdfa-companion-document">Example 54</a>.</p><p id="text-analysis-local"> LOCAL: The following local markup is available for the <a href="#textanalysis">Text Analysis</a> data category: </p><ul><li><p> An optional <code class="its-attr-markup">taConfidence</code> attribute that implements the <a href="#textAnalysis-info-pieces">text analysis confidence</a>. </p></li><li><p>At least one of the following:</p><ul><li><p> A <code class="its-attr-markup">taClassRef</code> attribute that holds an IRI, which implements the <a href="#textAnalysis-info-pieces">Entity type / concept class</a> information. </p></li><li><p>Exactly one of the following:</p><ul><li><p> When using identification <a href="#textAnalysis-info-pieces">mode 1</a>: A <code class="its-attr-markup">taSource</code> attribute that holds the <a href="#textAnalysis-info-pieces">identifier of the collection source</a>, and a <code class="its-attr-markup">taIdent</code> attribute that holds the <a href="#textAnalysis-info-pieces">identifier of the concept in the collection</a>.</p></li><li><p> When using identification <a href="#textAnalysis-info-pieces">mode 2</a>: A <code class="its-attr-markup">taIdentRef</code> attribute that holds the <a href="#textAnalysis-info-pieces">identifier of the text analysis target</a>.</p></li></ul></li></ul></li></ul><p> Any node selected by the <a href="#textanalysis">Text Analysis</a> data category with the <code class="its-attr-markup">taConfidence</code> attribute specified <a href="#rfc2119">MUST</a> be contained in an element with the <code class="its-attr-markup">annotatorsRef</code> (or in HTML <code class="its-attr-markup">its-annotators-ref</code>) attribute specified for the <a href="#textanalysis">Text Analysis</a> data category. For more information, see <a class="section-ref" href="#its-tool-annotation">Section 5.7: ITS Tools Annotation</a>.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-text-analysis-html5-local-1" id="EX-text-analysis-html5-local-1"></a>Example 52: Local mixed usage of <code class="its-attr-markup">taClassRef</code>, and <code class="its-attr-markup">taIdentRef</code> in HTML.</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">"en"</span> <span class="hl-attribute" style="color: #F5844C">its-annotators-ref</span>=<span class="hl-value" style="color: #993300">"text-analysis|http://enrycher.ijs.si"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">"utf-8"</span><strong class="hl-tag" style="color: #000096"> /&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Text analysis: Local Test<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-ta-confidence</span>=<span class="hl-value" style="color: #993300">"0.7"</span> <span class="hl-attribute" style="color: #F5844C">its-ta-class-ref</span>=<span class="hl-value" style="color: #993300">"http://nerd.eurecom.fr/ontology#Location"</span> <span class="hl-attribute" style="color: #F5844C">its-ta-ident-ref</span>=<span class="hl-value" style="color: #993300">"http://dbpedia.org/resource/Dublin"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Dublin<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> is the <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-ta-source</span>=<span class="hl-value" style="color: #993300">"Wordnet3.0"</span> <span class="hl-attribute" style="color: #F5844C">its-ta-ident</span>=<span class="hl-value" style="color: #993300">"301467919"</span> <span class="hl-attribute" style="color: #F5844C">its-ta-confidence</span>=<span class="hl-value" style="color: #993300">"0.5"</span><strong class="hl-tag" style="color: #000096"> &gt;</strong>capital<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> of Ireland.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-text-analysis-html5-local-1.html">examples/html5/EX-text-analysis-html5-local-1.html</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p> For expressing <a href="#textAnalysis-info-pieces">Entity type / concept class </a> information, implementers are encouraged to use an existing repository of entity types such as the Named Entity Recognition and Disambiguation <a title="Named Entity Recognition and Disambiguation ontology (NERD)" href="#nerd">[NERD]</a> ontology. Of course this requires that the repository satisfies the constraints imposed by the text analysis data category (e.g., use of IRIs).</p><p> Various target types can be expressed via <a href="#textAnalysis-info-pieces">Entity type / concept class</a>: types of entities, types of lexical concepts, or ontology concepts. While a relationship between these types may exist, this specification does not prescribe a way of automatically inferring a one target type from another. </p></div><div class="note"><p class="prefix"><b>Note:</b></p><p> Text Analysis is primarily intended for textual content. Nevertheless, the data category can also be used in multimedia contexts. Example: objects on an image could be annotated with DBpedia IRIs. </p><p>When serializing the <a href="#textanalysis">Text Analysis</a> data category markup in HTML, one way to serialize the markup is RDFa Lite or Microdata. This serialization is due to the existing search and crawling infrastructure that is able to consume these formats. For other usage scenarios (e.g., adding text annotation to feed into a subsequent terminology process), using native ITS Text Analysis data category markup is preferred. In this way, the markup easily can be stripped out again later.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-text-analysis-html5-rdfa" id="EX-text-analysis-html5-rdfa"></a>Example 53: Local mixed usage of <code class="its-attr-markup">taClassRefPointer</code>, and <code class="its-attr-markup">taIdentRefPointer</code>, in HTML+RDFa Lite. </div><p> See <a href="#EX-text-analysis-html5-rdfa-companion-document">Example 54</a> for the companion document with the mapping data.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;link</strong> <span class="hl-attribute" style="color: #F5844C">href</span>=<span class="hl-value" style="color: #993300">EX-text-analysis-html5-rdfa.xml</span> <span class="hl-attribute" style="color: #F5844C">rel</span>=<span class="hl-value" style="color: #993300">its-rules</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Entity: Local Test<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">property</span>=<span class="hl-value" style="color: #993300">"http://xmlns.com/foaf/0.1/name"</span> <span class="hl-attribute" style="color: #F5844C">about</span>=<span class="hl-value" style="color: #993300">"http://dbpedia.org/resource/Dublin"</span> <span class="hl-attribute" style="color: #F5844C">typeof</span>=<span class="hl-value" style="color: #993300">"http:/nerd.eurecom.fr/ontology#Location"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Dublin<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> is the capital of Ireland.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-text-analysis-html5-rdfa.html">examples/html5/EX-text-analysis-html5-rdfa.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-text-analysis-html5-rdfa-companion-document" id="EX-text-analysis-html5-rdfa-companion-document"></a>Example 54:  Companion document, having the mapping data for <a href="#EX-text-analysis-html5-rdfa">Example 53</a>.</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:textAnalysisRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//*[@typeof and @about]"</span> <span class="hl-attribute" style="color: #F5844C">taClassRefPointer</span>=<span class="hl-value" style="color: #993300">"@typeof"</span> <span class="hl-attribute" style="color: #F5844C">taIdentRefPointer</span>=<span class="hl-value" style="color: #993300">"@about"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> </pre></div><p>[Source file: <a href="examples/html5/EX-text-analysis-html5-rdfa.xml">examples/html5/EX-text-analysis-html5-rdfa.xml</a>]</p></div></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="LocaleFilter" id="LocaleFilter"></a>8.10 Locale Filter</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="LocaleFilter-definition" id="LocaleFilter-definition"></a>8.10.1 Definition</h4><p>The <a href="#LocaleFilter">Locale Filter</a> data category specifies that a node is only applicable to certain locales.</p><p>This data category can be used for several purposes, including, but not limited to:</p><ul><li><p>Including a legal notice only in locales for certain regions.</p></li><li><p>Dropping editorial notes from all localized output.</p></li></ul><p>The <a href="#LocaleFilter">Locale Filter</a> data category associates with each selected node a filter type and a list of extended language ranges conforming to <a title="Tags for Identifying&#xA; Languages" href="#bcp47">[BCP47]</a>.</p><p>The list is comma-separated and can include the wildcard extended language range "*". The list can also be empty. Whitespace surrounding language ranges is ignored.</p><p>The type can take the values "include" or "exclude":</p><ul><li><p>A single wildcard "*" with a type "include" indicates that the selected content applies to all locales.</p></li><li><p>A single wildcard "*" with a type "exclude" indicates that the selected content applies to no locale.</p></li><li><p>An empty string with a type "include" indicates that the selected content applies to no locale.</p></li><li><p>An empty string with a type "exclude" indicates that the selected content applies to all locales.</p></li><li><p>Otherwise, with a type "include", the selected content applies to the locales for which the language tag has a match in the list when using the Extended Filtering algorithm defined in <a title="Tags for Identifying&#xA; Languages" href="#bcp47">[BCP47]</a>.</p></li><li><p>If, instead, the type is "exclude", the selected content applies to the locales for which the language tag does not have a match in the list when using the Extended Filtering algorithm defined in <a title="Tags for Identifying&#xA; Languages" href="#bcp47">[BCP47]</a>.</p></li></ul></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="LocaleFilter-implementation" id="LocaleFilter-implementation"></a>8.10.2 Implementation</h4><p>The <a href="#LocaleFilter">Locale Filter</a> data category can be expressed with global rules, or locally on an individual element. For elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, <em>including</em> child elements and attributes. The default is that the language range is "*" and the type is "include".</p><p id="localefilter-global">GLOBAL: The <code class="its-elem-markup">localeFilterRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A required <code class="its-attr-markup">localeFilterList</code> attribute with a comma-separated list of extended language ranges, or an empty string value.</p></li><li><p>An optional <code class="its-attr-markup">localeFilterType</code> attribute with a value "include" or "exclude".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-selector-1" id="EX-locale-filter-selector-1"></a>Example 55: The <a href="#LocaleFilter">Locale Filter</a> data category expressed globally</div><p>This document contain three <code class="its-elem-markup">localeFilterRule</code> elements: The first one specifies that the elements <code>legalnotice</code> with a <code>role</code> set to "Canada" apply only to the Canadian locales. The second one specifies that the elements <code>legalnotice</code> with a <code>role</code> set to "nonCanada" apply to all locales that are not Canadian. And the third one specifies that none of the <code>remark</code> elements apply to any locale.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;book</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;info&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:localeFilterRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//legalnotice[@role='Canada']"</span> <span class="hl-attribute" style="color: #F5844C">localeFilterList</span>=<span class="hl-value" style="color: #993300">"*-CA"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:localeFilterRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//legalnotice[@role='nonCanada']"</span> <span class="hl-attribute" style="color: #F5844C">localeFilterList</span>=<span class="hl-value" style="color: #993300">"*-CA"</span> <span class="hl-attribute" style="color: #F5844C">localeFilterType</span>=<span class="hl-value" style="color: #993300">"exclude"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:localeFilterRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//remark"</span> <span class="hl-attribute" style="color: #F5844C">localeFilterList</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;legalnotice</strong> <span class="hl-attribute" style="color: #F5844C">role</span>=<span class="hl-value" style="color: #993300">"Canada"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;para&gt;</strong>This notice is only for Canadian locales.<strong class="hl-tag" style="color: #000096">&lt;/para&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/legalnotice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;legalnotice</strong> <span class="hl-attribute" style="color: #F5844C">role</span>=<span class="hl-value" style="color: #993300">"nonCanada"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;para&gt;</strong>This notice is for locales that are non-Canadian locales.<strong class="hl-tag" style="color: #000096">&lt;/para&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/legalnotice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;remark&gt;</strong>Note: This section will be written later.<strong class="hl-tag" style="color: #000096">&lt;/remark&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/info&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/book&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-locale-filter-selector-1.xml">examples/xml/EX-locale-filter-selector-1.xml</a>]</p></div><p id="localefilter-local">LOCAL: The following local markup is available for the <a href="#LocaleFilter">Locale Filter</a> data category:</p><ul><li><p>A <code class="its-attr-markup">localeFilterList</code> attribute with a comma-separated list of extended language ranges, or an empty string value.</p></li><li><p>An optional <code class="its-attr-markup">localeFilterType</code> attribute with a value "include" or "exclude".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-locale-html5-1" id="EX-locale-filter-locale-html5-1"></a>Example 56: The <a href="#LocaleFilter">Locale Filter</a> data category expressed locally in HTML</div><p>In this example the <a href="#LocaleFilter">Locale Filter</a> data category is used to select different sections depending on whether the locale is a Canadian one or not.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Locale filter<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;div</strong> <span class="hl-attribute" style="color: #F5844C">its-locale-filter-list</span>=<span class="hl-value" style="color: #993300">"*-ca"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>Text for Canadian locales.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/div&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;div</strong> <span class="hl-attribute" style="color: #F5844C">its-locale-filter-list</span>=<span class="hl-value" style="color: #993300">"*-ca"</span> <span class="hl-attribute" style="color: #F5844C">its-locale-filter-type</span>=<span class="hl-value" style="color: #993300">"exclude"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>Text for non-Canadian locales.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/div&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong> </pre></div><p>[Source file: <a href="examples/html5/EX-locale-filter-local-html5-1.html">examples/html5/EX-locale-filter-local-html5-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-attribute-1" id="EX-locale-filter-attribute-1"></a>Example 57: The <a href="#LocaleFilter">Locale Filter</a> data category expressed locally in XML</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;book</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;info&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;legalnotice</strong> <span class="hl-attribute" style="color: #F5844C">its:localeFilterList</span>=<span class="hl-value" style="color: #993300">"en-CA, fr-CA"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;para&gt;</strong>This legal notice is only for English and French Canadian locales.<strong class="hl-tag" style="color: #000096">&lt;/para&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/legalnotice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/info&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/book&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-locale-filter-attribute-1.xml">examples/xml/EX-locale-filter-attribute-1.xml</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="provenance" id="provenance"></a>8.11 Provenance</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="provenance-definition" id="provenance-definition"></a>8.11.1 Definition</h4><p>The <a href="#provenance">Provenance</a> data category is used to communicate the identity of agents that have been involved in the translation of the content or the revision of the translated content. This allows translation and translation revision consumers, such as post-editors, translation quality reviewers, or localization workflow managers, to assess how the performance of these agents may impact the quality of the translation. Translation and translation revision agents can be identified as a person, a piece of software or an organization that has been involved in providing a translation that resulted in the selected content. </p><p>This data category offers three types of information. First, it allows identification of translation agents. Second, it allows identification of revision agents. Third, if provenance information is needed that includes temporal or sequence information about translation processes (e.g. multiple revision cycles) or requires agents that support a wider range of activities, the data category offers a mechanism to refer to external provenance information.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The specification does not define the format of external provenance information, but it is recommended that an open provenance or change-logging format be used, e.g. the W3C provenance data model <a title="Provenance data model" href="#prov-dm">[PROV-DM]</a>.</p></div><p>Translation or translation revision tools, such as machine translation engines or computer assisted translation tools, may offer an easy way to create this information. Translation tools can then present this information to post-editors or translation workflow managers. Web applications may to present such information to consumers of translated documents.</p><p>The data category defines seven pieces of information:</p><a name="provenanceDefs" id="provenanceDefs"></a><table border="1" width="100%"><thead><tr><td>Information</td><td>Description</td><td>Value</td></tr></thead><tbody><tr><td>Human provenance information</td><td>Identification of a human translation agent</td><td>A string or an IRI (only for the <code>Ref</code> attributes)</td></tr><tr><td>Organizational provenance information</td><td>Identification of an organization acting as a translation agent</td><td>A string or an IRI (only for the <code>Ref</code> attributes)</td></tr><tr><td>Tool-related provenance information</td><td>Identification of a software tool that was used in translating the selected content</td><td>A string or an IRI (only for the <code>Ref</code> attributes)</td></tr><tr><td>Human revision provenance information</td><td>Identification of a human translation revision agent</td><td>A string or an IRI (only for the <code>Ref</code> attributes)</td></tr><tr><td>Organizational revision provenance information</td><td>Identification of an organization acting as a translation revision agent</td><td>A string or an IRI (only for the <code>Ref</code> attributes)</td></tr><tr><td>Tool-related revision provenance information</td><td>Identification of a software tool that was used in revising the translation of the selected content</td><td>A string or an IRI (only for the <code>Ref</code> attributes)</td></tr><tr><td>Reference to external provenance information</td><td>A reference to external provenance information</td><td>A space (U+0020) separated list of IRIs</td></tr></tbody></table><div class="note"><p class="prefix"><b>Note:</b></p><p>The tool related provenance and tool related revision provenance pieces of information are not meant to express information about tools used for creating ITS annotations themselves. For this purpose, ITS 2.0 provides a separate mechanism. See <a class="section-ref" href="#its-tool-annotation">Section 5.7: ITS Tools Annotation</a> for details, especially the <a href="#annotators-ref-usage-scenarios">note on annotatorsRef usage scenarios</a>.</p></div></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="provenance-implementation" id="provenance-implementation"></a>8.11.2 Implementation</h4><p>The <a href="#provenance">Provenance</a> data category can be expressed with global rules, or locally on individual elements. For elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, <em>including</em> child elements and attributes.</p><p id="provenance-global">GLOBAL: The <code class="its-elem-markup">provRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A <code class="its-attr-markup">provenanceRecordsRefPointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node containing a list of <a href="#elem-provenanceRecords">provenance records</a>. These are related to the content selected via the <code class="its-attr-markup">selector</code> attribute.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-provenance-global-1" id="EX-provenance-global-1"></a>Example 58: The <a href="#provenance">Provenance</a> data category used globally with standoff provenance records.</div><p>This example expresses provenance information in a standoff manner using <code>provenanceRecords</code> elements. The <code class="its-elem-markup">provRule</code> element specifies that for any element with a <code>ref</code> attribute that <code>ref</code> attribute holds a reference to an associated <code class="its-elem-markup">provenanceRecords</code> element where the provenance information is listed. The <code>legalnotice</code> element has been revised two times. Hence, the related <code class="its-elem-markup">provenanceRecords</code> element contains two <code class="its-elem-markup">provenanceRecord</code> child elements.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;text</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:dc</span>=<span class="hl-value" style="color: #993300">"http://purl.org/dc/elements/1.1/"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;dc:creator&gt;</strong>John Doe<strong class="hl-tag" style="color: #000096">&lt;/dc:creator&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:provenanceRecords</strong> <span class="hl-attribute" style="color: #F5844C">xml:id</span>=<span class="hl-value" style="color: #993300">"pr1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:provenanceRecord</strong> <span class="hl-attribute" style="color: #F5844C">toolRef</span>=<span class="hl-value" style="color: #993300">"http://www.example.onlinemtex.com/2012/7/25/wsdl/"</span> <span class="hl-attribute" style="color: #F5844C">org</span>=<span class="hl-value" style="color: #993300">"acme-CAT-v2.3"</span> <span class="hl-attribute" style="color: #F5844C">revToolRef</span>=<span class="hl-value" style="color: #993300">"http://www.mycat.com/v1.0/download"</span> <span class="hl-attribute" style="color: #F5844C">revOrg</span>=<span class="hl-value" style="color: #993300">"acme-CAT-v2.3"</span> <span class="hl-attribute" style="color: #F5844C">provRef</span>=<span class="hl-value" style="color: #993300">"http://www.examplelsp.com/excontent987/production/prov/e6354"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:provenanceRecords&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:provenanceRecords</strong> <span class="hl-attribute" style="color: #F5844C">xml:id</span>=<span class="hl-value" style="color: #993300">"pr2"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:provenanceRecord</strong> <span class="hl-attribute" style="color: #F5844C">person</span>=<span class="hl-value" style="color: #993300">"John Doe"</span> <span class="hl-attribute" style="color: #F5844C">orgRef</span>=<span class="hl-value" style="color: #993300">"http://www.legaltrans-ex.com"</span> <span class="hl-attribute" style="color: #F5844C">revPerson</span>=<span class="hl-value" style="color: #993300">"Tommy Atkins"</span> <span class="hl-attribute" style="color: #F5844C">revOrgRef</span>=<span class="hl-value" style="color: #993300">"http://www.example.myorg.com"</span> <span class="hl-attribute" style="color: #F5844C">provRef</span>=<span class="hl-value" style="color: #993300">"http://www.example.myorg.com/job-12-7-15-X31/reviewed/prov/re8573469"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:provenanceRecord</strong> <span class="hl-attribute" style="color: #F5844C">revPerson</span>=<span class="hl-value" style="color: #993300">"John Smith"</span> <span class="hl-attribute" style="color: #F5844C">revOrgRef</span>=<span class="hl-value" style="color: #993300">"http://john-smith.qa.example.com"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:provenanceRecords&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:provRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//*[@ref]"</span> <span class="hl-attribute" style="color: #F5844C">provenanceRecordsRefPointer</span>=<span class="hl-value" style="color: #993300">"@ref"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Translation Revision Provenance Agent: Global Test in XML<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;par</strong> <span class="hl-attribute" style="color: #F5844C">ref</span>=<span class="hl-value" style="color: #993300">"#pr1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> This paragraph was translated from the machine.<strong class="hl-tag" style="color: #000096">&lt;/par&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;legalnotice</strong> <span class="hl-attribute" style="color: #F5844C">postediting-by</span>=<span class="hl-value" style="color: #993300">"http://www.example.myorg.com"</span> <span class="hl-attribute" style="color: #F5844C">ref</span>=<span class="hl-value" style="color: #993300">"#pr2"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>This text was translated directly by a person.<strong class="hl-tag" style="color: #000096">&lt;/legalnotice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-provenance-global-1.xml">examples/xml/EX-provenance-global-1.xml</a>]</p></div><p id="provenance-local">LOCAL: Using the inline markup to represent the data category locally is limited to a single occurrence for a given content (e.g., one cannot have different <code class="its-attr-markup">toolRef</code> attributes applied to the same span of text because the inner-most one would override the others). A local <em>standoff markup</em> is provided to allow such cases.</p><p>The following local markup is available for the <a href="#provenance">Provenance</a> data category:</p><ul><li><p>Either (inline markup): at least one of the following attributes:</p><ul><li><p>A <code class="its-attr-markup">person</code> or <code class="its-attr-markup">personRef</code> attribute that implements the <a href="#provenanceDefs">human provenance information</a>.</p></li><li><p>An <code class="its-attr-markup">org</code> or <code class="its-attr-markup">orgRef</code> attribute that implements the <a href="#provenanceDefs">organizational provenance information</a>.</p></li><li><p>A <code class="its-attr-markup">tool</code> or <code class="its-attr-markup">toolRef</code> attribute that implements the <a href="#provenanceDefs">tool-related provenance information</a>.</p></li><li><p>A <code class="its-attr-markup">revPerson</code> or <code class="its-attr-markup">revPersonRef</code> attribute that implements the <a href="#provenanceDefs">human revision provenance information</a>.</p></li><li><p>A <code class="its-attr-markup">revOrg</code> or <code class="its-attr-markup">revOrgRef</code> attribute that implements the <a href="#provenanceDefs">organizational revision provenance information</a>.</p></li><li><p>A <code class="its-attr-markup">revTool</code> or <code class="its-attr-markup">revToolRef</code> attribute that implements the <a href="#provenanceDefs">tool-related revision provenance information</a>.</p></li><li><p>A <code class="its-attr-markup">provRef</code> attribute that implements the <a href="#provenanceDefs">reference to external provenance descriptions</a>.</p></li></ul></li><li><p>Or (standoff markup):</p><ul><li><p>A <code class="its-attr-markup">provenanceRecordsRef</code> attribute. Its value is an IRI pointing to the <code class="its-elem-markup">provenanceRecords</code> element containing the list of <a href="#elem-provenanceRecords">provenance records</a> related to this content.</p></li><li><p id="elem-provenanceRecords">An element <code class="its-elem-markup">provenanceRecords</code>, which contains:</p><ul><li><p>One or more elements <code class="its-elem-markup">provenanceRecord</code>, each of which contains at least one of the following attributes:</p><ul><li><p>A <code class="its-attr-markup">person</code> or <code class="its-attr-markup">personRef</code> attribute that implements the <a href="#provenanceDefs">human provenance information</a>.</p></li><li><p>An <code class="its-attr-markup">org</code> or <code class="its-attr-markup">orgRef</code> attribute that implements the <a href="#provenanceDefs">organizational provenance information</a>.</p></li><li><p>A <code class="its-attr-markup">tool</code> or <code class="its-attr-markup">toolRef</code> attribute that implements the <a href="#provenanceDefs">tool-related provenance information</a>.</p></li><li><p>A <code class="its-attr-markup">revPerson</code> or <code class="its-attr-markup">revPersonRef</code> attribute that implements the <a href="#provenanceDefs">human revision provenance information</a>.</p></li><li><p>A <code class="its-attr-markup">revOrg</code> or <code class="its-attr-markup">revOrgRef</code> attribute that implements the <a href="#provenanceDefs">organizational revision provenance information</a>.</p></li><li><p>A <code class="its-attr-markup">revTool</code> or <code class="its-attr-markup">revToolRef</code> attribute that implements the <a href="#provenanceDefs">tool-related revision provenance information</a>.</p></li><li><p>A <code class="its-attr-markup">provRef</code> attribute that implements the <a href="#provenanceDefs">reference to external provenance descriptions</a>.</p></li></ul></li></ul></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p id="provenanceRecord-order">Ideally the order of <code class="its-elem-markup">provenanceRecord</code> elements within a <code class="its-elem-markup">provenanceRecords</code> element reflects the order with which they were added to the document, with the most recently added one listed first.</p></div><p>When the attributes <code class="its-attr-markup">person</code>, <code class="its-attr-markup">personRef</code>, <code class="its-attr-markup">org</code>, <code class="its-attr-markup">orgRef</code>, <code class="its-attr-markup">tool</code>, <code class="its-attr-markup">toolRef</code>, <code class="its-attr-markup">revPerson</code>, <code class="its-attr-markup">revPersonRef</code>, <code class="its-attr-markup">revOrg</code>, <code class="its-attr-markup">revOrgRef</code>, <code class="its-attr-markup">revTool</code>, <code class="its-attr-markup">revToolRef</code> and <code class="its-attr-markup">provRef</code> are used in a standoff manner, the information they carry pertains to the content of the element that refers to the standoff annotation, not to the content of the element <code class="its-elem-markup">provenanceRecord</code> where they are declared.</p><p id="provenance-records-in-html5-constraint"> In HTML the standoff markup <a href="#rfc-keywords">MUST</a> either be stored inside a <code>script</code> element in the same HTML document, or be linked from any <code class="its-attr-markup">provenanceRecordsRef</code> to an external XML or HTML file with the standoff inside. If standoff is inside a <code>script</code> element that element <a href="#rfc-keywords">MUST</a> have a <code>type</code> attribute with the value <code>application/its+xml</code>. Its <code>id</code> attribute <a href="#rfc-keywords">MUST</a> be set to the same value as the <code>xml:id</code> attribute of the <code class="its-elem-markup">provenanceRecords</code> element it contains.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-provenance-local-1" id="EX-provenance-local-1"></a>Example 59: Annotating provenance information in XML with local inline markup</div><p>The provenance related attributes at the <code>par</code> and <code>legalnotice</code> elements are used to associate the provenance information directly with the content of these elements.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;text</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:dc</span>=<span class="hl-value" style="color: #993300">"http://purl.org/dc/elements/1.1/"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Translation Revision Provenance Agent: Local Test in XML<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;par</strong> <span class="hl-attribute" style="color: #F5844C">its:toolRef</span>=<span class="hl-value" style="color: #993300">"http://www.onlinemtex.com/2012/7/25/wsdl/"</span> <span class="hl-attribute" style="color: #F5844C">its:org</span>=<span class="hl-value" style="color: #993300">"acme-CAT-v2.3"</span> <span class="hl-attribute" style="color: #F5844C">its:revToolRef</span>=<span class="hl-value" style="color: #993300">"http://www.mycat.com/v1.0/download"</span> <span class="hl-attribute" style="color: #F5844C">its:revOrg</span>=<span class="hl-value" style="color: #993300">"acme-CAT-v2.3"</span> <span class="hl-attribute" style="color: #F5844C">its:provRef</span>=<span class="hl-value" style="color: #993300">"http://www.example.lsp1.com/prov/e6354 http://www.example.lsp2.com/prov/e7738"</span><strong class="hl-tag" style="color: #000096"> &gt;</strong>This paragraph was translated from the machine.<strong class="hl-tag" style="color: #000096">&lt;/par&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;legalnotice</strong> <span class="hl-attribute" style="color: #F5844C">its:person</span>=<span class="hl-value" style="color: #993300">"John Doe"</span> <span class="hl-attribute" style="color: #F5844C">its:orgRef</span>=<span class="hl-value" style="color: #993300">"http://www.legaltrans-ex.com/"</span> <span class="hl-attribute" style="color: #F5844C">its:provRef</span>=<span class="hl-value" style="color: #993300">"http://www.examplelsp.com/excontent987/legal/prov/e6354"</span> <span class="hl-attribute" style="color: #F5844C">its:revPerson</span>=<span class="hl-value" style="color: #993300">"Tommy Atkins"</span> <span class="hl-attribute" style="color: #F5844C">its:revOrgRef</span>=<span class="hl-value" style="color: #993300">"http://www.example.myorg.com"</span><strong class="hl-tag" style="color: #000096"> &gt;</strong>This text was translated directly by a person.<strong class="hl-tag" style="color: #000096">&lt;/legalnotice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-provenance-local-1.xml">examples/xml/EX-provenance-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-provenance-html5-local-1" id="EX-provenance-html5-local-1"></a>Example 60: Annotating provenance information in HTML with local inline markup</div><p>In this example several spans of content are associated with provenance information.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Provenance Agent: Local Test in HTML5<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">its-tool-ref</span>=<span class="hl-value" style="color: #993300">"http://www.onlinemtex.com/2012/7/25/wsdl/"</span> <span class="hl-attribute" style="color: #F5844C">its-org</span>=<span class="hl-value" style="color: #993300">"acme-CAT-v2.3"</span> <span class="hl-attribute" style="color: #F5844C">its-prov-ref</span>=<span class="hl-value" style="color: #993300">"http://www.examplelsp.com/excontent987/production/prov/e6354"</span> <span class="hl-attribute" style="color: #F5844C">its-rev-org</span>=<span class="hl-value" style="color: #993300">"acme-CAT-v2.3"</span><strong class="hl-tag" style="color: #000096"> &gt;</strong>This paragraph was translated from the machine.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">class</span>=<span class="hl-value" style="color: #993300">"legal-notice"</span> <span class="hl-attribute" style="color: #F5844C">its-person</span>=<span class="hl-value" style="color: #993300">"John Doe"</span> <span class="hl-attribute" style="color: #F5844C">its-org-ref</span>=<span class="hl-value" style="color: #993300">"http://www.legaltrans-ex.com/"</span> <span class="hl-attribute" style="color: #F5844C">its-prov-ref</span>=<span class="hl-value" style="color: #993300">"http://www.examplelsp.com/excontent987/legal/prov/e6354"</span> <span class="hl-attribute" style="color: #F5844C">its-rev-person</span>=<span class="hl-value" style="color: #993300">"Tommy Atkins"</span> <span class="hl-attribute" style="color: #F5844C">its-rev-org-ref</span>=<span class="hl-value" style="color: #993300">"http://www.example.myorg.com"</span><strong class="hl-tag" style="color: #000096"> &gt;</strong>This text was translated directly by a person.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-provenance-html5-local-1.html">examples/html5/EX-provenance-html5-local-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-provenance-html5-local-2" id="EX-provenance-html5-local-2"></a>Example 61: Annotating provenance information in HTML with local standoff markup</div><p>The following example shows a document using local standoff markup to encode provenance information. The <code>p</code> elements delimit the content to markup. They hold <code class="its-attr-markup">its-provenance-records-ref</code> attributes that point to the standoff information inside the <code>script</code> elements.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Test<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;script</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">pr1</span> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">application/its+xml</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:provenanceRecords</strong> <span class="hl-attribute" style="color: #F5844C">xml:id</span>=<span class="hl-value" style="color: #993300">"pr1"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:provenanceRecord</strong> <span class="hl-attribute" style="color: #F5844C">toolRef</span>=<span class="hl-value" style="color: #993300">"http://www.onlinemtex.com/2012/7/25/wsdl/"</span> <span class="hl-attribute" style="color: #F5844C">org</span>=<span class="hl-value" style="color: #993300">"acme-CAT-v2.3"</span> <span class="hl-attribute" style="color: #F5844C">provRef</span>=<span class="hl-value" style="color: #993300">"http://www.examplelsp.com/excontent987/production/prov/e6354"</span> <span class="hl-attribute" style="color: #F5844C">revToolRef</span>=<span class="hl-value" style="color: #993300">"http://www.mycat.com/v1.0/download"</span> <span class="hl-attribute" style="color: #F5844C">revOrg</span>=<span class="hl-value" style="color: #993300">"acme-CAT-v2.3"</span><strong class="hl-tag" style="color: #000096"> /&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:provenanceRecords&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/script&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;script</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">pr2</span> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">application/its+xml</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:provenanceRecords</strong> <span class="hl-attribute" style="color: #F5844C">xml:id</span>=<span class="hl-value" style="color: #993300">"pr2"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:provenanceRecord</strong> <span class="hl-attribute" style="color: #F5844C">person</span>=<span class="hl-value" style="color: #993300">"John Doe"</span> <span class="hl-attribute" style="color: #F5844C">orgRef</span>=<span class="hl-value" style="color: #993300">"http://www.legaltrans-ex.com/"</span> <span class="hl-attribute" style="color: #F5844C">provRef</span>=<span class="hl-value" style="color: #993300">"http://www.examplelsp.com/excontent987/legal/prov/e6354"</span> <span class="hl-attribute" style="color: #F5844C">revPerson</span>=<span class="hl-value" style="color: #993300">"Tommy Atkins"</span> <span class="hl-attribute" style="color: #F5844C">revOrgRef</span>=<span class="hl-value" style="color: #993300">"http://www.example.myorg.com"</span><strong class="hl-tag" style="color: #000096"> /&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:provenanceRecord</strong> <span class="hl-attribute" style="color: #F5844C">revPerson</span>=<span class="hl-value" style="color: #993300">"John Smith"</span> <span class="hl-attribute" style="color: #F5844C">revOrgRef</span>=<span class="hl-value" style="color: #993300">"http://john-smith.qa.example.com"</span><strong class="hl-tag" style="color: #000096"> /&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:provenanceRecords&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/script&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">its-provenance-records-ref</span>=<span class="hl-value" style="color: #993300">"#pr1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>This paragraph was translated from the machine.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">its-provenance-records-ref</span>=<span class="hl-value" style="color: #993300">"#pr2"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>This text was translated directly by a person.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-provenance-html5-local-2.html">examples/html5/EX-provenance-html5-local-2.html</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="externalresource" id="externalresource"></a>8.12 External Resource</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="externalresource-definition" id="externalresource-definition"></a>8.12.1 Definition</h4><p>The <a href="#externalresource">External Resource</a> data category indicates that a node represents or references potentially translatable data in a resource outside the document. Examples of such resources are external images and audio or video files.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="externalresource-implementation" id="externalresource-implementation"></a>8.12.2 Implementation</h4><p>The <a href="#externalresource">External Resource</a> data category can be expressed only with global rules. There is no inheritance. There is no default.</p><p id="externalresource-global">GLOBAL: The <code class="its-elem-markup">externalResourceRefRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A required <code class="its-attr-markup">externalResourceRefPointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node that provides the IRI of the external resource.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-externalresource-1" id="EX-externalresource-1"></a>Example 62: The <code class="its-elem-markup">externalResourceRefRule</code> element</div><p>The <code class="its-elem-markup">externalResourceRefRule</code> element expresses that the <code>imagedata</code>, <code>audiodata</code> and <code>videodata</code> elements contain references to external resources. These references are expressed via a <code>fileref</code> attribute. The <code class="its-attr-markup">externalResourceRefPointer</code> attribute points to that attribute.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;doc</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:db</span>=<span class="hl-value" style="color: #993300">"http://docbook.org/ns/docbook"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:externalResourceRefRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//db:imagedata | //db:audiodata | //db:videodata"</span> <span class="hl-attribute" style="color: #F5844C">externalResourceRefPointer</span>=<span class="hl-value" style="color: #993300">"@fileref"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;db:mediaobject&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;db:videoobject&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;db:videodata</strong> <span class="hl-attribute" style="color: #F5844C">fileref</span>=<span class="hl-value" style="color: #993300">"movie.avi"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/db:videoobject&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;db:imageobject&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;db:imagedata</strong> <span class="hl-attribute" style="color: #F5844C">fileref</span>=<span class="hl-value" style="color: #993300">"movie-frame.gif"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/db:imageobject&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;db:textobject&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;db:para&gt;</strong>This video illustrates the proper way to assemble an inverting time distortion device. <strong class="hl-tag" style="color: #000096">&lt;/db:para&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;db:warning&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;db:para&gt;</strong> It is imperative that the primary and secondary temporal couplings not be mounted in the wrong order. Temporal catastrophe is the likely result. The future you destroy may be your own. <strong class="hl-tag" style="color: #000096">&lt;/db:para&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/db:warning&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/db:textobject&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/db:mediaobject&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/doc&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-externalresource-1.xml">examples/xml/EX-externalresource-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-externalresource-2" id="EX-externalresource-2"></a>Example 63: Two <code class="its-elem-markup">externalResourceRefRule</code> elements used for external resources associated with HTML <code>video</code> elements</div><p>The two <code class="its-elem-markup">externalResourceRefRule</code> elements select the <code>src</code> and the <code>poster</code> attributes at HTML <code>video</code> elements. These attributes identify different external resources, and at the same time contain the references to these resources. For this reason, the <code class="its-attr-markup">externalResourceRefPointer</code> attributes point to the value of <code>src</code> and <code>poster</code> respectively. The underlying HTML document is given in <a href="#EX-externalresource-html5-1">Example 64</a>.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:html</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xhtml"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:externalResourceRefRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//html:video/@src"</span> <span class="hl-attribute" style="color: #F5844C">externalResourceRefPointer</span>=<span class="hl-value" style="color: #993300">"."</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:externalResourceRefRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//html:video/@poster"</span> <span class="hl-attribute" style="color: #F5844C">externalResourceRefPointer</span>=<span class="hl-value" style="color: #993300">"."</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-externalresource-2.xml">examples/xml/EX-externalresource-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-externalresource-html5-1" id="EX-externalresource-html5-1"></a>Example 64: An HTML document that can be used for <a href="#EX-externalresource-2">Example 63</a>.</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Video element example<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;video</strong> <span class="hl-attribute" style="color: #F5844C">height</span>=<span class="hl-value" style="color: #993300">360</span> <span class="hl-attribute" style="color: #F5844C">poster</span>=<span class="hl-value" style="color: #993300">http://www.example.com/video-image.png</span> <span class="hl-attribute" style="color: #F5844C">src</span>=<span class="hl-value" style="color: #993300">http://www.example.com/video/v2.mp</span> <span class="hl-attribute" style="color: #F5844C">width</span>=<span class="hl-value" style="color: #993300">640</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>If your browser doesn't support the <strong class="hl-tag" style="color: #000096">&lt;code&gt;</strong>video<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong> element, you can <strong class="hl-tag" style="color: #000096">&lt;a</strong> <span class="hl-attribute" style="color: #F5844C">href</span>=<span class="hl-value" style="color: #993300">http://www.example.com/video/v2.mp</span><strong class="hl-tag" style="color: #000096">&gt;</strong>download the video<strong class="hl-tag" style="color: #000096">&lt;/a&gt;</strong> instead.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/video&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-externalresource-html5-1.html">examples/html5/EX-externalresource-html5-1.html</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="target-pointer" id="target-pointer"></a>8.13 Target Pointer</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="target-pointer-definition" id="target-pointer-definition"></a>8.13.1 Definition</h4><p>Some formats, such as those designed for localization or for multilingual resources, hold the same content in different languages inside a single document. The <a href="#target-pointer">Target Pointer</a> data category is used to associate the node of a given source content (i.e., the content to be translated) and the node of its corresponding target content (i.e., the source content translated into a given target language).</p><p>This specification makes no provision regarding the presence of the target nodes or their content: A target node may or may not exist and it may or may not have content.</p><p>This data category can be used for several purposes, including but not limited to:</p><ul><li><p>Extract the source content to translate and put back the translation at its proper location.</p></li><li><p>Compare source and target content for quality verification.</p></li><li><p>Reuse existing translations when localizing the new version of an existing document.</p></li><li><p>Access aligned bi-lingual content to build memories, or to train machine translation engines.</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>In general, it is recommended to avoid developing formats where the same content is stored in different languages in the same document, except for very specific use cases. See the best practices “<a href="https://www.w3.org/TR/2008/NOTE-xml-i18n-bp-20080213/#DevMLDoc">Working with multilingual documents</a>” from <a title="Best&#xA; Practices for XML Internationalization" href="#xml-i18n-bp">[XML i18n BP]</a> for further guidance.</p></div></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="target-pointer-implementation" id="target-pointer-implementation"></a>8.13.2 Implementation</h4><p>The <a href="#target-pointer">Target Pointer</a> data category can be expressed only with global rules. There is no inheritance. There is no default.</p><p id="targetpointer-global">GLOBAL: The <code class="its-elem-markup">targetPointerRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A required <code class="its-attr-markup">targetPointer</code> attribute. It contains a <a href="#selectors">relative selector</a> that points to the node for the target content corresponding to the selected source node.</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>The source node and the target node may be of different types, but the target node has to contain the same content as the source node (e.g., an attribute node cannot be the target node of a source node that is an element with children).</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-target-pointer-global-1" id="EX-target-pointer-global-1"></a>Example 65: Defining the target location of a source content with the <code class="its-elem-markup">targetPointerRule</code> element</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;file&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/file"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//source"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:targetPointerRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//source"</span> <span class="hl-attribute" style="color: #F5844C">targetPointer</span>=<span class="hl-value" style="color: #993300">"../target"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;entry</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"one"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;source&gt;</strong>Remember last folder<strong class="hl-tag" style="color: #000096">&lt;/source&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;target/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/entry&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;entry</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"two"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;source&gt;</strong>Custom file filter:<strong class="hl-tag" style="color: #000096">&lt;/source&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;target/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/entry&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/file&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-target-pointer-global-1.xml">examples/xml/EX-target-pointer-global-1.xml</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="idvalue" id="idvalue"></a>8.14 ID Value</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="idvalue-definition" id="idvalue-definition"></a>8.14.1 Definition</h4><p>The <a href="#idvalue">ID Value</a> data category indicates a value that can be used as unique identifier for a given part of the content.</p><p>The recommended way to specify a unique identifier is to use <code>xml:id</code> <a title="xml:id Version&#xA; 1.0" href="#xml-id">[XML ID]</a> or <code>id</code> in HTML (See the best practice “<a href="https://www.w3.org/TR/2008/NOTE-xml-i18n-bp-20080213/#DevUniqueID">Defining markup for unique identifiers</a>” from <a title="Best&#xA; Practices for XML Internationalization" href="#xml-i18n-bp">[XML i18n BP]</a>). The <code class="its-elem-markup">idValueRule</code> element is intended only as a fall-back mechanism for documents in which unique identifiers are available with another construct.</p><p>Providing a unique identifier that is maintained in the original document can be useful for several purposes, for example:</p><ul><li><p>Allow automated alignment between different versions of the source document, or between source and translated documents.</p></li><li><p>Improve the confidence in leveraged translation for exact matches.</p></li><li><p>Provide backtracking information between displayed text and source material when testing or debugging.</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><ul><li><p>The <a href="#idvalue">ID Value</a> data category only provides for rules to be expressed at a global level. Locally, users are able to use <code>xml:id</code> (which is defined by XML) or <code>id</code> in HTML, or an attribute specific to the format in question (as in <a href="#EX-idvalue-attribute-1">Example 68</a>).</p></li><li><p>Applying the <a href="#idvalue">ID Value</a> data category to <code>xml:id</code> (in XML) or <code>id</code> (in HTML) attributes in global rules is not necessary, since these attributes are the recommended way to specify an identifier.</p></li></ul></div></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="idvalue-implementation" id="idvalue-implementation"></a>8.14.2 Implementation</h4><p>The <a href="#idvalue">ID Value</a> data category can be expressed only with global rules. There is no inheritance. There is no default.</p><p id="idvalue-global">GLOBAL: The <code class="its-elem-markup">idValueRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p id="idvalue-local">A required <code class="its-attr-markup">idValue</code> attribute. It contains any XPath expression; the context for the evaluation of the XPath expression is the same as for <a href="#selectors">relative selectors</a>. The evaluation of the XPath expression constructs a string corresponding to the identifier of the node to which this rule applies. The identifier <a href="#rfc-keywords">MUST</a> be unique at least within the document. If the attribute <code>xml:id</code> is present or <code>id</code> in HTML for the selected node, the value of the <code>xml:id</code> attribute or <code>id</code> in HTML <a href="#rfc2119">MUST</a> take precedence over the <code class="its-attr-markup">idValue</code> value.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-idvalue-element-1" id="EX-idvalue-element-1"></a>Example 66: Pointing to an ID Value with the <code class="its-elem-markup">idValueRule</code> element</div><p>The <code class="its-elem-markup">idValueRule</code> element indicates that the unique identifier for each <code>&lt;text&gt;</code> element is the value of the attribute <code>name</code> of its parent element.</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;resources&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/resources"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//text"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:idValueRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//text"</span> <span class="hl-attribute" style="color: #F5844C">idValue</span>=<span class="hl-value" style="color: #993300">"../@name"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;entry</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"btn.OK"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;text&gt;</strong>OK<strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;pos&gt;</strong>1, 1<strong class="hl-tag" style="color: #000096">&lt;/pos&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;trig&gt;</strong>sendOK<strong class="hl-tag" style="color: #000096">&lt;/trig&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/entry&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;entry</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"btn.CANCEL"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;text&gt;</strong>Cancel<strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;pos&gt;</strong>2, 1<strong class="hl-tag" style="color: #000096">&lt;/pos&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;trig&gt;</strong>cancelAll<strong class="hl-tag" style="color: #000096">&lt;/trig&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/entry&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/resources&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-idvalue-element-1.xml">examples/xml/EX-idvalue-element-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-idvalue-element-2" id="EX-idvalue-element-2"></a>Example 67: Constructing ID values using the <code class="its-elem-markup">idValueRule</code> element.</div><p>The <code class="its-attr-markup">idValue</code> attribute allows to build composite values based on different attributes, elements, or even hard-coded text. Any of the String functions offered by XPath can be used. In the document below, the two elements <code>&lt;text&gt;</code> and <code>&lt;desc&gt;</code> are translatable, but they have only one corresponding identifier, the <code>name</code> attribute in their parent element.</p><p>To make sure the identifier is unique for both the content of <code>&lt;text&gt;</code> and the content of <code>&lt;desc&gt;</code>, the XPath expression <code>concat(../@name, '_t')</code> gives the identifier "settingsMissing_t" for the content of <code>&lt;text&gt;</code> and the expression <code>concat(../@name, '_d')</code> gives the identifier "settingsMissing_d" for the content of <code>&lt;desc&gt;</code>.</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;doc&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:idValueRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//text"</span> <span class="hl-attribute" style="color: #F5844C">idValue</span>=<span class="hl-value" style="color: #993300">"concat(../@name, '_t')"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:idValueRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//desc"</span> <span class="hl-attribute" style="color: #F5844C">idValue</span>=<span class="hl-value" style="color: #993300">"concat(../@name, '_d')"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"settingsMissing"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;text&gt;</strong>Can't find settings file.<strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;desc&gt;</strong>The module cannot find the default settings file. You need to re-initialize the system.<strong class="hl-tag" style="color: #000096">&lt;/desc&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/doc&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-idvalue-element-2.xml">examples/xml/EX-idvalue-element-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-idvalue-attribute-1" id="EX-idvalue-attribute-1"></a>Example 68: Using <code>xml:id</code> and <code class="its-elem-markup">idValueRule</code> </div><p>When an <code>xml:id</code> attribute is present for a node selected by an <code class="its-elem-markup">idValueRule</code> element, the value of <code>xml:id</code> takes precedence over the value defined by the <code class="its-elem-markup">idValueRule</code> element. In the example below, the unique ID to use is “btnAgain” for the first <code>&lt;res&gt;</code> element, and “retryTip” for the second <code>&lt;res&gt;</code> element.</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;file&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:idValueRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//res"</span> <span class="hl-attribute" style="color: #F5844C">idValue</span>=<span class="hl-value" style="color: #993300">"@name"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;res</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"retryBtn"</span> <span class="hl-attribute" style="color: #F5844C">xml:id</span>=<span class="hl-value" style="color: #993300">"btnAgain"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Try Again<strong class="hl-tag" style="color: #000096">&lt;/res&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;res</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"retryTip"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>click this to re-run the process with the current settings.<strong class="hl-tag" style="color: #000096">&lt;/res&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/file&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-idvalue-attribute-1.xml">examples/xml/EX-idvalue-attribute-1.xml</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="preservespace" id="preservespace"></a>8.15 Preserve Space</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="preservespace-definition" id="preservespace-definition"></a>8.15.1 Definition</h4><p>The <a href="#preservespace">Preserve Space</a> data category indicates how whitespace is to be handled in content. The possible values for this data category are "default" and "preserve" and carry the same meaning as the corresponding values of the <a href="https://www.w3.org/TR/2008/REC-xml-20081126/#sec-white-space">xml:space</a> attribute. The default value is "default". The Preserve Space data category does not apply to HTML documents in HTML syntax.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="preservespace-implementation" id="preservespace-implementation"></a>8.15.2 Implementation</h4><p>The <a href="#preservespace">Preserve Space</a> data category can be expressed with global rules, or locally using the <code>xml:space</code> attribute. For elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, <em>including</em> child elements and attributes.</p><div class="note"><p class="prefix"><b>Note:</b></p><p id="preserve-space-and-html5">The <a href="#preservespace">Preserve Space</a> data category is not applicable to HTML documents in HTML syntax because <code>xml:space</code> (and by extension <a href="#preservespace">Preserve Space</a>) has no effect in documents parsed as text/html. However, the data category can be used in HTML <em>in XHTML syntax</em>.</p></div><p id="preservespace-global">GLOBAL: The <code class="its-elem-markup">preserveSpaceRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A required <code class="its-attr-markup">space</code> attribute with the value "default" or "preserve".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-preservespace-global-1" id="EX-preservespace-global-1"></a>Example 69: The <a href="#preservespace">Preserve Space</a> data category expressed globally</div><p>The <code class="its-elem-markup">preserveSpaceRule</code> element specifies that whitespace in all verse elements are to be treated literally.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;book&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;info&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:preserveSpaceRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//verse"</span> <span class="hl-attribute" style="color: #F5844C">space</span>=<span class="hl-value" style="color: #993300">"preserve"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/info&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;verse&gt;</strong> ’Twas brillig, and the slithy toves Did gyre and gimble in the wabe; All mimsy were the borogoves, And the mome raths outgrabe. <strong class="hl-tag" style="color: #000096">&lt;/verse&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/book&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-preservespace-global-1.xml">examples/xml/EX-preservespace-global-1.xml</a>]</p></div><p id="preservespace-local">LOCAL: The <code>xml:space</code> attribute, as defined in section 2.10 of <a title="Extensible Markup Language&#xA; (XML) 1.0 (Fifth Edition)" href="#xml10spec">[XML 1.0]</a>, maps exactly to the <a href="#preservespace">Preserve Space</a> data category.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-preservespace-local-1" id="EX-preservespace-local-1"></a>Example 70: The <a href="#preservespace">Preserve Space</a> data category expressed locally</div><p>The standard <code>xml:space</code> attribute specifies that the whitespace in the verse element are to be treated literally.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;book&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;verse</strong> <span class="hl-attribute" style="color: #F5844C">xml:space</span>=<span class="hl-value" style="color: #993300">"preserve"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> 'Twas brillig, and the slithy toves Did gyre and gimble in the wabe; All mimsy were the borogoves, And the mome raths outgrabe. <strong class="hl-tag" style="color: #000096">&lt;/verse&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/book&gt;</strong> </pre></div><p>[Source file: <a href="examples/xml/EX-preservespace-local-1.xml">examples/xml/EX-preservespace-local-1.xml</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="lqissue" id="lqissue"></a>8.16 Localization Quality Issue</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="lqissue-definition" id="lqissue-definition"></a>8.16.1 Definition</h4><p>The <a href="#lqissue">Localization Quality Issue</a> data category is used to express information related to localization quality assessment tasks. Such tasks can be conducted on the translation of some source content (such as a text or an image) into a target language or on the source content itself where its quality may impact on the localization process.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>Automated or manual quality assessment is one area of quality management for translation and localization. An example of existing quality assessment is in-country review (e.g., as part of a language acceptance test for software). An important part of quality assessment is the list of issue types that are being used. Very often, simple issue categories like "correct/incorrect" or "like/dislike" are inadequate; instead, more specific ones such as "terminology" or "grammar" are more helpful in identifying concrete reasons for quality problems and for obtaining a more objective picture of quality levels.</p><p>Non-normative terminology related to localization quality as used in this section is provided in <a class="section-ref" href="#localization-quality-guidance">Appendix H: Localization Quality Guidance</a>.</p></div><p>This data category can be used in a number of ways, including the following example scenarios:</p><ul><li><p>A human reviewer working with a web-based tool adds quality markup manually in a text editor, including comments and suggestions, to localized content as part of the review process. A subsequent process examines this markup to ensure that changes were made.</p></li><li><p>A fully automatic quality checking tool flags a number of potential quality issues in an XML or HTML file and marks them up using ITS 2.0 markup. A human reviewer then uses another tool to examine this markup and decide whether the file needs to receive more extensive review or be passed on for further processing without a further manual review stage.</p></li><li><p>A quality assessment process identifies a number of issues and adds the ITS markup to a rendered HTML preview of an XML file along with CSS styling that highlights these issues. The resulting HTML file is then sent back to the translator to assist his or her revision efforts.</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p id="selecting-issues">What issues should be considered in quality assessment tasks depends on the nature of the project and tools used. Further guidance is beyond the scope of this specification, but implementers may wish to consult the references cited in <a class="section-ref" href="#localization-quality-guidance">Appendix H: Localization Quality Guidance</a>.</p></div><p>The data category defines five pieces of information:</p><a name="lqissueDefs" id="lqissueDefs"></a><table border="1" width="100%"><thead><tr><td>Information</td><td>Description</td><td>Value</td><td>Notes</td></tr></thead><tbody><tr><td>Type</td><td>A classifier that groups similar issues into categories (for example to differentiate spelling errors from grammar errors).</td><td>One of the values defined in <a href="#lqissue-typevalues">list of type values</a>.</td><td>ITS 2.0-compliant tools that use these types <a href="#rfc-keywords">MUST</a> map their internal values to these types. If the type of the issue is set to <code>uncategorized</code>, a comment <a href="#rfc-keywords">MUST</a> be specified as well.</td></tr><tr><td>Comment</td><td>A human-readable description of a specific instance of a quality issue.</td><td>Text</td><td>Comments can be used to explain an issue or provide guidance in addressing an issue. For example, a note about a Terminology issue might specify what term should be used.</td></tr><tr><td>Severity</td><td>A classifier for the seriousness of an issue. The seriousness depends on the Quality Model that is being applied. The Quality Model should be made explicit via the Profile Reference.</td><td>A rational number in the interval 0 to 100 (inclusive). The value follows the <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#double">XML Schema double data type</a> with the constraining facets <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive">minInclusive</a> set to 0 and <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive">maxInclusive</a> set to 100. The higher values represent greater severity.</td><td>It is up to tools to map the values allowed by ITS 2.0 to their own system’s scale. If needed, the original value can be passed along using a custom namespace for XML, or a <code>data-</code> attribute for HTML.</td></tr><tr><td>Profile Reference</td><td>A reference to a description of the quality assessment model (or a specific profile (customization/instantiation) of a model, where relevant) used for the issue.</td><td>An IRI pointing to the reference document.</td><td>The use of resolvable IRIs is strongly recommended as it provides a way for human evaluators to learn more about the quality issues in use.</td></tr><tr><td>Enabled</td><td>A flag indicating whether the issue is enabled or not.</td><td>A value <code>yes</code> or <code>no</code>, with the default value being <code>yes</code>.</td><td>This flag is used to activate or deactivate issues. There is no prescribed behavior associated with activated or deactivated issues. One example of usage is a tool that allows the user to deactivate false positives so they are not displayed again each time the document is re-checked.</td></tr></tbody></table></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="lqissue-implementation" id="lqissue-implementation"></a>8.16.2 Implementation</h4><p>The <a href="#lqissue">Localization Quality Issue</a> data category can be expressed with global rules, or locally on individual elements. For elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, <em>including</em> child elements, but excluding attributes.</p><p id="lqissue-global">GLOBAL: The <code class="its-elem-markup">locQualityIssueRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>Either (in parallel to <a href="#lqissue-local-inline-markup">local inline markup</a>)</p><ul><li><p>At least one of the following attributes:</p><ul><li><p>A <code class="its-attr-markup">locQualityIssueType</code> attribute that implements the <a href="#lqissueDefs">type information</a>.</p></li><li><p>A <code class="its-attr-markup">locQualityIssueComment</code> attribute that implements the <a href="#lqissueDefs">comment information</a>.</p></li></ul></li><li><p>An optional <code class="its-attr-markup">locQualityIssueSeverity</code> attribute that implements the <a href="#lqissueDefs">severity information</a>.</p></li><li><p>An optional <code class="its-attr-markup">locQualityIssueProfileRef</code> attribute that implements the <a href="#lqissueDefs">profile reference information</a>.</p></li><li><p>An optional <code class="its-attr-markup">locQualityIssueEnabled</code> attribute that implements the <a href="#lqissueDefs">enabled information</a>.</p></li></ul></li><li><p>Or (standoff markup) exactly one of the following:</p><ul><li><p>A <code class="its-attr-markup">locQualityIssuesRef</code> attribute. Its value is an IRI pointing to the <code class="its-elem-markup">locQualityIssues</code> element containing the <a href="#elem-locQualityIssues">list of issues</a> related to this content.</p></li><li><p>A <code class="its-attr-markup">locQualityIssuesRefPointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node with the exact same semantics as <code class="its-attr-markup">locQualityIssuesRef</code>.</p></li></ul></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>The attribute <code class="its-attr-markup">locQualityIssuesRefPointer</code> does not apply to HTML as local markup is provided for direct annotation in HTML.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-global-1" id="EX-locQualityIssue-global-1"></a>Example 71: Annotating an issue in XML with <code class="its-elem-markup">locQualityIssueRule</code> element</div><p>The <code class="its-elem-markup">locQualityIssueRule</code> element associates the issue information with the value of the <code>text</code> attribute.</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;doc&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;header&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locQualityIssueRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//image[@id='i1']/@text"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueType</span>=<span class="hl-value" style="color: #993300">"typographical"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueComment</span>=<span class="hl-value" style="color: #993300">"Sentence without capitalization"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueSeverity</span>=<span class="hl-value" style="color: #993300">"50"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/header&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;para&gt;</strong>Click the button <strong class="hl-tag" style="color: #000096">&lt;image</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"i1"</span> <span class="hl-attribute" style="color: #F5844C">src</span>=<span class="hl-value" style="color: #993300">"button.png"</span> <span class="hl-attribute" style="color: #F5844C">text</span>=<span class="hl-value" style="color: #993300">"start button"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/para&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/doc&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-global-1.xml">examples/xml/EX-locQualityIssue-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-global-2" id="EX-locQualityIssue-global-2"></a>Example 72: Annotating an issue in XML with local standoff markup and a global rule</div><p>The following example shows a document using local standoff markup to encode several issues. But because, in this case, the <code>mrk</code> element does not allow attributes from another namespace we cannot use <code class="its-attr-markup">locQualityIssuesRef</code> directly. Instead, a global rule is used to map the function of <code class="its-attr-markup">locQualityIssuesRef</code> to a non-ITS construct, here the <code>ref</code> attribute of any <code>mrk</code> elements that have their attribute <code>type</code> set to "x-itslq".</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;doc</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;file&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;header&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locQualityIssueRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//mrk[@type='x-itslq']"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssuesRefPointer</span>=<span class="hl-value" style="color: #993300">"@ref"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/header&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;unit</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;segment&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;source&gt;</strong>This is the content<strong class="hl-tag" style="color: #000096">&lt;/source&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;target&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;mrk</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"x-itslq"</span> <span class="hl-attribute" style="color: #F5844C">ref</span>=<span class="hl-value" style="color: #993300">"#lq1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>c'es<strong class="hl-tag" style="color: #000096">&lt;/mrk&gt;</strong> le contenu<strong class="hl-tag" style="color: #000096">&lt;/target&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/segment&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locQualityIssues</strong> <span class="hl-attribute" style="color: #F5844C">xml:id</span>=<span class="hl-value" style="color: #993300">"lq1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locQualityIssue</strong> <span class="hl-attribute" style="color: #F5844C">locQualityIssueType</span>=<span class="hl-value" style="color: #993300">"misspelling"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueComment</span>=<span class="hl-value" style="color: #993300">"'c'es' is unknown. Could be 'c'est'"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueSeverity</span>=<span class="hl-value" style="color: #993300">"50"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locQualityIssue</strong> <span class="hl-attribute" style="color: #F5844C">locQualityIssueType</span>=<span class="hl-value" style="color: #993300">"typographical"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueComment</span>=<span class="hl-value" style="color: #993300">"Sentence without capitalization"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueSeverity</span>=<span class="hl-value" style="color: #993300">"30"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:locQualityIssues&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/unit&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/file&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/doc&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-global-2.xml">examples/xml/EX-locQualityIssue-global-2.xml</a>]</p></div><p id="lqissue-local">LOCAL: Using inline markup to represent the data category locally is limited to a single occurrence for a given content (e.g. one cannot have different <code class="its-attr-markup">locQualityIssueType</code> attributes applied to the same span of text because the inner-most one would override the others). A local <em>standoff markup</em> is provided to allow such cases.</p><p>The following local markup is available for the <a href="#lqissue">Localization Quality Issue</a> data category:</p><ul><li><p id="lqissue-local-inline-markup">Either (inline markup):</p><ul><li><p>At least one of the following attributes:</p><ul><li><p>A <code class="its-attr-markup">locQualityIssueType</code> attribute that implements the <a href="#lqissueDefs">type information</a>.</p></li><li><p>A <code class="its-attr-markup">locQualityIssueComment</code> attribute that implements the <a href="#lqissueDefs">comment information</a>.</p></li></ul></li><li><p>An optional <code class="its-attr-markup">locQualityIssueSeverity</code> attribute that implements the <a href="#lqissueDefs">severity information</a>.</p></li><li><p>An optional <code class="its-attr-markup">locQualityIssueProfileRef</code> attribute that implements the <a href="#lqissueDefs">profile reference information</a>.</p></li><li><p>An optional <code class="its-attr-markup">locQualityIssueEnabled</code> attribute that implements the <a href="#lqissueDefs">enabled information</a>.</p></li></ul></li><li><p>Or (standoff markup):</p><ul><li><p>A <code class="its-attr-markup">locQualityIssuesRef</code> attribute. Its value is an IRI pointing to the <code class="its-elem-markup">locQualityIssues</code> element containing the <a href="#elem-locQualityIssues">list of issues</a> related to this content.</p></li><li><p id="elem-locQualityIssues">An element <code class="its-elem-markup">locQualityIssues</code> with a <code>xml:id</code> attribute set to the identifier specified in the <code class="its-attr-markup">locQualityIssuesRef</code> attribute. The <code class="its-elem-markup">locQualityIssues</code> element contains:</p><ul><li><p>One or more elements <code class="its-elem-markup">locQualityIssue</code>, each of which contains:</p><ul><li><p>At least one of the following attributes:</p><ul><li><p>A <code class="its-attr-markup">locQualityIssueType</code> attribute that implements the <a href="#lqissueDefs">type information</a>.</p></li><li><p>A <code class="its-attr-markup">locQualityIssueComment</code> attribute that implements the <a href="#lqissueDefs">comment information</a>.</p></li></ul></li><li><p>An optional <code class="its-attr-markup">locQualityIssueSeverity</code> attribute that implements the <a href="#lqissueDefs">severity information</a>.</p></li><li><p>An optional <code class="its-attr-markup">locQualityIssueProfileRef</code> attribute that implements the <a href="#lqissueDefs">profile reference information</a>.</p></li><li><p>An optional <code class="its-attr-markup">locQualityIssueEnabled</code> attribute that implements the <a href="#lqissueDefs">enabled information</a>.</p></li></ul></li></ul></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p id="locQualityIssue-order">Ideally the order of <code class="its-elem-markup">locQualityIssue</code> elements within a <code class="its-elem-markup">locQualityIssues</code> element reflects the order with which they were added to the document, with the most recently added one listed first.</p></div><p>When the attributes <code class="its-attr-markup">locQualityIssueType</code>, <code class="its-attr-markup">locQualityIssueComment</code>, <code class="its-attr-markup">locQualityIssueSeverity</code>, <code class="its-attr-markup">locQualityIssueProfileRef</code> and <code class="its-attr-markup">locQualityIssueEnabled</code> are used in a standoff manner, the information they carry pertains to the content of the element that refers to the standoff annotation, not to the content of the element <code class="its-elem-markup">locQualityIssue</code> where they are declared.</p><p id="loc-quality-issues-in-html5-constraint"> In HTML the standoff markup <a href="#rfc-keywords">MUST</a> either be stored inside a <code>script</code> element in the same HTML document, or can be linked from any <code class="its-attr-markup">locQualityIssuesRef</code> to an external XML or HTML file with the standoff inside. If standoff is inside a <code>script</code> element, that element <a href="#rfc-keywords">MUST</a> have a <code>type</code> attribute with the value <code>application/its+xml</code>. Its <code>id</code> attribute <a href="#rfc-keywords">MUST</a> be set to the same value as the <code>xml:id</code> attribute of the <code class="its-elem-markup">locQualityIssues</code> element it contains.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-local-1" id="EX-locQualityIssue-local-1"></a>Example 73: Annotating an issue in XML with local inline markup</div><p>The attributes <code class="its-attr-markup">locQualityIssueType</code>, <code class="its-attr-markup">locQualityIssueComment</code> and <code class="its-attr-markup">locQualityIssueSeverity</code> are used to associate the issue information directly with a selected span of content.</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;doc</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;para&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its:locQualityIssueType</span>=<span class="hl-value" style="color: #993300">"typographical"</span> <span class="hl-attribute" style="color: #F5844C">its:locQualityIssueComment</span>=<span class="hl-value" style="color: #993300">"Sentence without capitalization"</span> <span class="hl-attribute" style="color: #F5844C">its:locQualityIssueSeverity</span>=<span class="hl-value" style="color: #993300">"50"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>this<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> is an example<strong class="hl-tag" style="color: #000096">&lt;/para&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/doc&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-local-1.xml">examples/xml/EX-locQualityIssue-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-html5-local-1" id="EX-locQualityIssue-html5-local-1"></a>Example 74: Annotating an issue in HTML with local inline markup</div><p>In this example several spans of content are associated with a quality issue.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Telharmonium 1897<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;style</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">text/css</span><strong class="hl-tag" style="color: #000096">&gt;</strong> [its-loc-quality-issue-type]{ background-color:yellow; margin:2px; } [its-loc-quality-issue-severity = "100"]{ border: 2px solid red; } <strong class="hl-tag" style="color: #000096">&lt;/style&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;h1&gt;</strong>Telharmonium (1897)<strong class="hl-tag" style="color: #000096">&lt;/h1&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">data-mytool-qacode</span>=<span class="hl-value" style="color: #993300">named_entity_not_found</span> <span class="hl-attribute" style="color: #F5844C">its-loc-quality-issue-comment</span>=<span class="hl-value" style="color: #993300">"Should be Thomas Cahill."</span> <span class="hl-attribute" style="color: #F5844C">its-loc-quality-issue-profile-ref</span>=<span class="hl-value" style="color: #993300">http://example.org/qaMovel/v1</span> <span class="hl-attribute" style="color: #F5844C">its-loc-quality-issue-severity</span>=<span class="hl-value" style="color: #993300">100</span> <span class="hl-attribute" style="color: #F5844C">its-loc-quality-issue-type</span>=<span class="hl-value" style="color: #993300">inconsistent-entities</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Christian Bale<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> (1867–1934) conceived of an instrument that could transmit its sound from a power plant for hundreds of miles to listeners over telegraph wiring. Beginning in 1889 the sound quality of regular telephone concerts was very poor on account of the buzzing generated by carbon-granule microphones. As a result Cahill decided to set a new standard in perfection of sound <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-loc-quality-issue-comment</span>=<span class="hl-value" style="color: #993300">"should be 'quality'"</span> <span class="hl-attribute" style="color: #F5844C">its-loc-quality-issue-profile-ref</span>=<span class="hl-value" style="color: #993300">grammar</span> <span class="hl-attribute" style="color: #F5844C">its-loc-quality-issue-severity</span>=<span class="hl-value" style="color: #993300">50</span> <span class="hl-attribute" style="color: #F5844C">its-loc-quality-issue-type</span>=<span class="hl-value" style="color: #993300">misspelling</span><strong class="hl-tag" style="color: #000096">&gt;</strong>qulaity<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> with his instrument, a standard that would not only satisfy listeners but that would overcome all the flaws of traditional instruments.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-local-1.html">examples/html5/EX-locQualityIssue-html5-local-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-local-2" id="EX-locQualityIssue-local-2"></a>Example 75: Annotating an issue in XML with local standoff markup</div><p>The following example shows a document using local standoff markup to encode several issues. The <code>mrk</code> element delimits the content to markup and holds a <code class="its-attr-markup">locQualityIssuesRef</code> attribute that points to the <code class="its-elem-markup">locQualityIssues</code> element where the issues are listed.</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;xliff</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"1.2"</span> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"urn:oasis:names:tc:xliff:document:1.2"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;file</strong> <span class="hl-attribute" style="color: #F5844C">original</span>=<span class="hl-value" style="color: #993300">"example.doc"</span> <span class="hl-attribute" style="color: #F5844C">source-language</span>=<span class="hl-value" style="color: #993300">"en"</span> <span class="hl-attribute" style="color: #F5844C">datatype</span>=<span class="hl-value" style="color: #993300">"plaintext"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;trans-unit</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;source</strong> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"en"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>This is the content<strong class="hl-tag" style="color: #000096">&lt;/source&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;target</strong> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"fr"</span><strong class="hl-tag" style="color: #000096">&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;mrk</strong> <span class="hl-attribute" style="color: #F5844C">mtype</span>=<span class="hl-value" style="color: #993300">"x-itslq"</span> <span class="hl-attribute" style="color: #F5844C">its:locQualityIssuesRef</span>=<span class="hl-value" style="color: #993300">"#lq1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>c'es<strong class="hl-tag" style="color: #000096">&lt;/mrk&gt;</strong> le contenu<strong class="hl-tag" style="color: #000096">&lt;/target&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locQualityIssues</strong> <span class="hl-attribute" style="color: #F5844C">xml:id</span>=<span class="hl-value" style="color: #993300">"lq1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locQualityIssue</strong> <span class="hl-attribute" style="color: #F5844C">locQualityIssueType</span>=<span class="hl-value" style="color: #993300">"misspelling"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueComment</span>=<span class="hl-value" style="color: #993300">"'c'es' is unknown. Could be 'c'est'"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueSeverity</span>=<span class="hl-value" style="color: #993300">"50"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locQualityIssue</strong> <span class="hl-attribute" style="color: #F5844C">locQualityIssueType</span>=<span class="hl-value" style="color: #993300">"typographical"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueComment</span>=<span class="hl-value" style="color: #993300">"Sentence without capitalization"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueSeverity</span>=<span class="hl-value" style="color: #993300">"30"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:locQualityIssues&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/trans-unit&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/file&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/xliff&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-local-2.xml">examples/xml/EX-locQualityIssue-local-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-html5-local-2" id="EX-locQualityIssue-html5-local-2"></a>Example 76: Annotating an issue in HTML with local standoff markup</div><p>The following example shows a document using local standoff markup to encode several issues. The <code>span</code> element delimits the content to markup and holds a <code class="its-attr-markup">loc-quality-issues-ref</code> attribute that points to a special <code>span</code> element where the issues are listed within a set of other special <code>span</code> elements.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Test<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;script</strong> <span class="hl-attribute" style="color: #F5844C">src</span>=<span class="hl-value" style="color: #993300">qaissues.js</span> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">text/javascript</span><strong class="hl-tag" style="color: #000096">&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;/script&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;script</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">application/its+xml</span> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">lq1</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locQualityIssues</strong> <span class="hl-attribute" style="color: #F5844C">xml:id</span>=<span class="hl-value" style="color: #993300">"lq1"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locQualityIssue</strong> <span class="hl-attribute" style="color: #F5844C">locQualityIssueType</span>=<span class="hl-value" style="color: #993300">"misspelling"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueComment</span>=<span class="hl-value" style="color: #993300">"'c'es' is unknown. Could be 'c'est'"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueSeverity</span>=<span class="hl-value" style="color: #993300">"50"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:locQualityIssue</strong> <span class="hl-attribute" style="color: #F5844C">locQualityIssueType</span>=<span class="hl-value" style="color: #993300">"typographical"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueComment</span>=<span class="hl-value" style="color: #993300">"Sentence without capitalization"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueSeverity</span>=<span class="hl-value" style="color: #993300">"30"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:locQualityIssues&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/script&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;style</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">text/css</span><strong class="hl-tag" style="color: #000096">&gt;</strong>.qaissue { background-color: yellow; } <strong class="hl-tag" style="color: #000096">&lt;/style&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body</strong> <span class="hl-attribute" style="color: #F5844C">onload</span>=<span class="hl-value" style="color: #993300">addqaissueattrs()</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-loc-quality-issues-ref</span>=<span class="hl-value" style="color: #993300">#lq1</span><strong class="hl-tag" style="color: #000096">&gt;</strong>c'es<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> le contenu<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-local-2.html">examples/html5/EX-locQualityIssue-html5-local-2.html</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="lqrating" id="lqrating"></a>8.17 Localization Quality Rating</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="lqrating-definition" id="lqrating-definition"></a>8.17.1 Definition</h4><p>The <a href="#lqrating">Localization Quality Rating</a> data category is used to express an overall measurement of the localization quality of a document or an item in a document.</p><p>This data category allows to specify a quality score or a voting result for a given item or document, as well as to indicate what constitutes a passing score or vote. It also allows pointing to a profile describing the quality assessment model used for the scoring or the voting.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="lqrating-implementation" id="lqrating-implementation"></a>8.17.2 Implementation</h4><p>The <a href="#lqrating">Localization Quality Rating</a> data category is only expressed locally on individual elements. The data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, <em>including</em> child elements, but <em>excluding</em> attributes.</p><p id="lqrating-local">LOCAL: The following local markup is available for the <a href="#lqrating">Localization Quality Rating</a> data category:</p><ul><li><p>Exactly one of the following:</p><ul><li><p>A <code class="its-attr-markup">locQualityRatingScore</code> attribute. Its value is a rational number in the interval 0 to 100 (inclusive). The value follows the <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#double">XML Schema double data type</a> with the constraining facets <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive">minInclusive</a> set to 0 and <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive">maxInclusive</a> set to 100. The higher values represent better quality.</p></li><li><p>A <code class="its-attr-markup">locQualityRatingVote</code> attribute. Its value is a signed integer with higher values indicating a better vote.</p></li></ul></li><li><p>If <code class="its-attr-markup">locQualityRatingScore</code> is used:</p><ul><li><p>an optional <code class="its-attr-markup">locQualityRatingScoreThreshold</code> attribute indicating the lowest score that constitutes a passing score in the profile used. Its value is a rational number in the interval 0 to 100 (inclusive). The value follows the <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#double">XML Schema double data type</a> with the constraining facets <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive">minInclusive</a> set to 0 and <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive">maxInclusive</a> set to 100.</p></li></ul></li><li><p>If <code class="its-attr-markup">locQualityRatingVote</code> is used:</p><ul><li><p>an optional <code class="its-attr-markup">locQualityRatingVoteThreshold</code> attribute indicating the lowest value that constitutes a passing vote in the profile used. Its value is a signed integer.</p></li></ul></li><li><p>An optional <code class="its-attr-markup">locQualityRatingProfileRef</code> attribute. Its value is an IRI pointing to the reference document describing the quality assessment model used for the scoring.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityRating-local-1" id="EX-locQualityRating-local-1"></a>Example 77: The <a href="#lqrating">Localization Quality Rating</a> data category expressed locally in XML</div><p>The <code class="its-attr-markup">locQualityRatingScore</code>, <code class="its-attr-markup">locQualityRatingThreshold</code> and <code class="its-attr-markup">locQualityRatingProfileRef</code> are used to score the quality of the document.</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;doc</strong> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">'nl'</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">its:locQualityRatingScore</span>=<span class="hl-value" style="color: #993300">"100"</span> <span class="hl-attribute" style="color: #F5844C">its:locQualityRatingScoreThreshold</span>=<span class="hl-value" style="color: #993300">"95"</span> <span class="hl-attribute" style="color: #F5844C">its:locQualityRatingProfileRef</span>=<span class="hl-value" style="color: #993300">"http://example.org/qaModel/v13"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>De lotgevallen van Tom Sawyer<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;para&gt;</strong>Hij kwam vrij laat te huis, en toen hij voorzichtig het raam insprong, viel hij in eene hinderlaag, in de persoon van zijne tante, bij wie, toen zij den staat zag, waarin zijne kleederen verkeerden, het besluit om zijn vrijen Zaterdag in een gevangenschap met dwangarbeid te veranderen, onherroepelijk vaststond.<strong class="hl-tag" style="color: #000096">&lt;/para&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/doc&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityRating-local-1.xml">examples/xml/EX-locQualityRating-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityRating-html5-local" id="EX-locQualityRating-html5-local"></a>Example 78: The <a href="#lqrating">Localization Quality Rating</a> data category expressed locally in HTML</div><p>The <code class="its-attr-markup">its-loc-quality-rating-score</code>, <code class="its-attr-markup">its-loc-quality-rating-score-threshold</code> and <code class="its-attr-markup">its-loc-quality-rating-profile-ref</code> are used to score the quality of the document.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">fr</span> <span class="hl-attribute" style="color: #F5844C">its-loc-quality-rating-profile-ref</span>=<span class="hl-value" style="color: #993300">http://example.org/qaModel/v13</span> <span class="hl-attribute" style="color: #F5844C">its-loc-quality-rating-score</span>=<span class="hl-value" style="color: #993300">90</span> <span class="hl-attribute" style="color: #F5844C">its-loc-quality-rating-score-threshold</span>=<span class="hl-value" style="color: #993300">80</span><strong class="hl-tag" style="color: #000096"> &gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Rikki-tikki-tavi<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>C'est l'histoire de la grande guerre que Rikki-Tikki-Tavi a combattu tout seul, à travers les salles de bain du grand bungalow au cantonnement Segowlee. Darzee, le tailbird, l'a aidé, et Chuchundra, le rat musqué, qui ne sort jamais jusqu'au milieu du plancher, mais se glisse toujours contre la paroi, lui donnait des conseils, mais Rikki-Tikki-Tavi fait le véritable combat.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityRating-html5-local.html">examples/html5/EX-locQualityRating-html5-local.html</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mtconfidence" id="mtconfidence"></a>8.18 MT Confidence</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mtconfidence-definition" id="mtconfidence-definition"></a>8.18.1 Definition</h4><p>The <a href="#mtconfidence">MT Confidence</a> data category is used to communicate the confidence score from a machine translation engine for the accuracy of a translation it has provided. It is not intended to provide a score that is comparable between machine translation engines and platforms. This data category does NOT aim to establish any sort of correlation between the confidence score and either human evaluation of MT usefulness, or post-editing cognitive effort. For harmonization’s sake, MT Confidence is provided as a rational number in the interval 0 to 1 (inclusive).</p><div class="note"><p class="prefix"><b>Note:</b></p><p>Implementers are expected to interpret the floating-point number and present it to human and other consumers in a convenient form, such as percentage (0-100%) with up to 2 decimal digits, font or background color coding, etc.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p id="mt-confidence-score-generation-tools">The value provided by the <a href="#mtconfidence">MT Confidence</a> data category can be 1) the quality score of the translation as produced by an MT engine, or 2) a quality estimation score that uses both MT-system-internal features and additional external features. For this reason it is important that <a href="#mtconfidence">MT Confidence</a> provides additional information about the MT engine (via the <code class="its-attr-markup">annotatorsRef</code> attribute, or in HTML the <code class="its-attr-markup">its-annotators-ref</code> attribute). Otherwise the score on its own is hard to interpret and to reuse. In the case of 2), <a href="#mtconfidence">MT Confidence</a> potentially conveys information about any additional tools that were used in deriving the score.</p></div><p>This data category can be used for several purposes, including, but not limited to:</p><ul><li><p>Automated prioritising of raw machine translated text for further processing based on empirically set thresholds.</p></li><li><p>Providing readers, translators, post-editors, reviewers, and proof-readers of machine translated text with self-reported relative accuracy prediction.</p></li></ul><p>MT confidence scores can be displayed e.g., on websites machine translated on the fly, by simple web-based translation editors or by Computer Aided Translation (CAT) tools.</p></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mtconfidence-implementation" id="mtconfidence-implementation"></a>8.18.2 Implementation</h4><p>The <a href="#mtconfidence">MT Confidence</a> category can be expressed with global rules or locally on individual elements. For elements, the data category information <a href="#def-inheritance">is inherited</a> by the textual content of the element, <em>including</em> child elements, but <em>excluding</em> attributes.</p><p>Any node selected by the <a href="#mtconfidence">MT Confidence</a> data category <a href="#rfc2119">MUST</a> be contained in an element with the <code class="its-attr-markup">annotatorsRef</code> (or in HTML, <code class="its-attr-markup">its-annotators-ref</code>) attribute specified for the <a href="#mtconfidence">MT Confidence</a> data category. For more information, see <a class="section-ref" href="#its-tool-annotation">Section 5.7: ITS Tools Annotation</a>.</p><p id="mtconfidence-global">GLOBAL: The <code class="its-elem-markup">mtConfidenceRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A required <code class="its-attr-markup">mtConfidence</code> attribute with a value that represents the translation confidence score as a rational number in the interval 0 to 1 (inclusive). The value follows the <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#double">XML Schema double data type</a> with the constraining facets <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive">minInclusive</a> set to 0 and <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive">maxInclusive</a> set to 1.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-xmConfidence-global-html5-1" id="EX-xmConfidence-global-html5-1"></a>Example 79: Global usage of <code class="its-elem-markup">mtConfidenceRule</code> in a HTML document to specify the confidence scores for the translation into English of the <code>title</code> attributes of two <code>img</code> elements.</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;link</strong> <span class="hl-attribute" style="color: #F5844C">href</span>=<span class="hl-value" style="color: #993300">EX-mtconfidence-global-html5-1-external-rules.xml</span> <span class="hl-attribute" style="color: #F5844C">rel</span>=<span class="hl-value" style="color: #993300">its-rules</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Machine translated title attributes of img elements give MT confidence scores using global rules<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body</strong> <span class="hl-attribute" style="color: #F5844C">its-annotators-ref</span>=<span class="hl-value" style="color: #993300">"mt-confidence|file:///tools.xml#T1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;img</strong> <span class="hl-attribute" style="color: #F5844C">src</span>=<span class="hl-value" style="color: #993300">"http://upload.wikimedia.org/wikipedia/commons/9/93/Trinity_College.jpg"</span> <span class="hl-attribute" style="color: #F5844C">title</span>=<span class="hl-value" style="color: #993300">"Front gate of Trinity College Dublin"</span> <span class="hl-attribute" style="color: #F5844C">alt</span>=<span class="hl-value" style="color: #993300">"alternative description"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;img</strong> <span class="hl-attribute" style="color: #F5844C">src</span>=<span class="hl-value" style="color: #993300">"http://upload.wikimedia.org/wikipedia/commons/c/cc/Molly_alone.jpg"</span> <span class="hl-attribute" style="color: #F5844C">title</span>=<span class="hl-value" style="color: #993300">"A tart with a cart"</span> <span class="hl-attribute" style="color: #F5844C">alt</span>=<span class="hl-value" style="color: #993300">"alternative description"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-mtConfidence-global-html5-1.html">examples/html5/EX-mtConfidence-global-html5-1.html</a>]</p></div><p>Where the external ITS rules file is as shown:</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtconfidence-global-html5-1-external-rules" id="EX-mtconfidence-global-html5-1-external-rules"></a>Example 80: XML file with external rules references from an HTML file.</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:h</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xhtml"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:mtConfidenceRule</strong> <span class="hl-attribute" style="color: #F5844C">mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.785"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//h:img[@title='Front gate of Trinity College Dublin']/@title"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:mtConfidenceRule</strong> <span class="hl-attribute" style="color: #F5844C">mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.805"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//h:img[@title='A tart with a cart']/@title"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> </pre></div><p>[Source file: <a href="examples/html5/EX-mtconfidence-global-html5-1-external-rules.xml">examples/html5/EX-mtconfidence-global-html5-1-external-rules.xml</a>]</p></div><p id="mtconfidence-local">LOCAL: the following local markup is available for the <a href="#mtconfidence">MT Confidence</a> data category:</p><ul><li><p>A <code class="its-attr-markup">mtConfidence</code> attribute with a value that represents the translation confidence score as a rational number in the interval 0 to 1 (inclusive). The value follows the <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#double">XML Schema double data type</a> with the constraining facets <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive">minInclusive</a> set to 0 and <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive">maxInclusive</a> set to 1.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-local-1" id="EX-mtConfidence-local-1"></a>Example 81: The <a href="#mtconfidence">MT Confidence</a> data category expressed locally for the content of a span in an XML document.</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096">&lt;text</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"mt-confidence|file:///tools.xml#T1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its:mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.8982"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Dublin is the capital city of Ireland.<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/text&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-mtConfidence-local-1.xml">examples/xml/EX-mtConfidence-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-html5-local-1" id="EX-mtConfidence-html5-local-1"></a>Example 82: The <a href="#mtconfidence">MT Confidence</a> data category expressed locally for the content of two separate spans in a HTML document.</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096"> &gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Sentences about Dublin and Prague machine translated from Czech with mtConfidence locally.<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body</strong> <span class="hl-attribute" style="color: #F5844C">its-annotators-ref</span>=<span class="hl-value" style="color: #993300">"mt-confidence|file:///tools.xml#T1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-mt-confidence</span>=<span class="hl-value" style="color: #993300">0.8982</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Dublin is the capital of Ireland.<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-mt-confidence</span>=<span class="hl-value" style="color: #993300">0.8536</span><strong class="hl-tag" style="color: #000096"> &gt;</strong>The capital of the Czech Republic is Prague.<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-mtConfidence-html5-local-1.html">examples/html5/EX-mtConfidence-html5-local-1.html</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="allowedchars" id="allowedchars"></a>8.19 Allowed Characters</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="allowedchars-definition" id="allowedchars-definition"></a>8.19.1 Definition</h4><p>The <a href="#allowedchars">Allowed Characters</a> data category is used to specify the characters that are permitted in a given piece of content.</p><p>This data category can be used for various purposes, including the following examples:</p><ul><li><p>Limiting the characters that may be used in the UI of a game due to font restrictions.</p></li><li><p>Preventing illegal characters from being entered as text content that represents file or directory names.</p></li><li><p>Controlling what characters can be used when translating examples of a login name in content.</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>The <a href="#allowedchars">Allowed Characters</a> data category is not intended to disallow HTML markup. The purpose is to restrict the content to various characters only, e.g., when the content is to be used for URL or filename generation. In most Content Management Systems, content is divided into several fields, some of which may be restricted to plain text, while in other fields HTML fragments may be allowed. Enforcing such restrictions is outside the scope of this data category.</p></div><p>The set of characters that are allowed is specified using a regular expression. That is, each character in the selected content <a href="#rfc-keywords">MUST</a> be included in the set specified by the regular expression.</p><p>The regular expression is the character class construct <code>charClass</code> defined as follows:</p><ul class="slist"><li><p><code>[1] charClass ::= singleCharEsc | charClassExpr | wildcardEsc</code></p></li><li><p><code>[2] singleCharEsc ::= '\' [nrt\|.?*+(){}#x2D#x5B#x5D#x5E]</code></p></li><li><p><code>[3] charClassExpr ::= '[' charGroup ']'</code></p></li><li><p><code>[4] charGroup ::= posCharGroup | negCharGroup</code></p></li><li><p><code>[5] posCharGroup ::= ( charRange | singleCharEsc )+</code></p></li><li><p><code>[6] charRange ::= seRange | xmlCharIncDash</code></p></li><li><p><code>[7] seRange ::= charOrEsc '-' charOrEsc</code></p></li><li><p><code>[8] charOrEsc ::= xmlChar | singleCharEsc</code></p></li><li><p><code>[9] xmlChar ::= [^\#x2D#x5B#x5D]</code></p></li><li><p><code>[10] xmlCharIncDash ::= [^\#x5B#x5D]</code></p></li><li><p><code>[11] negCharGroup ::= '^' posCharGroup</code></p></li><li><p><code>[12] wildcardEsc ::= '.'</code></p></li></ul><p>The <code>.</code> metacharacter also matches CARRIAGE RETURN (U+000D) and LINE FEED (U+000F). That is the <em>dot-all</em> option is set.</p><p>This construct is a sub-set of the <a href="https://www.w3.org/TR/xmlschema-2/#charcter-classes">Character Classes</a> construct of XML Schema <a title="XML Schema Part 2:&#xA; Datatypes Second Edition" href="#xmlschema2">[XML Schema Part 2]</a> and is compatible with most other regular expression engines.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>Users may want to use a regular expression to make sure that they follow the definition given above. Sample regular expressions to verify the regular expression in allowed characters are provided: <a href="examples/allowed-characters-verify-xml-regex.txt">for XML</a> and <a href="examples/allowed-characters-verify-java-regex.txt">for Java</a>.</p></div><p>Example of expressions (shown as XML source):</p><ul><li><p><code>"[abc]"</code>: allows the characters 'a', 'b' and 'c'.</p></li><li><p><code>"[a-c]"</code>: allows the characters 'a', 'b' and 'c'.</p></li><li><p><code>"[a-zA-Z]"</code>: allows the characters from 'a' to 'z' and from 'A' to 'Z'.</p></li><li><p><code>"[^abc]"</code>: allows any characters except 'a', 'b', and 'c'.</p></li><li><p><code>"[^&amp;#x0061;-c]"</code>: allows any characters except 'a', 'b', and 'c'.</p></li><li><p><code>"[^&amp;lt;&gt;:&amp;quot;\\/|\?*]"</code>: allows only the characters valid for Windows file names.</p></li><li><p><code>"."</code>: allows any character.</p></li><li><p><code>""</code>: allows no character.</p></li></ul></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="allowedchars-implementation" id="allowedchars-implementation"></a>8.19.2 Implementation</h4><p>The <a href="#allowedchars">Allowed Characters</a> data category can be expressed with global rules, or locally on individual elements. For elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, <em>including</em> child elements, but <em>excluding</em> attributes.</p><p id="allowedchars-global">GLOBAL: The <code class="its-elem-markup">allowedCharactersRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>Exactly one of the following:</p><ul><li><p>An <code class="its-attr-markup">allowedCharacters</code> attribute that contains the regular expression indicating the allowed characters.</p></li><li><p>An <code class="its-attr-markup">allowedCharactersPointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node with the exact same semantics as <code class="its-attr-markup">allowedCharacters</code>.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-global-1" id="EX-allowedCharacters-global-1"></a>Example 83: The <a href="#allowedchars">Allowed Characters</a> data category expressed globally in XML</div><p>The <code class="its-elem-markup">allowedCharactersRule</code> element states that the translated content of elements <code>content</code> cannot contain the characters <code>*</code> and <code>+</code>.</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;myRes</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:allowedCharactersRule</strong> <span class="hl-attribute" style="color: #F5844C">allowedCharacters</span>=<span class="hl-value" style="color: #993300">"[^*+]"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;content&gt;</strong>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.<strong class="hl-tag" style="color: #000096">&lt;/content&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/myRes&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-global-1.xml">examples/xml/EX-allowedCharacters-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-global-2" id="EX-allowedCharacters-global-2"></a>Example 84: Mapping the <a href="#allowedchars">Allowed Characters</a> data category in XML</div><p>The attribute <code class="its-attr-markup">allowedCharactersPointer</code> is used to map the data category to the non-ITS attribute <code>set</code> in this document. The attribute has the same semantics as <code class="its-attr-markup">allowedCharacters</code>.</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;res</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:allowedCharactersRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//record"</span> <span class="hl-attribute" style="color: #F5844C">allowedCharactersPointer</span>=<span class="hl-value" style="color: #993300">"@set"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;record</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"a1"</span> <span class="hl-attribute" style="color: #F5844C">set</span>=<span class="hl-value" style="color: #993300">"[ &amp;#xFF01;–&amp;#xFF5E;]"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>FULL WIDTH ONLY<strong class="hl-tag" style="color: #000096">&lt;/record&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/res&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-global-2.xml">examples/xml/EX-allowedCharacters-global-2.xml</a>]</p></div><p id="allowedchars-local">LOCAL: the following local markup is available for the <a href="#allowedchars">Allowed Characters</a> data category:</p><ul><li><p>A <code class="its-attr-markup">allowedCharacters</code> attribute that contains the regular expression indicating the allowed characters.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-local-1" id="EX-allowedCharacters-local-1"></a>Example 85: The <a href="#allowedchars">Allowed Characters</a> data category expressed locally in XML</div><p>The local <code class="its-attr-markup">allowedCharacters</code> attribute specifies that the translated content of element <code>panelmsg</code> is only allowed to contain Unicode characters between U+0020 and U+00FE.</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;messages</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;msg</strong> <span class="hl-attribute" style="color: #F5844C">num</span>=<span class="hl-value" style="color: #993300">"123"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Click the <strong class="hl-tag" style="color: #000096">&lt;panelmsg</strong> <span class="hl-attribute" style="color: #F5844C">its:allowedCharacters</span>=<span class="hl-value" style="color: #993300">"[&amp;#x0020;-&amp;#x00FE;]"</span><strong class="hl-tag" style="color: #000096"> &gt;</strong>CONTINUE<strong class="hl-tag" style="color: #000096">&lt;/panelmsg&gt;</strong> Button on the printer panel<strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/messages&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-local-1.xml">examples/xml/EX-allowedCharacters-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-html5-local-1" id="EX-allowedCharacters-html5-local-1"></a>Example 86: The <a href="#allowedchars">Allowed Characters</a> data category expressed locally in HTML</div><p>The local <code class="its-attr-markup">its-allowed-characters</code> attribute specifies that the translated content of element <code>code</code> cannot contain the characters other than 'a' to 'z' in any case and the characters underscore and minus.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Example<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>Login names can only use letters from A to Z (upper or lowercase) and the character underscore (_) and minus (-). For example: <strong class="hl-tag" style="color: #000096">&lt;code</strong> <span class="hl-attribute" style="color: #F5844C">its-allowed-characters</span>=<span class="hl-value" style="color: #993300">[a-zA-Z_\-]</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Huck_Finn<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-allowedCharacters-html5-local-1.html">examples/html5/EX-allowedCharacters-html5-local-1.html</a>]</p></div></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="storagesize" id="storagesize"></a>8.20 Storage Size</h3><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="storagesize-definition" id="storagesize-definition"></a>8.20.1 Definition</h4><p>The <a href="#storagesize">Storage Size</a> data category is used to specify the maximum storage size of a given content.</p><p>This data category can be used for various purposes, including the following examples:</p><ul><li><p>Verify during translation if a string fits into a fixed-size database field.</p></li><li><p>Control the size of a string that is stored in a fixed-size memory buffer at run-time.</p></li></ul><p>The storage size is always expressed in bytes and excludes any leading Byte-Order-Markers. It is provided along with the character encoding and the line break type that will be used when the content is stored. If the encoding form does not use the byte as its unit (e.g. UTF-16 uses 16-bit code units) the storage size <a href="#rfc-keywords">MUST</a> still be given in byte (e.g., for UTF-16: 2 bytes per 16-bit code unit). </p><p>An application verifying the storage size for a given content is expected to perform the following steps:</p><ul><li><p>All the LINE FEED (U+000A) characters of the content to verify are replaced by the character or characters specified by the line break type.</p></li><li><p>The resulting string is converted to an array of bytes using a character encoder for the specified encoding. If a character cannot be represented with the specified encoding, an error is generated.</p></li><li><p>If the leading bytes represent a Byte-Order-Mark, they are stripped from that array.</p></li><li><p>The length of the resulting array is compared to the storage size provided. The content is too long if the length is greater than the storage size.</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>Storage size is not directly related to the display length of a text, and therefore is not intended as a display length constraint mechanism.</p></div></div><div class="div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="storagesize-implementation" id="storagesize-implementation"></a>8.20.2 Implementation</h4><p>The <a href="#storagesize">Storage Size</a> data category can be expressed with global rules, or locally on individual elements. There is no inheritance. The default value of the character encoding is "UTF-8", and the default value for the line break is "lf" (LINE FEED (U+000A)).</p><p id="storagesize-global">GLOBAL: The <code class="its-elem-markup">storageSizeRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>Exactly one of the following:</p><ul><li><p>A <code class="its-attr-markup">storageSize</code> attribute. It contains the maximum number of bytes the text of the selected node is allowed in storage.</p></li><li><p>A <code class="its-attr-markup">storageSizePointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node with the exact same semantics as <code class="its-attr-markup">storageSize</code>.</p></li></ul></li><li><p>None or exactly one of the following:</p><ul><li><p>A <code class="its-attr-markup">storageEncoding</code> attribute. It contains the name of the character encoding used to calculate the number of bytes of the selected text. The name <a href="#rfc-keywords">MUST</a> be one of the names or aliases listed in the <a href="http://www.iana.org/assignments/character-sets">IANA Character Sets registry</a> <a title="Character Sets" href="#ianacharsets">[IANA Character Sets]</a>. The default value is the string "UTF-8".</p></li><li><p>A <code class="its-attr-markup">storageEncodingPointer</code> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node with the exact same semantics as <code class="its-attr-markup">storageEncoding</code>.</p></li></ul></li><li><p>An optional <code class="its-attr-markup">lineBreakType</code> attribute. It indicates what type of line breaks the storage uses. The possible values are: "cr" for CARRIAGE RETURN (U+000D), "lf" for LINE FEED (U+000A), or "crlf" for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A). The default value is "lf".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-global-1" id="EX-storageSize-global-1"></a>Example 87: The <a href="#storagesize">Storage Size</a> data category expressed globally in XML</div><p>The <code class="its-elem-markup">storageSizeRule</code> element is used to specify that, when encoded in ISO-8859-1, the content of the <code>country</code> element cannot be more than 25 bytes. The name "Papouasie-Nouvelle-Guinée" is 25 character long and fits because all characters in ISO-8859-1 are encoded as a single byte.</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;db&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:storageSizeRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//country"</span> <span class="hl-attribute" style="color: #F5844C">storageSize</span>=<span class="hl-value" style="color: #993300">"25"</span> <span class="hl-attribute" style="color: #F5844C">storageEncoding</span>=<span class="hl-value" style="color: #993300">"ISO-8859-1"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;country</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"123"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Papouasie-Nouvelle-Guinée<strong class="hl-tag" style="color: #000096">&lt;/country&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;country</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"139"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>République Dominicaine<strong class="hl-tag" style="color: #000096">&lt;/country&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/db&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-global-1.xml">examples/xml/EX-storageSize-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-global-2" id="EX-storageSize-global-2"></a>Example 88: Mapping the <a href="#storagesize">Storage Size</a> data category in XML</div><p>The <code class="its-elem-markup">storageSizePointer</code> attribute is used to map the non-ITS attribute <code>max</code> to the same functionality as <code class="its-attr-markup">storageSize</code>. There is no character encoding specified, so the default UTF-8 is assumed. Note that, while the name "Papouasie-Nouvelle-Guinée" is 25 characters long, the character 'é' is encoded into two bytes in UTF-8. Therefore this name is one byte too long to fit in its storage destination.</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;fields&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;its:storageSizeRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//field"</span> <span class="hl-attribute" style="color: #F5844C">storageSizePointer</span>=<span class="hl-value" style="color: #993300">"@max"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;field</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"country"</span> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"123"</span> <span class="hl-attribute" style="color: #F5844C">max</span>=<span class="hl-value" style="color: #993300">"25"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Papouasie-Nouvelle-Guinée<strong class="hl-tag" style="color: #000096">&lt;/field&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;field</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"country"</span> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"139"</span> <span class="hl-attribute" style="color: #F5844C">max</span>=<span class="hl-value" style="color: #993300">"25"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>République Dominicaine<strong class="hl-tag" style="color: #000096">&lt;/field&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/fields&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-global-2.xml">examples/xml/EX-storageSize-global-2.xml</a>]</p></div><p id="storagesize-local">LOCAL: the following local markup is available for the <a href="#storagesize">Storage Size</a> data category:</p><ul><li><p>A <code class="its-attr-markup">storageSize</code> attribute. It contains the maximum number of bytes the text of the selected node is allowed in storage.</p></li><li><p>An optional <code class="its-attr-markup">storageEncoding</code> attribute. It contains the name of the character encoding used to calculate the number of bytes of the selected text. The name <a href="#rfc-keywords">MUST</a> be one of the names or aliases listed in the <a href="http://www.iana.org/assignments/character-sets">IANA Character Sets registry</a> <a title="Character Sets" href="#ianacharsets">[IANA Character Sets]</a>. The default value is the string "UTF-8".</p></li><li><p>An optional <code class="its-attr-markup">lineBreakType</code> attribute. It indicates what type of line breaks the storage uses. The possible values are: "cr" for CARRIAGE RETURN (U+000D), "lf" for LINE FEED (U+000A), or "crlf" for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A). The default value is "lf".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-local-1" id="EX-storageSize-local-1"></a>Example 89: The <a href="#storagesize">Storage Size</a> data category expressed locally in XML</div><p>The <code class="its-attr-markup">storageSize</code> attribute allows specification of different maximum storage sizes throughout the document. Note that the string <code>CONTINUE</code> does not fit the specified restriction of 8 bytes. The minimal number of bytes to store such a string in UTF-16 is 16.</p><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;messages</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;var</strong> <span class="hl-attribute" style="color: #F5844C">num</span>=<span class="hl-value" style="color: #993300">"panelA1_Continue"</span> <span class="hl-attribute" style="color: #F5844C">its:storageSize</span>=<span class="hl-value" style="color: #993300">"8"</span> <span class="hl-attribute" style="color: #F5844C">its:storageEncoding</span>=<span class="hl-value" style="color: #993300">"UTF-16"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>CONTINUE<strong class="hl-tag" style="color: #000096">&lt;/var&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;var</strong> <span class="hl-attribute" style="color: #F5844C">num</span>=<span class="hl-value" style="color: #993300">"panelA1_Stop"</span> <span class="hl-attribute" style="color: #F5844C">its:storageSize</span>=<span class="hl-value" style="color: #993300">"8"</span> <span class="hl-attribute" style="color: #F5844C">its:storageEncoding</span>=<span class="hl-value" style="color: #993300">"UTF-16"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>STOP<strong class="hl-tag" style="color: #000096">&lt;/var&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;var</strong> <span class="hl-attribute" style="color: #F5844C">num</span>=<span class="hl-value" style="color: #993300">"panelB5_Cancel"</span> <span class="hl-attribute" style="color: #F5844C">its:storageSize</span>=<span class="hl-value" style="color: #993300">"12"</span> <span class="hl-attribute" style="color: #F5844C">its:storageEncoding</span>=<span class="hl-value" style="color: #993300">"UTF-16"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>CANCEL<strong class="hl-tag" style="color: #000096">&lt;/var&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/messages&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-local-1.xml">examples/xml/EX-storageSize-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-html5-local-1" id="EX-storageSize-html5-local-1"></a>Example 90: The <a href="#storagesize">Storage Size</a> data category expressed locally in HTML</div><p>The <code class="its-attr-markup">its-storage-size</code> is used here to specify the maximum number of bytes the two editable strings can have in UTF-8.</p><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Example<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>String to translate:<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">contenteditable</span>=<span class="hl-value" style="color: #993300">true</span> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">123</span> <span class="hl-attribute" style="color: #F5844C">its-storage-size</span>=<span class="hl-value" style="color: #993300">25</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Papua New-Guinea<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">contenteditable</span>=<span class="hl-value" style="color: #993300">true</span> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">139</span> <span class="hl-attribute" style="color: #F5844C">its-storage-size</span>=<span class="hl-value" style="color: #993300">25</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Dominican Republic<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-storageSize-html5-local-1.html">examples/html5/EX-storageSize-html5-local-1.html</a>]</p></div></div></div></div></div><div class="back"><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="normative-references" id="normative-references"></a>A References</h2><p> <em>This section is normative.</em> </p><dl><dt class="label"><a name="bcp47" id="bcp47"/>BCP47</dt><dd>Addison Phillips, Mark Davis. <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt"><cite>Tags for Identifying Languages</cite></a>, September 2009. Available at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt"> http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>.</dd><dt class="label"><a name="html4" id="html4"/>HTML 4.01</dt><dd>Dave Raggett et al. <a href="https://www.w3.org/TR/1999/REC-html401-19991224/"><cite>HTML 4.01</cite></a>. W3C Recommendation 24 December 1999. Available at <a href="https://www.w3.org/TR/1999/REC-html401-19991224/"> http://www.w3.org/TR/1999/REC-html401-19991224/</a>. The latest version of <a href="https://www.w3.org/TR/html401/">HTML 4.01</a> is available at http://www.w3.org/TR/html401.</dd><dt class="label"><a name="html5" id="html5"/>HTML5</dt><dd>Robin Berjon et al. <a href="https://www.w3.org/TR/2013/CR-html5-20130806/"><cite>HTML5</cite></a>. W3C Candidate Recommendation 06 August 2013. Available at <a href="https://www.w3.org/TR/2013/CR-html5-20130806/">http://www.w3.org/TR/2013/CR-html5-20130806/</a>. The latest version of <a href="https://www.w3.org/TR/html5/">HTML5</a> is available at http://www.w3.org/TR/html5/.</dd><dt class="label"><a name="ianacharsets" id="ianacharsets"/>IANA Character Sets</dt><dd> <a href="http://www.iana.org/assignments/character-sets"><cite>Character Sets</cite></a> Available at <a href="http://www.iana.org/assignments/character-sets">http://www.iana.org/assignments/character-sets</a>.</dd><dt class="label"><a name="qa-framework" id="qa-framework"/>QAFRAMEWORK</dt><dd>Karl Dubost, Lynne Rosental, Dominique Hazaël-Massieux, Lofton Henderson. <a href="https://www.w3.org/TR/2005/REC-qaframe-spec-20050817/"><cite>QA Framework: Specification Guidelines</cite></a>. W3C Recommendation 17 August 2005. Available at <a href="https://www.w3.org/TR/2005/REC-qaframe-spec-20050817/"> http://www.w3.org/TR/2005/REC-qaframe-spec-20050817/</a>. The latest version of <a href="https://www.w3.org/TR/qaframe-spec/">QAFRAMEWORK</a> is available at http://www.w3.org/TR/qaframe-spec/.</dd><dt class="label"><a name="relaxng" id="relaxng"/>RELAX NG</dt><dd>Information technology – Document Schema Definition Language (DSDL) – Part 2: <cite>Regular-grammar-based validation – RELAX NG</cite>. International Organization for Standardization (ISO) ISO/IEC 19757-2:2003.</dd><dt class="label"><a name="rfc2119" id="rfc2119"/>RFC 2119</dt><dd>S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key Words for use in RFCs to Indicate Requirement Levels</cite></a>. IETF RFC 2119, March 1997. Available at <a href="http://www.ietf.org/rfc/rfc2119.txt"> http://www.ietf.org/rfc/rfc2119.txt</a>. </dd><dt class="label"><a name="rfc3987" id="rfc3987"/>RFC 3987</dt><dd>Martin Dürst, Michel Suignard. <a href="http://www.ietf.org/rfc/rfc3987.txt"><cite>Internationalized Resource Identifiers (IRIs)</cite></a>. RFC 3987, January 2005. See <a href="http://www.ietf.org/rfc/rfc3987.txt">http://www.ietf.org/rfc/rfc3987.txt</a>.</dd><dt class="label"><a name="css3-selectors" id="css3-selectors"/>Selectors Level 3</dt><dd>Tantek Çelik, Elika J. Etemad, Daniel Glazman, Ian Hickson, Peter Linss, John Williams <a href="https://www.w3.org/TR/2011/REC-css3-selectors-20110929/"><cite>Selectors Level 3</cite></a>. W3C Recommendation 29 September 2011. Available at <a href="https://www.w3.org/TR/2011/REC-css3-selectors-20110929/">http://www.w3.org/TR/2011/REC-css3-selectors-20110929/</a>. The latest version of <a href="https://www.w3.org/TR/css3-selectors/">Selectors Level 3</a> is available at http://www.w3.org/TR/css3-selectors/.</dd><dt class="label"><a name="unicode" id="unicode"/>Unicode</dt><dd>The Unicode Consortium. <a href="http://www.unicode.org/standard/versions/"><cite>The Unicode Standard, Version 6.2.0</cite></a>, , ISBN 978-1-936213-07-8, as updated from time to time by the publication of new versions. (See <a href="http://www.unicode.org/standard/versions/">http://www.unicode.org/unicode/standard/versions</a> for the latest version and additional information on versions of the standard and of the Unicode Character Database).</dd><dt class="label"><a name="xlink1" id="xlink1"/>XLink 1.1</dt><dd>Steve DeRose, Eve Maler, David Orchard, Norman Walsh. <a href="https://www.w3.org/TR/2010/REC-xlink11-20100506/"><cite>XML Linking Language 1.1</cite></a>. W3C Recommendation 6 May 2010. Available at <a href="https://www.w3.org/TR/2010/REC-xlink11-20100506/">http://www.w3.org/TR/2010/REC-xlink11-20100506/</a>. The latest version of <a href="https://www.w3.org/TR/xlink11/">XLink 1.1</a> is available at http://www.w3.org/TR/xlink11/.</dd><dt class="label"><a name="xml10spec" id="xml10spec"/>XML 1.0</dt><dd>Tim Bray, Jean Paoli, C.M. Sperberg-McQueen, et al., editors. <a href="https://www.w3.org/TR/2006/REC-xml-20060816/"><cite>Extensible Markup Language (XML) 1.0 (Fifth Edition)</cite></a>, W3C Recommendation 26 November 2008. Available at <a href="https://www.w3.org/TR/2008/REC-xml-20081126/"> http://www.w3.org/TR/2008/REC-xml-20081126//</a>. The latest version of <a href="https://www.w3.org/TR/xml/">XML 1.0</a> is available at http://www.w3.org/TR/xml/.</dd><dt class="label"><a name="xml-id" id="xml-id"/>XML ID</dt><dd>Jonathan Marsh, Daniel Veillard, Norman Walsh. <a href="https://www.w3.org/TR/2005/REC-xml-id-20050909/"><cite>xml:id Version 1.0</cite></a>. W3C Recommendation 9 September 2005. Available at <a href="https://www.w3.org/TR/2005/REC-xml-id-20050909/">http://www.w3.org/TR/2005/REC-xml-id-20050909/</a>. The latest version of <a href="https://www.w3.org/TR/xml-id/">xml:id Version 1.0</a> is available at http://www.w3.org/TR/xml-id/.</dd><dt class="label"><a name="xmlinfoset" id="xmlinfoset"/>XML Infoset</dt><dd>John Cowan, Richard Tobin. <a href="https://www.w3.org/TR/2004/REC-xml-infoset-20040204/"><cite>XML Information Set (Second Edition)</cite></a>. W3C Recommendation 4 February 2004. Available at <a href="https://www.w3.org/TR/2004/REC-xml-infoset-20040204/"> http://www.w3.org/TR/2004/REC-xml-infoset-20040204/</a>. The latest version of <a href="https://www.w3.org/TR/xml-infoset/">XML Infoset</a> is available at http://www.w3.org/TR/xml-infoset/.</dd><dt class="label"><a name="xmlns" id="xmlns"/>XML Names</dt><dd>Tim Bray, Dave Hollander, Andrew Layman, Richard Tobin. <a href="https://www.w3.org/TR/2006/REC-xml-names-20060816/"><cite>Namespaces in XML (Second Edition)</cite></a>. W3C Recommendation 16 August 2006. Available at <a href="https://www.w3.org/TR/2006/REC-xml-names-20060816/"> http://www.w3.org/TR/2006/REC-xml-names-20060816/</a>. The latest version of <a href="https://www.w3.org/TR/REC-xml-names/">XML Names</a> is available at http://www.w3.org/TR/REC-xml-names/.</dd><dt class="label"><a name="xmlschema1" id="xmlschema1"/>XML Schema</dt><dd>Henry S. Thompson, David Beech, Murray Maloney, Noah Mendelsohn. <a href="https://www.w3.org/TR/2004/REC-xmlschema-1-20041028/"><cite>XML Schema Part 1: Structures Second Edition</cite></a>. W3C Recommendation 28 October 2004. Available at <a href="https://www.w3.org/TR/2004/REC-xmlschema-1-20041028/"> http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/</a>. The latest version of <a href="https://www.w3.org/TR/xmlschema-1/">XML Schema</a> is available at http://www.w3.org/TR/xmlschema-1/.</dd><dt class="label"><a name="xmlschema2" id="xmlschema2"/>XML Schema Part 2</dt><dd>Paul V. Biron, Ashok Malhotra. <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/"><cite>XML Schema Part 2: Datatypes Second Edition</cite></a>. W3C Recommendation 28 October 2004. Available at <a href="https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/"> http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/</a>. The latest version of <a href="https://www.w3.org/TR/xmlschema-2/">XML Schema</a> is available at http://www.w3.org/TR/xmlschema-2/.</dd><dt class="label"><a name="xpath" id="xpath"/>XPath 1.0</dt><dd>James Clark. <a href="https://www.w3.org/TR/1999/REC-xpath-19991116/"><cite>XML Path Language (XPath) Version 1.0</cite></a>. W3C Recommendation 16 November 1999. Available at <a href="https://www.w3.org/TR/1999/REC-xpath-19991116/"> http://www.w3.org/TR/1999/REC-xpath-19991116/</a>. The latest version of <a href="https://www.w3.org/TR/xpath/">XPath 1.0</a> is available at http://www.w3.org/TR/xpath/ .</dd></dl></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="its-mime-type" id="its-mime-type"></a>B Internationalization Tag Set (ITS) MIME Type</h2><p> <em>This section is normative.</em> </p><p>This section defines a MIME type for Internationalization Tag Set (ITS) documents. It covers both ITS 1.0 and ITS 2.0.</p><p> <em>Type name:</em> application</p><p> <em>Subtype name:</em> its+xml</p><p> <em>Required parameters:</em> none</p><p> <em>Optional parameters:</em> charset</p><p>This parameter has identical semantics to the charset parameter of the "application/xml" media type as specified in IETF RFC 3023.</p><p> <em>Encoding considerations:</em> Identical to those of "application/xml" as described in IETF RFC 3023, section 3.2, as applied to an ITS document.</p><p> <em>Security considerations:</em> An ITS 1.0 or ITS 2.0 document may cause arbitrary URIs or IRIs to be dereferenced, via the @xlink:href attribute at the its:rules element. Therefore, the security issues of <a title="Internationalized Resource&#xA; Identifiers (IRIs)" href="#rfc3987">[RFC 3987]</a> Section 8 should be considered. In addition, the contents of resources identified by file: URIs can in some cases be accessed, processed and returned as results. An implementation of ITS global rules requires the support of XPath 1.0 or its successor. Hence, processing of global rules might encompass dereferencing of URIs or IRIs during computation of XPath expressions. Arbitrary recursion is possible, as is arbitrarily large memory usage, and implementations may place limits on CPU and memory usage, as well as restricting access to system-defined functions. ITS 1.0 and ITS 2.0 permit extensions. Hence it is possible that application/its+xml may describe content that has security implications beyond those described here.</p><p> <em>Interoperability considerations:</em> There are no known interoperability issues.</p><p> <em>Published specification:</em> <a href="https://www.w3.org/TR/2007/REC-its-20070403/">http://www.w3.org/TR/2007/REC-its-20070403/</a> and <a href="https://www.w3.org/TR/its20/">http://www.w3.org/TR/its20/</a>.</p><p>Any XML document containing ITS 1.0 "its:rules" elements http://www.w3.org/TR/its/#selection-global can be labeled with <code>application/its+xml</code>. <a href="https://www.w3.org/TR/its/EX-link-external-rules-2.xml">http://www.w3.org/TR/its/EX-link-external-rules-2.xml</a> Provides an example of a document linking to a file with ITS 1.0 and ITS 2.0 "rules". The link target is at <a href="https://www.w3.org/TR/its/EX-link-external-rules-1.xml">http://www.w3.org/TR/its/EX-link-external-rules-1.xml</a>. There is no need that the link target has "its:rules" as a root element. The processing semantics is that rules are gathered in document order.</p><p> <em>Applications that use this media type:</em> This new media type is being registered to allow for deployment of ITS 1.0 and ITS 2.0 on the World Wide Web., e.g., by localization tools.</p><p> <em>Additional information:</em> </p><ul><li><p>Magic number(s): none</p></li><li><p>File extension(s): .its</p></li><li><p>Macintosh file type code(s): TEXT</p></li></ul><p> <em>Person &amp; email address to contact for further information:</em> World Wide Web Consortium &lt;web-human at w3.org&gt;</p><p> <em>Intended usage:</em> COMMON</p><p> <em>Restrictions on usage:</em> none</p><p> <em>Author / Change controller:</em> The Internationalization Tag Set (ITS) 1.0 and 2.0 specifications are a work product of the World Wide Web Consortium's Internationalization Tag Set Working Group. The W3C has change control over this specification.</p></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="lqissue-typevalues" id="lqissue-typevalues"></a>C Values for the Localization Quality Issue Type</h2><p> <em>This section is normative.</em> </p><p>The <code class="its-attr-markup">locQualityIssueType</code> attribute provides a basic level of interoperability between different localization quality assurance tools. It offers a list of high-level quality issue types common in fully automatic and manual localization quality assessment. Tools can map their internal types to these types in order to exchange information about the kinds of issues they identify and take appropriate action even if another tool does not know the specific issues identified by the generating tool.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>Note: The values of locQualityIssueType were derived from an early version of the QTLaunchPad project's Multidimensional Quality Metrics (MQM) framework. MQM is based on a careful analysis of existing translation quality assessment tools and models, such as the LISA QA Model, SAE J2450, and various commercial tools. The values represent common issue types found in those models and are designed to provide interoperability between models. Differences in granularity and in issue types may prevent full interoperability, but using the shared values will maximize interoperability where possible.</p></div><p>The scope column in the following table identifies whether the issue type applies to the source content (“S”), target content (“T”) or both (“S or T”).</p><p>The values listed in the following table are allowed for <code class="its-attr-markup">locQualityIssueType</code>. Ideally the values a tool implementing the data category produces for the attribute matches one of the values provided in this table and are as semantically accurate as possible. For example, marking the phrase “These man is” as a <code>terminology</code> issue, rather than as a <code>grammar</code> issue would be semantically inaccurate. Tools are encouraged to map their internal values to these types. The value <code>other</code> is reserved strictly for values that cannot be mapped.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>For tools <em>generating</em> ITS 2.0 Localization Quality Issue markup, if one internal issue type can be categorized as multiple ITS 2.0 issue types, <em>the first applicable one from the following table should be used</em>. The list is ordered with more specific types first. For example, if a terminology database specifies that the term “USB memory stick” should be used instead of “USB pen drive” but the translated content has “Insert a USB pen drive into any available USB port”, <code>terminology</code> would be used instead of <code>mistranslation</code> because <code>terminology</code> occurs earlier in the list and is more specific than a (general) <code>mistranslation</code>. In the case where multiple separate issues must be marked on a single span (e.g., it contains both a <code>mistranslation</code> and a <code>grammar</code> issue), implementers may wish to use standoff annotation, as shown in <a href="#EX-locQualityIssue-local-2">Example 75</a> and <a href="#EX-locQualityIssue-html5-local-2">Example 76</a>.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p id="qa-issue-types-mappings">The <a href="https://www.w3.org/International/its/ig/">ITS Interest Group</a> maintains informative <a href="https://www.w3.org/International/its/wiki/Localization_quality_types_mappings">mappings of tool-specific quality issue types and ITS 2.0 localization quality types</a>. The ITS IG Wiki provides information on how to update that list. The purpose of these mappings is to document how tool internal information relates to the ITS 2.0 quality types. To foster interoperability, implementers are strongly encouraged to implement the ITS 2.0 quality types natively.</p></div><a name="lqissue-typevalues-table" id="lqissue-typevalues-table"></a><table border="1" width="100%"><thead><tr><td>Value</td><td>Description</td><td>Example</td><td>Scope</td><td>Notes</td></tr></thead><tbody><tr><td> <code>terminology</code> </td><td>An incorrect term or a term from the wrong domain was used or terms are used inconsistently.</td><td> <ul><li><p>The localization had “Pen Drive” when corporate terminology specified that “USB Stick” was to be used.</p></li><li><p>The localized text inconsistently used "Start" and "Begin".</p></li><li><p>A text renders the Hungarian term <em>recsegőhid</em> as “buzzer bridge” in English (a literal translation), but the term to be used in English is “wedge block,” as specified in a terminology list supplied to the translator.</p></li></ul> </td><td>S or T</td><td>This value is not intended for simple typographical errors or word choice not related to defined terminologies. For example, a mistyping of “pin” as “pen” or the use of “imply” instead of “infer” (mistaking two commonly confused words) would not count as terminology issues and is best categorized as either spelling errors or mistranslations, depending on the nature of the issue. Terminology refers <em>only</em> to cases where incorrect choices about terms (either formal or commonly defined in a domain) are involved.</td></tr><tr><td> <code>mistranslation</code> </td><td>The content of the target mistranslates the content of the source.</td><td> <ul><li><p>The English source reads "An ape succeeded in grasping a banana lying outside its cage with the help of a stick" but the Italian translation reads "l'ape riuscì a prendere la banana posta tuori dall sua gabbia aiutandosi con un bastone" ("A bee succeeded...")</p></li></ul> </td><td>T</td><td>Issues related to translation of specific terms related to the domain or task-specific language are to be categorized as <code>terminology</code> issues.</td></tr><tr><td> <code>omission</code> </td><td>Necessary text has been omitted from the localization or source.</td><td> <ul><li><p>One or more segments found in the source that have been intended for translation are missing in the target.</p></li><li><p>After an alignment, a verification tool flags the pairs of aligned segments where the target has no corresponding source because of incorrect segmentation or some alignment issue. In such case the 'omission' type may apply to the source entry.</p></li></ul> </td><td>S or T</td><td>This value is not to be used for missing whitespace or formatting codes, but instead has to be reserved for linguistic content.</td></tr><tr><td> <code>untranslated</code> </td><td>Content that has been intended for translation is left untranslated.</td><td> <ul><li><p>The source segment reads "The Professor said to Smith that he would hear from his lawyer" but the Hungarian localization reads "A professzor azt mondta Smithnek, hogy he would hear from his lawyer."</p></li></ul> </td><td>T</td><td> <code>omission</code> takes precedence over <code>untranslated</code>. Omissions are distinct in that they address cases where text is not present, while <code>untranslated</code> addresses cases where text has been carried from the source untranslated.</td></tr><tr><td> <code>addition</code> </td><td>The translated text contains inappropriate additions.</td><td> <ul><li><p>The translated text contains a note from the translator to himself to look up a term; the note ought to have been deleted but was not.</p></li></ul> </td><td>T</td><td/></tr><tr><td> <code>duplication</code> </td><td>Content has been duplicated improperly.</td><td> <ul><li><p>A section of the target text was inadvertently copied twice in a copy and paste operation.</p></li></ul> </td><td>T</td><td/></tr><tr><td> <code>inconsistency</code> </td><td>The text is inconsistent with itself or is translated inconsistently (NB: not for use with terminology inconsistency).</td><td> <ul><li><p>The text states that an event happened in 1912 in one location but in another states that it happened in 1812.</p></li><li><p>The translated text uses different wording for multiple instances of a single regulatory notice that occurs in multiple locations in a series of manuals.</p></li></ul> </td><td>S or T</td><td/></tr><tr><td> <code>grammar</code> </td><td>The text contains a grammatical error (including errors of syntax and morphology).</td><td> <ul><li><p>The text reads "The guidelines says that users should use a static grounding strap."</p></li></ul> </td><td>S or T</td><td/></tr><tr><td> <code>legal</code> </td><td>The text is legally problematic (e.g., it is specific to the wrong legal system).</td><td> <ul><li><p>The localized text is intended for use in Thailand but includes U.S. regulatory notices.</p></li><li><p>A text translated into German contains comparative advertising claims that are not allowed by German law.</p></li></ul> </td><td>S or T</td><td/></tr><tr><td> <code>register</code> </td><td>The text is written in the wrong linguistic register of uses slang or other language variants inappropriate to the text.</td><td> <ul><li><p>A financial text in U.S. English refers to dollars as "bucks".</p></li></ul> </td><td>S or T</td><td/></tr><tr><td> <code>locale-specific-content</code> </td><td>The localization contains content that does not apply to the locale for which it was prepared.</td><td> <ul><li><p>A text translated for the Japanese market contains call center numbers in Texas and refers to special offers available only in the U.S.</p></li></ul> </td><td>S or T</td><td>Legally inappropriate material is to be classified as <code>legal</code>.</td></tr><tr><td> <code>locale-violation</code> </td><td>Text violates norms for the intended locale.</td><td> <ul><li><p>A text localized into German has dates in <code>mm/dd/yyyy</code> format instead of <code>DD.MM.YYYY</code>.</p></li><li><p>A text for the Irish market uses American-style foot and inch measurements instead of centimeters.</p></li><li><p>A text intended for a U.S.-based audience uses U.K. spellings such as “centre” and “colour.”</p></li></ul> </td><td>S or T</td><td>This value can be used for spelling errors only if they relate specifically to locale expectations (e.g., a text consistently uses British instead of U.S. spellings for a text intended for the U.S.). If these errors are not systematic (e.g., a text uses U.S. spellings but has a single instance of “centre”), they are instead to be counted as spelling errors.</td></tr><tr><td> <code>style</code> </td><td>The text contains stylistic errors.</td><td> <ul><li><p>Company style guidelines dictate that all individuals be referred to as Mr. or Ms. with a family name, but the text refers to “Jack Smith”.</p></li></ul> </td><td>S or T</td><td/></tr><tr><td> <code>characters</code> </td><td>The text contains characters that are garbled or incorrect or that are not used in the language in which the content appears.</td><td> <ul><li><p>A text ought to have a '•' but instead has a '¥' sign.</p></li><li><p>A German text erroneously uses û, ô, and â instead of the appropriate 'ü', 'ö', and 'ä'.</p></li><li><p>A Japanese text has been garbled and appears with Devanagari characters.</p></li></ul> </td><td>S or T</td><td>Characters ought to be used in cases of garbling or systematic use of inappropriate characters, not for spelling issues where individual characters are replaced with incorrect one.</td></tr><tr><td> <code>misspelling</code> </td><td>The text contains a misspelling.</td><td> <ul><li><p>A German text misspells the word "Zustellung" as "Zustlelung".</p></li></ul> </td><td>S or T</td><td/></tr><tr><td> <code>typographical</code> </td><td>The text has typographical errors such as omitted/incorrect punctuation, incorrect capitalization, etc.</td><td> <ul><li><p>An English text has the following sentence: "The man whom, we saw, was in the Military and carried it's insignias".</p></li></ul> </td><td>S or T</td><td/></tr><tr><td> <code>formatting</code> </td><td>The text is formatted incorrectly.</td><td> <ul><li><p>Warnings in the text are supposed to be set in italic face, but instead appear in bold face.</p></li><li><p>Margins of the text are narrower than specified.</p></li></ul> </td><td>S or T</td><td/></tr><tr><td> <code>inconsistent-entities</code> </td><td>The source and target text contain different named entities (dates, times, place names, individual names, etc.)</td><td> <ul><li><p>The name "Thaddeus Cahill" appears in an English source but is rendered as "Tamaš Cahill" in the Czech version.</p></li><li><p>The date "February 9, 2007" appears in the source but the translated text has "2. September 2007".</p></li></ul> </td><td>S or T</td><td/></tr><tr><td> <code>numbers</code> </td><td>Numbers are inconsistent between source and target.</td><td> <ul><li><p>A source text states that an object is 120 cm long, but the target text says that it is 129 cm. long.</p></li></ul> </td><td>S or T</td><td>Some tools may correct for differences in units of measurement to reduce false positives (e.g., a tool might adjust for differences in values between inches and centimeters to avoid flagging numbers that seem to be different but are in fact equivalent).</td></tr><tr><td> <code>markup</code> </td><td>There is an issue related to markup or a mismatch in markup between source and target.</td><td> <ul><li><p>The source segment has five markup tags but the target has only two.</p></li><li><p>An opening tag in the text is missing a closing tag.</p></li></ul> </td><td>S or T</td><td/></tr><tr><td> <code>pattern-problem</code> </td><td>The text fails to match a pattern that defines allowable content (or matches one that defines non-allowable content).</td><td> <ul><li><p>The tool disallows the regular expression pattern ['"”’][\.,] but the translated text contains "A leading “expert”, a political hack, claimed otherwise."</p></li><li><p>A tool uses a regular expression to ensure that the content of an element is an IRI and flags what appears to be a malformed IRI.</p></li></ul> </td><td>S or T</td><td>Defining what is or is not an allowable pattern is up to the processing application and is beyond the scope of this specification. Best practice would be to use the Comment attribute to specify the pattern that led to the issue.</td></tr><tr><td> <code>whitespace</code> </td><td>There is a mismatch in whitespace between source and target content or the text violates specific rules related to the use of whitespace.</td><td> <ul><li><p>A source segment starts with six space characters but the corresponding target segment has two non-breaking spaces at the start.</p></li><li><p>The text uses a run of 12 space characters instead of a tab character to align numbers in a table.</p></li><li><p>Two space characters appear after a period even though only a single space is to be used.</p></li></ul> </td><td>S or T</td><td/></tr><tr><td> <code>internationalization</code> </td><td>There is an issue related to the internationalization of content.</td><td> <ul><li><p>A line of programming code has embedded language-specific strings.</p></li><li><p>A user interface element leaves no room for text expansion.</p></li><li><p>A form allows only for U.S.-style postal addresses and expects five digit U.S. ZIP codes.</p></li></ul> </td><td>S or T</td><td>There are many kinds of internationalization issues. This value is therefore very heterogeneous in what it can refer to.</td></tr><tr><td> <code>length</code> </td><td>There is a significant difference in source and target length.</td><td> <ul><li><p>The translation of a segment is five times as long as the source.</p></li></ul> </td><td>S or T</td><td>What constitutes a "significant" difference in length is determined by the model referred to in the <code class="its-attr-markup">locQualityIssueProfileRef</code>.</td></tr><tr><td> <code>non-conformance</code> </td><td>The content is deemed to show poor statistical conformance to a reference corpus. Higher severity values reflect poorer conformance.</td><td>The sentence "The harbour connected which to printer is busy or configared not properly." would have poor conformance.</td><td>S or T</td><td>Non-conformance is determined through the use of multiple statistical measures of similarity to a corpus of known-good content. For example, in a system that uses classification techniques the poor conformance might be a function of combined incorrect terminology, wrong spelling and bad grammar, or other features as determined by the system.</td></tr><tr><td> <code>uncategorized</code> </td><td>The issue either has not been categorized or cannot be categorized.</td><td> <ul><li><p>A new version of a tool returns information on an issue that has not been previously checked and that is not yet classified.</p></li><li><p>A text is defective in ways that defy categorization, such as the appearance of nonsense garbled text of unknown origin (e.g., a translation shows an unintelligible result and/or appears unrelated to the source material).</p></li></ul> </td><td>S or T</td><td>This value has the following uses: <ol class="depth1"><li><p>A tool can use it to pass through quality data from another tool in cases where the issues from the other tool are not classified (for example, a localization quality assurance tool interfaces with a third-party grammar checker).</p></li><li><p>A tool’s issues are not yet assigned to values, and, until an updated assignment is made, they may be listed as <code>uncategorized</code>. In this case it is recommended that issues be assigned to appropriate values as soon as possible since <code>uncategorized</code> does not foster interoperability.</p></li><li><p><code>uncategorized</code> can be used where a portion of text is defective in a way that defies assignment to a value in either the originating system or in any other ITS localization quality markup to indicate that it is uncategorizable.</p></li></ol> </td></tr><tr><td> <code>other</code> </td><td>Any issue that cannot be assigned to any values listed above.</td><td/><td>S or T</td><td> <ul><li><p>This value allows for the inclusion of any issues not included in the previously listed values. It is encouraged not to use this value for any tool- or model-specific issues that can be mapped to the values listed above.</p></li><li><p>In addition, this value is not synonymous with <code>uncategorized</code> in that <code>uncategorized</code> issues may be assigned to another precise value, while other issues cannot.</p></li><li><p>If a system has an "miscellaneous" or "other" value, it is better to map this to this value even if the specific instance of the issue might be mapped to another value.</p></li></ul> </td></tr></tbody></table><div class="note"><p class="prefix"><b>Note:</b></p><p>The value <code>uncategorized</code> is used for issues that have not (yet) been categorized into a more specific value. For example, an automatic process might flag issues for attention but not provide any further detail or categorization: such issues would be listed as <code>uncategorized</code> in ITS 2.0. It may also be used when the exact nature of an issue is unclear and it cannot be categorized as a result (e.g., text is seriously garbled and the cause it unclear). By contrast other is used when the nature of an issue is clear but it cannot be categorized in one of the ITS 2.0 categories (or when a model or tool has its own “other” category). For example, in translation of subtitles there is a “respeaking” error category that does not correspond to any ITS 2.0 category and is highly specific to that environment; respeaking errors would therefore be categorized as <code>other</code> in ITS 2.0.</p></div></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="its-schemas" id="its-schemas"></a>D Schemas for ITS</h2><p> <em>This section is informative.</em> </p><div class="note"><p class="prefix"><b>Note:</b></p><p>The schemas are only informative and may be updated any time. An updated version of the schemas can be found in the <a href="https://github.com/w3c/its-2.0-testsuite/tree/master/its2.0/schema">ITS 2.0 test suite</a>.</p></div><p>The following schemas define ITS elements and attributes and can be used as building blocks when you want to integrate ITS markup into your own XML vocabulary. You can see examples of such integration in <a href="https://www.w3.org/TR/xml-i18n-bp/">Best Practices for XML Internationalization</a>.</p><p id="foreign-elements">Foreign elements can be used only inside <code class="its-elem-markup">rules</code>. Foreign attributes can be used on any element defined in ITS.</p><p>The following four schemas are provided:</p><p> <em>1. NVDL document</em>: The following <a title="Namespace-based Validation Dispatching Language&#xA; (NVDL)" href="#nvdl">[NVDL]</a> document allows validation of ITS markup that has been added to a host vocabulary. Only ITS elements and attributes are checked. Elements and attributes of the host language are ignored during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="its20.nvdl" id="its20.nvdl"></a>Example 91: NVDL schema for ITS</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;namespace</strong> <span class="hl-attribute" style="color: #F5844C">ns</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;validate</strong> <span class="hl-attribute" style="color: #F5844C">schema</span>=<span class="hl-value" style="color: #993300">"its20-elements.rng"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/namespace&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;namespace</strong> <span class="hl-attribute" style="color: #F5844C">ns</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">match</span>=<span class="hl-value" style="color: #993300">"attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;validate</strong> <span class="hl-attribute" style="color: #F5844C">schema</span>=<span class="hl-value" style="color: #993300">"its20-attributes.rng"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/namespace&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;anyNamespace&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;allow/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/anyNamespace&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/rules&gt;</strong></pre></div><p>[Source file: <a href="schemas/its20.nvdl">schemas/its20.nvdl</a>]</p></div><p> <em>2. RELAX NG schema for elements and attributes</em>: The NVDL schema depends on the following two schemas: RELAX NG schema for ITS elements, and RELAX NG schema for all ITS local attributes.</p><div class="exampleOuter"><div class="exampleHeader"><a name="its20-elements.rng" id="its20-elements.rng"></a>Example 92: RELAX NG schema for ITS elements</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;grammar</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://relaxng.org/ns/structure/1.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;include</strong> <span class="hl-attribute" style="color: #F5844C">href</span>=<span class="hl-value" style="color: #993300">"its20.rng"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;start&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-rules"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-span"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-standoff"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/start&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/grammar&gt;</strong> </pre></div><p>[Source file: <a href="schemas/its20-elements.rng">schemas/its20-elements.rng</a>]</p><p>(<a href="schemas/its20-elements.rnc">RELAX NG compact syntax version of schema</a>)</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="its20-attributes.rng" id="its20-attributes.rng"></a>Example 93: RELAX NG schema for all ITS local attributes</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;grammar</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://relaxng.org/ns/structure/1.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;include</strong> <span class="hl-attribute" style="color: #F5844C">href</span>=<span class="hl-value" style="color: #993300">"its20.rng"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;start&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-local.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.version"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/start&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/grammar&gt;</strong> </pre></div><p>[Source file: <a href="schemas/its20-attributes.rng">schemas/its20-attributes.rng</a>]</p><p>(<a href="schemas/its20-attributes.rnc">RELAX NG compact syntax version of schema</a>)</p></div><p> <em>3. Base RELAX NG schema for ITS</em>: All ITS elements and attributes referenced by previous two schemas are defined in the base RELAX NG schema for ITS. </p><div class="exampleOuter"><div class="exampleHeader"><a name="its20.rng" id="its20.rng"></a>Example 94: Base RELAX NG schema for ITS</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;grammar</strong> <span class="hl-attribute" style="color: #F5844C">ns</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:a</span>=<span class="hl-value" style="color: #993300">"http://relaxng.org/ns/compatibility/annotations/1.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:xlink</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xlink"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://relaxng.org/ns/structure/1.0"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2001/XMLSchema-datatypes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;include</strong> <span class="hl-attribute" style="color: #F5844C">href</span>=<span class="hl-value" style="color: #993300">"its20-types.rng"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.translate"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:translate"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-translate.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.translate.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"translate"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-translate.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.dir"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:dir"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-dir.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.dir.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"dir"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-dir.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNote"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locNote"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNote.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNote.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locNote"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNote.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNoteType"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locNoteType"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNoteType.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNoteType.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locNoteType"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNoteType.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNoteRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locNoteRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNoteRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNoteRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locNoteRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNoteRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.termInfoRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:termInfoRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-termInfoRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.termInfoRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"termInfoRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-termInfoRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.term"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:term"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-term.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.term.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"term"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-term.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.termConfidence"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:termConfidence"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-termConfidence.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.termConfidence.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"termConfidence"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-termConfidence.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.withinText"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:withinText"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-withinText.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.withinText.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"withinText"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-withinText.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.domainMapping"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:domainMapping"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-domainMapping.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.domainMapping.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"domainMapping"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-domainMapping.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taConfidence"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:taConfidence"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taConfidence.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taConfidence.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"taConfidence"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taConfidence.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taClassRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:taClassRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taClassRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taClassRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"taClassRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taClassRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taIdent"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:taIdent"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taIdent.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taIdent.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"taIdent"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taIdent.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taIdentRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:taIdentRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taIdentRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taIdentRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"taIdentRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taIdentRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taSource"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:taSource"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taSource.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taSource.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"taSource"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taSource.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.localeFilterList"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:localeFilterList"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-localeFilterList.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.localeFilterList.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"localeFilterList"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-localeFilterList.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.localeFilterType"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:localeFilterType"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-localeFilterType.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.localeFilterType.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"localeFilterType"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-localeFilterType.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.person"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:person"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-person.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.person.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"person"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-person.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.personRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:personRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-personRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.personRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"personRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-personRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.org"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:org"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-org.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.org.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"org"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-org.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.orgRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:orgRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-orgRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.orgRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"orgRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-orgRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.tool"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:tool"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-tool.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.tool.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"tool"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-tool.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.toolRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:toolRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-toolRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.toolRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"toolRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-toolRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revPerson"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:revPerson"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revPerson.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revPerson.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"revPerson"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revPerson.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revPersonRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:revPersonRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revPersonRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revPersonRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"revPersonRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revPersonRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revOrg"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:revOrg"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revOrg.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revOrg.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"revOrg"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revOrg.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revOrgRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:revOrgRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revOrgRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revOrgRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"revOrgRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revOrgRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revTool"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:revTool"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revTool.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revTool.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"revTool"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revTool.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revToolRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:revToolRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revToolRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revToolRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"revToolRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revToolRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.provRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:provRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.provRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"provRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.provenanceRecordsRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:provenanceRecordsRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provenanceRecordsRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.provenanceRecordsRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"provenanceRecordsRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provenanceRecordsRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssuesRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locQualityIssuesRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssuesRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssuesRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityIssuesRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssuesRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueType"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locQualityIssueType"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueType.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueType.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityIssueType"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueType.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueComment"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locQualityIssueComment"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueComment.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueComment.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityIssueComment"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueComment.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueSeverity"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locQualityIssueSeverity"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueSeverity.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueSeverity.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityIssueSeverity"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueSeverity.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueProfileRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locQualityIssueProfileRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueProfileRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueProfileRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityIssueProfileRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueProfileRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueEnabled"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locQualityIssueEnabled"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueEnabled.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueEnabled.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityIssueEnabled"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueEnabled.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingScore"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locQualityRatingScore"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingScore.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingScore.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityRatingScore"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingScore.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingVote"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locQualityRatingVote"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingVote.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingVote.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityRatingVote"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingVote.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingScoreThreshold"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locQualityRatingScoreThreshold"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingScoreThreshold.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingScoreThreshold.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityRatingScoreThreshold"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingScoreThreshold.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingVoteThreshold"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locQualityRatingVoteThreshold"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingVoteThreshold.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingVoteThreshold.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityRatingVoteThreshold"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingVoteThreshold.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingProfileRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locQualityRatingProfileRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingProfileRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingProfileRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityRatingProfileRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingProfileRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.mtConfidence"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:mtConfidence"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-mtConfidence.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.mtConfidence.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"mtConfidence"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-mtConfidence.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.allowedCharacters"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:allowedCharacters"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-allowedCharacters.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.allowedCharacters.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"allowedCharacters"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-allowedCharacters.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageSize"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:storageSize"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageSize.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageSize.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"storageSize"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageSize.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageEncoding"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:storageEncoding"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageEncoding.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageEncoding.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"storageEncoding"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageEncoding.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.lineBreakType"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:lineBreakType"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-lineBreakType.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.lineBreakType.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"lineBreakType"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-lineBreakType.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.annotatorsRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:annotatorsRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-annotatorsRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.annotatorsRef.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"annotatorsRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-annotatorsRef.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.version"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:version"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Version of ITS<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-version.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.version.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"version"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Version of ITS<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-version.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.queryLanguage"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:queryLanguage"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-queryLanguage.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.queryLanguage.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"queryLanguage"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-queryLanguage.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.xlink.href"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"xlink:href"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.xlink.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"xlink:type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>simple<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"selector"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-absolute-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;anyName&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;except&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;nsName</strong> <span class="hl-attribute" style="color: #F5844C">ns</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/except&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/anyName&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-no-xml-id-attribute"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;anyName&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;except&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;nsName</strong> <span class="hl-attribute" style="color: #F5844C">ns</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;name&gt;</strong>xml:id<strong class="hl-tag" style="color: #000096">&lt;/name&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/except&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/anyName&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-no-xlink-attribute"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;anyName&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;except&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;nsName</strong> <span class="hl-attribute" style="color: #F5844C">ns</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;nsName</strong> <span class="hl-attribute" style="color: #F5844C">ns</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xlink"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/except&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/anyName&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-any-attribute"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;anyName/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-any-element"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;anyName/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-any-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;text/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-any-element"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-element"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;anyName&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;except&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;nsName/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/except&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/anyName&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-any-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;text/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-element"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-rules"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"rules"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Container for global rules<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-rules.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-rules.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-rules.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-param"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-translateRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNoteRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-termRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-dirRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-langRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-withinTextRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-domainRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-textAnalysisRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-localeFilterRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-mtConfidenceRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-externalResourceRefRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-targetPointerRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-idValueRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-preserveSpaceRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-allowedCharactersRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageSizeRule"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-element"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-rules.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.version.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.xlink.href"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.xlink.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.queryLanguage.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-no-xlink-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-param"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"param"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Declaration of variable used in selectors<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-param.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-param.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-param.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;text/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-param.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"name"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-local.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.translate"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.dir"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNote"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNoteRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNoteType"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.term"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.termInfoRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.termConfidence"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.withinText"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taConfidence"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taClassRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taSource"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taIdent"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taIdentRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.localeFilterList"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.localeFilterType"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.person"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.personRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.org"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.orgRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.tool"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.toolRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revPerson"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revPersonRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revOrg"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revOrgRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revTool"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revToolRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.provRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.provenanceRecordsRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssuesRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueType"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueComment"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueSeverity"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueProfileRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueEnabled"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingScore"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingScoreThreshold"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingVote"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingVoteThreshold"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingProfileRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.mtConfidence"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.allowedCharacters"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageSize"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageEncoding"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.lineBreakType"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.annotatorsRef"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-local.nons.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.translate.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.dir.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNote.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNoteRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNoteType.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.term.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.termInfoRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.termConfidence.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.withinText.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taConfidence.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taClassRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taSource.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taIdent.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taIdentRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.localeFilterList.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.localeFilterType.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.person.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.personRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.org.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.orgRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.tool.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.toolRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revPerson.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revPersonRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revOrg.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revOrgRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revTool.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revToolRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.provRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.provenanceRecordsRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssuesRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueType.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueComment.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueSeverity.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueProfileRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueEnabled.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingScore.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingScoreThreshold.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingVote.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingVoteThreshold.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityRatingProfileRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.mtConfidence.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.allowedCharacters.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageSize.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageEncoding.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.lineBreakType.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.annotatorsRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-span"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"span"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Inline element to contain ITS information<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-span.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-span.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-span.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;text/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-span"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-span.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-local.nons.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-translateRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"translateRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Translate data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-translateRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-translateRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-translateRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-translateRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.translate.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNoteRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locNoteRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Localization Note data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNoteType.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNote"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNotePointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNoteRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNoteRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNotePointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locNotePointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locNoteRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locNoteRefPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNote"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locNote"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Localization note<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNote.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNote.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNote.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;text/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-span"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNote.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-local.nons.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-termRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"termRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Terminology data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-termRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-termRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-termRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-termRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.term.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.termInfoPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.termInfoRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.termInfoRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.termInfoPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"termInfoPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.termInfoRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"termInfoRefPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-dirRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"dirRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Directionality data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-dirRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-dirRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-dirRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-dirRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.dir.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-langRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"langRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Language Information data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-langRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-langRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-langRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-langRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.langPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.langPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"langPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-withinTextRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"withinTextRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Elements Within Text data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-withinTextRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-withinTextRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-withinTextRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-withinTextRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.withinText.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-domainRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"domainRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Domain data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-domainRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-domainRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-domainRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-domainRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.domainPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.domainMapping.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.domainPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"domainPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-textAnalysisRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"textAnalysisRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Disambiguation data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-textAnalysisRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-textAnalysisRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-textAnalysisRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-textAnalysisRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taClassRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taSourcePointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taIdentPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taIdentRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taClassRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"taClassRefPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taClassRefPointer.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taIdentPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"taIdentPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taIdentPointer.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taSourcePointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"taSourcePointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taSourcePointer.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.taIdentRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"taIdentRefPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taIdentRefPointer.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-localeFilterRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"localeFilterRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the LocaleFilter data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-localeFilterRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-localeFilterRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-localeFilterRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-localeFilterRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.localeFilterList.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.localeFilterType.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"provRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Provenance data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.provenanceRecordsRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.provenanceRecordsRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"provenanceRecordsRefPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-externalResourceRefRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"externalResourceRefRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the External Resource data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-externalResourceRefRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-externalResourceRefRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-externalResourceRefRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-externalResourceRefRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.externalResourceRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.externalResourceRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"externalResourceRefPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-targetPointerRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"targetPointerRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Target Pointer data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-targetPointerRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-targetPointerRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-targetPointerRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-targetPointerRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.targetPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.targetPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"targetPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-idValueRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"idValueRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Id Value data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-idValueRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-idValueRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-idValueRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-idValueRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.idValue.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.idValue.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"idValue"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-xpath-expression.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-preserveSpaceRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"preserveSpaceRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Preserve Space data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-preserveSpaceRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-preserveSpaceRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-preserveSpaceRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-preserveSpaceRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.space.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.space.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"space"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>default<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>preserve<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityIssueRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Localization Quality Issue data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssuesRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssuesRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;oneOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueType.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueComment.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/oneOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueSeverity.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueProfileRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueEnabled.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/group&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssuesRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityIssuesRefPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-mtConfidenceRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"mtConfidenceRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the MT Confidence data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-mtConfidenceRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-mtConfidenceRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-mtConfidenceRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-mtConfidenceRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.mtConfidence.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-allowedCharactersRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"allowedCharactersRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Allowed Characters data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-allowedCharactersRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-allowedCharactersRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-allowedCharactersRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-allowedCharactersRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.allowedCharacters.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.allowedCharactersPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.allowedCharactersPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"allowedCharactersPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageSizeRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"storageSizeRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Rule about the Allowed Characters data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageSizeRule.content"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageSizeRule.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageSizeRule.content"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;empty/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageSizeRule.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageSize.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageSizePointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageEncoding.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageEncodingPointer.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.lineBreakType.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageSizePointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"storageSizePointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.storageEncodingPointer.nons"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"storageEncodingPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-standoff"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provenanceRecords"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssues"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provenanceRecords"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:provenanceRecords"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Standoff markup for Provenance data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;oneOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provenanceRecord"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/oneOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"xml:id"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"ID"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.version.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-no-xml-id-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provenanceRecord"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:provenanceRecord"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Provenance record used in Provenance standoff markup<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provenanceRecord.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provenanceRecord.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.person.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.personRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.org.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.orgRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.tool.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.toolRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revPerson.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revPersonRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revOrg.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revOrgRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revTool.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.revToolRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.provRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssues"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locQualityIssues"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Standoff markup for Localization Quality Issue data category<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;oneOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssue"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/oneOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"xml:id"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"ID"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/attribute&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.version.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-no-xml-id-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssue"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;element</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its:locQualityIssue"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Issue recorded in Localization Quality standoff markup<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssue.attributes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/element&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssue.attributes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueType.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueComment.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueSeverity.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueProfileRef.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueEnabled.nons"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/optional&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-foreign-attribute"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/zeroOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/interleave&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/grammar&gt;</strong> </pre></div><p>[Source file: <a href="schemas/its20.rng">schemas/its20.rng</a>]</p><p>(<a href="schemas/its20.rnc">RELAX NG compact syntax version of schema</a>)</p></div><p> <em>4. Data type definitions</em>: All datatypes used in the base RELAX NG schema are defined the following schema. </p><div class="exampleOuter"><div class="exampleHeader"><a name="its20-types.rng" id="its20-types.rng"></a>Example 95: RELAX NG schema with datatypes for ITS</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;grammar</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:a</span>=<span class="hl-value" style="color: #993300">"http://relaxng.org/ns/compatibility/annotations/1.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://relaxng.org/ns/structure/1.0"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2001/XMLSchema-datatypes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-version.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Version of ITS<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;param</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"pattern"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>[0-9]+\.[0-9]+<strong class="hl-tag" style="color: #000096">&lt;/param&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-queryLanguage.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The query language to be used for processing the rules<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>xpath<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>css<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;text/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-absolute-selector.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Absolute selector<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Relative selector<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-xpath-expression.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-confidence.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"double"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;param</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"minInclusive"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>0<strong class="hl-tag" style="color: #000096">&lt;/param&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;param</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"maxInclusive"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>1<strong class="hl-tag" style="color: #000096">&lt;/param&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-translate.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The Translate data category information to be attached to the current node<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>yes<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The nodes need to be translated<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>no<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The nodes must not be translated<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNote.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNoteType.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The type of localization note<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>alert<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Localization note is an alert<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>description<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Localization note is a description<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locNoteRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-termInfoRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-term.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Indicates a term locally<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>yes<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The value 'yes' means that this is a term<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>no<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The value 'no' means that this is not a term<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-termConfidence.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-confidence.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-dir.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The text direction for the context<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>ltr<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Left-to-right text<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>rtl<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Right-to-left text<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>lro<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Left-to-right override<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>rlo<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>Right-to-left override<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-withinText.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>States whether current context is regarded as "within text"<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>yes<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The element and its content are part of the flow of its parent element<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>no<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The element splits the text flow of its parent element and its content is an independent text flow<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>nested<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The element is part of the flow of its parent element, its content is an independent flow<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-domainMapping.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>A comma separated list of mappings between values in the content and workflow specific values. The values may contain spaces; in that case they MUST be delimited by quotation marks.<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taConfidence.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-confidence.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taClassPointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taClassRefPointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taClassRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taIdentRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taIdent.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taSource.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taIdentPointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taIdentRefPointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-taSourcePointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-localeFilterList.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-localeFilterType.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>include<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>exclude<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provenanceRecordsRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-person.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-personRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-org.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-orgRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-tool.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-toolRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revPerson.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revPersonRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revOrg.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revOrgRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revTool.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-revToolRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-provRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;list&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;oneOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/oneOrMore&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/list&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-externalResourceRefPointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-targetPointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-idValue.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-space.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>default<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>preserve<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssuesRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssuesRefPointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueType.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>terminology<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>mistranslation<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>omission<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>untranslated<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>addition<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>duplication<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>inconsistency<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>grammar<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>legal<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>register<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>locale-specific-content<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>locale-violation<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>style<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>characters<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>misspelling<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>typographical<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>formatting<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>inconsistent-entities<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>numbers<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>markup<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>pattern-problem<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>whitespace<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>internationalization<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>length<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>non-conformance<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>uncategorized<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>other<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueTypePointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueComment.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueCommentPointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueSeverity.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"double"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;param</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"minInclusive"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>0<strong class="hl-tag" style="color: #000096">&lt;/param&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;param</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"maxInclusive"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>100<strong class="hl-tag" style="color: #000096">&lt;/param&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueSeverityPointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueProfileRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueProfileRefPointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueEnabled.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>yes<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>no<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingScore.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"double"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;param</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"minInclusive"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>0<strong class="hl-tag" style="color: #000096">&lt;/param&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;param</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"maxInclusive"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>100<strong class="hl-tag" style="color: #000096">&lt;/param&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingVote.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"integer"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingScoreThreshold.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"double"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;param</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"minInclusive"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>0<strong class="hl-tag" style="color: #000096">&lt;/param&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;param</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"maxInclusive"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>100<strong class="hl-tag" style="color: #000096">&lt;/param&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingVoteThreshold.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"integer"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityRatingProfileRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"anyURI"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-mtConfidence.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-confidence.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-allowedCharacters.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-allowedCharactersPointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageSize.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"nonNegativeInteger"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageSizePointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageEncoding.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-storageEncodingPointer.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-relative-selector.type"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-lineBreakType.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>cr<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>lf<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>crlf<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/choice&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-annotatorsRef.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/grammar&gt;</strong> </pre></div><p>[Source file: <a href="schemas/its20-types.rng">schemas/its20-types.rng</a>]</p><p>(<a href="schemas/its20-types.rnc">RELAX NG compact syntax version of schema</a>)</p></div><p> <em>5. Schematron schema</em>: Several constraints of ITS markup cannot be validated with above ITS schemas. The following <a title="Rule-based validation –&#xA; Schematron" href="#schematron">[Schematron]</a> document allows for validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="its-constraints-check-schematron" id="its-constraints-check-schematron"></a>Example 96: Schematron schema for ITS</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span> <strong class="hl-tag" style="color: #000096">&lt;schema</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://purl.oclc.org/dsdl/schematron"</span> <span class="hl-attribute" style="color: #F5844C">queryBinding</span>=<span class="hl-value" style="color: #993300">"xslt2"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ns</strong> <span class="hl-attribute" style="color: #F5844C">uri</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">prefix</span>=<span class="hl-value" style="color: #993300">"its"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;ns</strong> <span class="hl-attribute" style="color: #F5844C">uri</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xlink"</span> <span class="hl-attribute" style="color: #F5844C">prefix</span>=<span class="hl-value" style="color: #993300">"xlink"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Indicating the Version of ITS<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"*[@its:*]"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"ancestor-or-self::*/@its:version | //its:rules/@version"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> The version is indicated by the ITS version attribute. This attribute is mandatory for the rules element, where it MUST be in no namespace. If there is no rules element in an XML document, a prefixed ITS version attribute (e.g. its:version) MUST be on the element where the ITS markup is used, or on one of its ancestors.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"its:provenanceRecords | its:locQualityIssues"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"self::*/@version | ancestor::*/@its:version | //its:rules/@version"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> The version is indicated by the ITS version attribute. This attribute is mandatory for the rules element, where it MUST be in no namespace. If there is no rules element in an XML document, a prefixed ITS version attribute (e.g. its:version) MUST be on the element where the ITS markup is used, or on one of its ancestors. For standoff markup unprefixed version attribute is used.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"*[@its:version]"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"if (@its:version and //its:rules/@version) then //its:rules/@version = @its:version else true()"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> There MUST NOT be two different versions of ITS in the same document.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"every $v in //*/@its:version satisfies $v = @its:version"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> There MUST NOT be two different versions of ITS in the same document.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"its:provenanceRecords | its:locQualityIssues"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"if (@version and //its:rules/@version) then //its:rules/@version = @version else true()"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> There MUST NOT be two different versions of ITS in the same document.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"every $v in //*/@its:version satisfies $v = @version"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> There MUST NOT be two different versions of ITS in the same document.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Global, Rule-based Selection<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"its:rules"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"every $rules in //its:rules satisfies $rules/@version = current()/@version"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> If there is more than one rules element in an XML document, the rules from each section are to be processed at the same precedence level. The rules sections are to be read in document order, and the ITS rules with them processed sequentially. The versions of these rules elements MUST NOT be different.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Link to External Rules<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"its:rules[@xlink:href]"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"count(doc(resolve-uri(@xlink:href, base-uri()))//its:rules) le 1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> The referenced document must be a valid XML document containing at most one rules element.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>ITS Tools Annotation<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"*[@its:annotatorsRef]"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"every $ref in tokenize(@its:annotatorsRef, '\s+') satisfies matches($ref, ' (translate|localization-note|terminology|directionality|language-information| elements-within-text|domain|text-analysis|locale-filter|provenance|external-resource| target-pointer|id-value|preserve-space|localization-quality-issue|localization-quality-rating| mt-confidence|allowed-characters|storage-size)\|.+')"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> The value of annotatorsRef is a space-separated list of references where each reference is composed of two parts: a data category identifier and an IRI. These two parts are separated by a character | VERTICAL LINE (U+007C).<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Source of confidence<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"*[@its:termConfidence]"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"ancestor-or-self::*[@its:annotatorsRef] [matches(@its:annotatorsRef, '.*\s*terminology\|.+')]"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> Any node selected by the terminology data category with the termConfidence attribute specified MUST be contained in an element with the annotatorsRef attribute specified for the Terminology data category.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"*[@its:taConfidence]"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"ancestor-or-self::*[@its:annotatorsRef] [matches(@its:annotatorsRef, '.*\s*text-analysis\|.+')]"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> Any node selected by the Text Analysis data category with the taConfidence attribute specified MUST be contained in an element with the annotatorsRef attribute specified for the Text Analysis data category.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"*[@its:mtConfidence]"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"ancestor-or-self::*[@its:annotatorsRef] [matches(@its:annotatorsRef, '.*\s*mt-confidence\|.+')]"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> Any node selected by the MT Confidence data category MUST be contained in an element with the annotatorsRef attribute specified for the MT Confidence data category.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Text analysis<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"its:textAnalysisRule"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"@taClassRefPointer | @taSourcePointer | @taIdentPointer | @taIdentRefPointer"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> Text analysis rule must specify at least target type class or target identity.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Provenance standoff markup<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"its:provenanceRecord"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"@person | @personRef | @org | @orgRef | @tool | @toolRef | @revPerson | @revPersonRef | @revOrg | @revOrgRef | @revTool | @revToolRef | @provRef"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> At least one attribute must be specified on the provenanceRecord element.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/pattern&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;/schema&gt;</strong></pre></div><p>[Source file: <a href="schemas/its20.sch">schemas/its20.sch</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>In order to make it easy to integrate ITS markup into schemas based on W3C XML Schema language the following informative schemas are provided:</p><ul><li><p> <a href="schemas/its20.xsd">its20.xsd</a> – base schema for ITS</p></li><li><p> <a href="schemas/its20-types.xsd">its20-types.xsd</a> – schema defining datatypes used in ITS markup</p></li></ul><p>Please note that W3C XML Schema is less expressive then RELAX NG and some content models are more loose. A document can validate against W3C XML Schema while it is not conforming to ITS specification and it is not valid according to RELAX NG schema.</p></div></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="informative-references" id="informative-references"></a>E Informative References</h2><p> <em>This section is informative.</em> </p><dl><dt class="label"><a name="bidiarticle" id="bidiarticle"/>Bidi Article</dt><dd>Richard Ishida. <a href="https://www.w3.org/International/articles/inline-bidi-markup/"><cite>What you need to know about the bidi algorithm and inline markup</cite></a>. Article of the <a href="https://www.w3.org/International/">W3C Internationalization Activity</a>, June 2005.</dd><dt class="label"><a name="charmod-norm" id="charmod-norm"/>Charmod Norm</dt><dd>Yergeau, François, Martin J. Dürst, Richard Ishida, Addison Phillips, Misha Wolf, Tex Texin. <a href="https://www.w3.org/TR/2012/WD-charmod-norm-20120501/"><cite>Character Model for the World Wide Web 1.0: Normalization</cite></a>. W3C Working Draft 1 May 2012. Available at <a href="https://www.w3.org/TR/2012/WD-charmod-norm-20120501/">http://www.w3.org/TR/2012/WD-charmod-norm-20120501/</a>. The latest version of <a href="https://www.w3.org/TR/charmod-norm/">Charmod Norm</a> is available at http://www.w3.org/TR/charmod-norm/ .</dd><dt class="label"><a name="checkmate" id="checkmate"/>CheckMate Quality Check</dt><dd>Okapi Project. <a href="http://www.opentag.com/okapi/wiki/index.php?title=CheckMate_-_Quality_Check_Configuration"><cite>CheckMate – Quality Check Configuration</cite></a>. Available at <a href="http://www.opentag.com/okapi/wiki/index.php?title=CheckMate_-_Quality_Check_Configuration">http://www.opentag.com/okapi/wiki/index.php?title=CheckMate_-_Quality_Check_Configuration</a>.</dd><dt class="label"><a name="css2-1" id="css2-1"/>CSS 2.1</dt><dd> Bert Bos, Tantek Çelik, Ian Hickson Håkon Wium Lie. <a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/"><cite>Cascading Style Sheets, level 2 revision 1 CSS 2.1 Specification</cite></a>. W3C Recommendation 7 June 2011. Available at <a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/"> http://www.w3.org/TR/2011/REC-CSS2-20110607/</a>. The latest version of <a href="https://www.w3.org/TR/CSS21/">CSS2</a> is available at http://www.w3.org/TR/CSS21/.</dd><dt class="label"><a name="dbpedia" id="dbpedia"/>DBpedia</dt><dd> <cite>DBpedia</cite>. Available at: <a href="http://dbpedia.org/OnlineAccess">http://dbpedia.org/OnlineAccess</a>.</dd><dt class="label"><a name="dita10" id="dita10"/>DITA 1.0</dt><dd>Michael Priestley, JoAnn Hackos, et. al., editors. <a href="https://www.oasis-open.org/committees/download.php/15316/dita10.zip"><cite>OASIS Darwin Information Typing Architecture (DITA) Language Specification v1.0</cite></a>. OASIS Standard 9 May 2005. Available at <a href="https://www.oasis-open.org/committees/download.php/15316/dita10.zip"> https://www.oasis-open.org/committees/download.php/15316/dita10.zip</a>.</dd><dt class="label"><a name="docbook" id="docbook"/>DocBook</dt><dd>Norman Walsh and Leonard Muellner. <a href="http://www.docbook.org/"><cite>DocBook: The Definitive Guide</cite></a>. Available at <a href="http://www.docbook.org/"> http://www.docbook.org/</a>.</dd><dt class="label"><a name="geo-i18n-l10n" id="geo-i18n-l10n"/>l10n i18n</dt><dd>Richard Ishida, Susan Miller. <a href="https://www.w3.org/International/questions/qa-i18n"><cite>Localization vs. Internationalization</cite></a>. Article of the <a href="https://www.w3.org/International/">W3C Internationalization Activity</a>, January 2006.</dd><dt class="label"><a name="iso30042" id="iso30042"/>ISO 30042</dt><dd>(International Organization for Standardization). <cite>TermBase eXchange (TBX)</cite>. [Geneva]: International Organization for Standardization, 2008.</dd><dt class="label"><a name="isots11669" id="isots11669"/>ISO/TS 11669:2002</dt><dd>(International Organization for Standardization). <cite>Translation projects – General guidance</cite>. [Geneva]: International Organization for Standardization, 2012.</dd><dt class="label"><a name="its10" id="its10"/>ITS 1.0</dt><dd>Christian Lieske and Felix Sasaki. <a href="https://www.w3.org/TR/2007/REC-its-20070403/"><cite>
Internationalization Tag Set (ITS) Version 1.0
</cite></a>. W3C Recommendation 03 April 2007. Available at <a href="https://www.w3.org/TR/2007/REC-its-20070403/">http://www.w3.org/TR/2007/REC-its-20070403/</a>. The latest version of <a href="https://www.w3.org/TR/its/">ITS 1.0</a> is available at
 http://www.w3.org/TR/its/.</dd><dt class="label"><a name="its-rdf-ontology" id="its-rdf-ontology"/>ITS RDF</dt><dd> <a href="https://www.w3.org/2005/11/its/rdf#"><cite>ITS RDF Ontology</cite></a>, version May 2013. Available at http://www.w3.org/2005/11/its/rdf# .</dd><dt class="label"><a name="itsreq" id="itsreq"/>ITS REQ</dt><dd>Yves Savourel. <a href="https://www.w3.org/TR/2006/WD-itsreq-20060518/"><cite>Internationalization and Localization Markup Requirements</cite></a>. W3C Working Draft 18 May 2006. Available at <a href="https://www.w3.org/TR/2006/WD-itsreq-20060518/"> http://www.w3.org/TR/2006/WD-itsreq-20060518/</a>. The latest version of <a href="https://www.w3.org/TR/itsreq/">ITS REQ</a> is available at http://www.w3.org/TR/itsreq/.</dd><dt class="label"><a name="reqlocdtd" id="reqlocdtd"/>Localizable DTDs</dt><dd>Richard Ishida, Yves Savourel <a href="http://people.w3.org/rishida/localizable-dtds/"><cite>Requirements for Localizable DTD Design</cite></a>. Working Draft 7 July 2003. Available at <a href="http://people.w3.org/rishida/localizable-dtds/">http://people.w3.org/rishida/localizable-dtds/</a>. </dd><dt class="label"><a name="microdata" id="microdata"/>Microdata</dt><dd>Ian Hickson <a href="https://www.w3.org/TR/microdata/"><cite>HTML Microdata</cite></a>. W3C Working Draft 25 October 2012. Available at <a href="https://www.w3.org/TR/2012/WD-microdata-20121025/">http://www.w3.org/TR/2012/WD-microdata-20121025/</a>. </dd><dt class="label"><a name="mlw-metadata-us-impl" id="mlw-metadata-us-impl"/>MLW US IMPL</dt><dd>Christian Lieske (ed.). <a href="https://www.w3.org/TR/2013/WD-mlw-metadata-us-impl-20130307/"><cite>Metadata for the Multilingual Web - Usage Scenarios and Implementations </cite></a>. W3C Working Draft 7 March 2013. Available at <a href="https://www.w3.org/TR/2013/WD-mlw-metadata-us-impl-20130307/">http://www.w3.org/TR/2013/WD-mlw-metadata-us-impl-20130307/</a>. The latest version of <a href="https://www.w3.org/TR/mlw-metadata-us-impl/">MLW Metadata US IMPL</a> is available at http://www.w3.org/TR/mlw-metadata-us-impl/ .</dd><dt class="label"><a name="mqm" id="mqm"/>Multidimensional Quality Metrics</dt><dd>Lommel, Arle. <cite>Useful Quality Metrics (for Humans, Not Researchers)</cite>. Presentation at the Workshop on UserCentric Machine Translation &amp; Evaluation, <a href="http://www.mtsummit2013.info/workshops.asp">MT Summit 2013</a>.</dd><dt class="label"><a name="nerd" id="nerd"/>NERD</dt><dd> <cite>Named Entity Recognition and Disambiguation ontology (NERD)</cite>. available at: <a href="http://nerd.eurecom.fr/ontology">http://nerd.eurecom.fr/ontology</a> </dd><dt class="label"><a name="nif-reference" id="nif-reference"/>NIF</dt><dd>Hellmann, S. et al. (ed.). <a href="http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#"><cite>NIF 2.0 Core Ontology</cite></a>, as of August 2013. Available at <a href="http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#">http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#</a> under CC-BY 3.0 license maintained by the <a href="http://nlp2rdf.org">NLP2RDF project</a>.</dd><dt class="label"><a name="nvdl" id="nvdl"/>NVDL</dt><dd>Information technology – Document Schema Definition Languages (DSDL) – Part 4: <cite>Namespace-based Validation Dispatching Language (NVDL)</cite>. International Organization for Standardization (ISO) ISO/IEC 19757-4:2003.</dd><dt class="label"><a name="opendocument" id="opendocument"/>OpenDocument</dt><dd>Michael Brauer et al. <a href="https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office"><cite>OASIS Open Document Format for Office Applications (OpenDocument).</cite></a>. Oasis Standard 1 May 2005. Available at <a href="https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office"> https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office</a>. The latest version of <a href="https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office"> OpenDocument</a> is available at https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office.</dd><dt class="label"><a name="prov-dm" id="prov-dm"/>PROV-DM</dt><dd>Moreau, Luc and Paolo Missier (eds.). <a href="https://www.w3.org/TR/2013/REC-prov-dm-20130430/"><cite>Provenance data model</cite></a>. W3C Recommendation 30 April 2013. Available at <a href="https://www.w3.org/TR/2013/REC-prov-dm-20130430/">http://www.w3.org/TR/2013/REC-prov-dm-20130430/</a>. The latest version of <a href="https://www.w3.org/TR/prov-dm/">The PROV Data Model</a> is available at http://www.w3.org/TR/prov-dm/. </dd><dt class="label"><a name="rdfa-lite" id="rdfa-lite"/>RDFaLite</dt><dd>Manu Sporny (ed.). <a href="https://www.w3.org/TR/rdfa-lite/"><cite>RDFa Lite 1.1</cite></a>. W3C Recommendation 07 June 2012. Available at <a href="https://www.w3.org/TR/2012/REC-rdfa-lite-20120607/">http://www.w3.org/TR/2012/REC-rdfa-lite-20120607/</a>. </dd><dt class="label"><a name="schematron" id="schematron"/>Schematron</dt><dd>Information technology – Document Schema Definition Languages (DSDL) – Part 3: <cite>Rule-based validation – Schematron</cite>. International Organization for Standardization (ISO) ISO/IEC 19757-3:2003.</dd><dt class="label"><a name="structuredspecs" id="structuredspecs"/>Structured Specifications</dt><dd>(BYU Translation Research Group). <cite>Structured Specifications and Translation Parameters</cite>. Available at <a href="http://www.ttt.org/specs/">http://www.ttt.org/specs</a>.</dd><dt class="label"><a name="tei" id="tei"/>TEI</dt><dd>Lou Burnard and Syd Bauman (eds.) <a href="http://www.tei-c.org/Guidelines/P5/"><cite>Text Encoding Initiative Guidelines development version (P5)</cite></a>. TEI Consortium, Charlottesville, Virginia, USA, Text Encoding Initiative.</dd><dt class="label"><a name="wordnet" id="wordnet"/>WordNet</dt><dd> <cite>WordNet</cite>. Princeton University, 2010. Available at: <a href="http://wordnet.princeton.edu">http://wordnet.princeton.edu</a>.</dd><dt class="label"><a name="xhtml10" id="xhtml10"/>XHTML 1.0</dt><dd>Steven Pemberton et al. <a href="https://www.w3.org/TR/2002/REC-xhtml1-20020801/"><cite>XHTML™ 1.0 The Extensible HyperText Markup Language (Second Edition)</cite></a>. W3C Recommendation 26 January 2000, revised 1 August 2002. Available at <a href="https://www.w3.org/TR/2002/REC-xhtml1-20020801/"> http://www.w3.org/TR/2002/REC-xhtml1-20020801/</a>. The latest version of <a href="https://www.w3.org/TR/xhtml1/">XHTML 1.0</a> is available at http://www.w3.org/TR/xhtml1/.</dd><dt class="label"><a name="xliff1.2" id="xliff1.2"/>XLIFF 1.2</dt><dd>Savourel, Yves, John Reid, Tony Jewtushenko and Rodolfo M. Raya. <a href="http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html"><cite>XLIFF Version 1.2</cite></a>. OASIS Standard 1 February 2008. Available at <a href="http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html">http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html</a>.</dd><dt class="label"><a name="xliff2.0" id="xliff2.0"/>XLIFF 2.0</dt><dd>Comerford, Tom, David Filip, Rodolfo M. Raya and Yves Savourel. <a href="http://docs.oasis-open.org/xliff/xliff-core/v2.0/csprd01/xliff-core-v2.0-csprd01.html"><cite>XLIFF Version 2.0</cite></a>. Committee Specification Draft 01 / Public Review Draft 01. Available at <a href="http://docs.oasis-open.org/xliff/xliff-core/v2.0/csprd01/xliff-core-v2.0-csprd01.html">http://docs.oasis-open.org/xliff/xliff-core/v2.0/csprd01/xliff-core-v2.0-csprd01.html</a>. The latest version of <a href="http://docs.oasis-open.org/xliff/xliff-core/v2.0/xliff-core-v2.0.html">XLIFF 2.0</a> is available at http://docs.oasis-open.org/xliff/xliff-core/v2.0/xliff-core-v2.0.html</dd><dt class="label"><a name="xml-i18n-bp" id="xml-i18n-bp"/>XML i18n BP</dt><dd>Yves Savourel, Jirka Kosek, Richard Ishida. <a href="https://www.w3.org/TR/2008/NOTE-xml-i18n-bp-20080213/"><cite>Best Practices for XML Internationalization</cite></a>. Available at <a href="https://www.w3.org/TR/2008/NOTE-xml-i18n-bp-20080213/">http://www.w3.org/TR/2008/NOTE-xml-i18n-bp-20080213/</a>. The latest version of <a href="https://www.w3.org/TR/xml-i18n-bp/">xml-i18n-bp</a> is available at http://www.w3.org/TR/xml-i18n-bp/.</dd><dt class="label"><a name="xmlspecbib" id="xmlspecbib"/>XMLSPEC</dt><dd> <a href="https://www.w3.org/2002/xmlspec/"><cite>The XML Spec Schema and Stylesheets</cite></a>. Available at <a href="https://www.w3.org/2002/xmlspec/"> http://www.w3.org/2002/xmlspec/</a>.</dd><dt class="label"><a name="xslt10" id="xslt10"/>XSLT 1.0</dt><dd> James Clark. <a href="https://www.w3.org/TR/1999/REC-xslt-19991116"><cite>XSL Transformations (XSLT) Version 1.0</cite></a>. W3C Recommendation 16 November 1999. Available at <a href="https://www.w3.org/TR/1999/REC-xslt-19991116"> http://www.w3.org/TR/1999/REC-xslt-19991116</a>. The latest version of <a href="https://www.w3.org/TR/xslt">XSLT 1.0</a> is available at http://www.w3.org/TR/xslt.</dd><dt class="label"><a name="xul" id="xul"/>XUL</dt><dd> <a href="https://developer.mozilla.org/en-US/docs/XUL"><cite>exTensible User Interface Language</cite></a>. Available at <a href="https://developer.mozilla.org/en-US/docs/XUL">https://developer.mozilla.org/en-US/docs/XUL</a>.</dd></dl></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="conversion-to-nif" id="conversion-to-nif"></a>F Conversion to NIF</h2><p> <em>This section is informative.</em> </p><p>This section provides an informative algorithm to convert XML or HTML documents (or their DOM representations) that contain ITS metadata to the RDF format based on <a title="NIF 2.0 Core Ontology" href="#nif-reference">[NIF]</a>. The conversion results in RDF triples.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The algorithm creates URIs that in the query part contain the characters "[" and "]", as part of XPath expressions. In the conversion output (see an <a href="examples/nif/EX-nif-conversion-output.ttl">example</a>), The URIs are escaped as "%5B" and "%5D". For readability the URIs shown in this section do not escape these characters.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>The algorithm is intended to extract the text from the XML/HTML/DOM for an NLP tool. It can produce a lot of "<span class="quote">phantom</span>" predicates from excessive whitespace, which 1) increases the size of the intermediate mapping and 2) extracts this whitespace as text, and therefore might decrease NLP performance. It is strongly recommended to normalize whitespace in the input XML/HTML/DOM in order to minimize such phantom predicates. A normalized example is given below. The whitespace normalization algorithm itself is format dependent (for example, it differs for HTML compared to general XML).</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p id="its-rdf-ontology-status">The output of the algorithm shown below uses the ITS RDF ontology <a title="ITS RDF Ontology" href="#its-rdf-ontology">[ITS RDF]</a> and its namespace<br/><a href="https://www.w3.org/2005/11/its/rdf#">http://www.w3.org/2005/11/its/rdf#</a> <br/>Like the algorithm, this ontology is not a normative part of the ITS 2.0 specification and is being discussed in the <a href="https://www.w3.org/International/its/wiki/ITS-RDF_mapping">ITS Interest Group</a>.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-HTML-whitespace-normalization" id="EX-HTML-whitespace-normalization"></a>Example 97: Example (see <a href="examples/html5/EX-HTML-whitespace-normalization.html">source code</a>) of an HTML document with whitespace character normalization as preparation for the conversion to NIF. Note that text nodes in the <code>head</code> element are not taken into account.</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xhtml"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">http-equiv</span>=<span class="hl-value" style="color: #993300">"Content-Type"</span> <span class="hl-attribute" style="color: #F5844C">content</span>=<span class="hl-value" style="color: #993300">"text/html;charset=utf-8"</span><strong class="hl-tag" style="color: #000096"> &gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>NIF conversion example<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong> <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;h2</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Welcome to <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-ta-ident-ref</span>=<span class="hl-value" style="color: #993300">"http://dbpedia.org/resource/Dublin"</span> <span class="hl-attribute" style="color: #F5844C">its-within-text</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Dublin<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> in <strong class="hl-tag" style="color: #000096">&lt;b</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span> <span class="hl-attribute" style="color: #F5844C">its-within-text</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Ireland<strong class="hl-tag" style="color: #000096">&lt;/b&gt;</strong>!<strong class="hl-tag" style="color: #000096">&lt;/h2&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong><strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong> </pre></div></div><p id="its2nif-algorithm">The conversion algorithm to generate NIF consists of seven steps:</p><ul><li><p id="its2nif-algorithm-step1">STEP 1: Get an ordered list of all text nodes of the document.</p></li><li><p id="its2nif-algorithm-step2">STEP 2: Generate an XPath expression for each non-empty text node of all leaf elements and memorize them.</p></li><li><p id="its2nif-algorithm-step3">STEP 3: Get the text for each text node and make a tuple with the corresponding XPath expression (X,T). Since the text nodes have a certain order we now have a list of ordered tuples ((x0,t0), (x1,t1), ..., (xn,tn)).</p></li><li><p id="its2nif-algorithm-step4">STEP 4 (optional): Serialize as XML or as RDF. The list with the XPath-to-text mapping can also be kept in memory. Part of a serialization example is given below. The upper part is in RDF Turtle Syntax while the lower part is in XML (the <code>mappings</code> element).</p></li></ul><div class="exampleInner"><div class="exampleOuter"><pre># Turtle example: @prefix nif: &lt;http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#&gt; . @prefix itsrdf: &lt;http://www.w3.org/2005/11/its/rdf#&gt; . &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=b0,e0&gt; nif:wasConvertedFrom &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;xpath=x0&gt; . &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=b1,e1&gt; nif:wasConvertedFrom &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;xpath=x1&gt; . # ... &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=bn,en&gt; nif:wasConvertedFrom &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;xpath=xn&gt; . &lt;!-- XML Example --&gt; &lt;mappings&gt; &lt;mapping x="xpath(x0)" b="b0" e="e0" /&gt; &lt;mapping x="xpath(x1)" b="b1" e="e1" /&gt; &lt;!-- ... --&gt; &lt;mapping x="xpath(xn)" b="bn" e="en" /&gt; &lt;/mappings&gt; </pre></div></div><p>where</p><div class="exampleInner"><div class="exampleOuter"><pre>b0 = 0 e0 = b0 + (Number of characters of t0) b1 = e0 e1 = b1 + (Number of characters of t1) ... bn = e(n-1) en = bn + (Number of characters of tn) </pre></div></div><p>Example (continued)</p><div class="exampleInner"><div class="exampleOuter"><pre># Turtle example: @prefix nif: &lt;http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#&gt; . @prefix itsrdf: &lt;http://www.w3.org/2005/11/its/rdf#&gt; . # "Welcome to " &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=0,11&gt; nif:wasConvertedFrom &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;xpath=/html/body[1]/h2[1]/text()[1]&gt;. # "Dublin" &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=11,17&gt; nif:wasConvertedFrom &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;xpath=/html/body[1]/h2[1]/span[1]/text()[1]&gt;. # " in " &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=17,21&gt; nif:wasConvertedFrom &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;xpath=/html/body[1]/h2[1]/text()[2]&gt; . # "Ireland" &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=21,28&gt; nif:wasConvertedFrom &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;xpath=/html/body[1]/h2[1]/b[1]/text()[1]&gt; . # "!" &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=28,29&gt; nif:wasConvertedFrom &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;xpath=/html/body[1]/h2[1]/text()[3]&gt; . # "Welcome to Dublin Ireland!" &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=0,29&gt; nif:wasConvertedFrom &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;xpath=/html/body[1]/h2[1]/text()&gt; . &lt;!-- XML Example --&gt; &lt;mappings&gt; &lt;mapping x="xpath(/html/body[1]/h2[1]/text()[1])" b="0" e="11" /&gt; &lt;mapping x="xpath(/html/body[1]/h2[1]/span[1]/text()[1])" b="11" e="17" /&gt; &lt;mapping x="xpath(/html/body[1]/h2[1]/text()[2])" b="17" e="21" /&gt; &lt;mapping x="xpath(/html/body[1]/h2[1]/b[1]/text()[1])" b="21" e="28" /&gt; &lt;mapping x="xpath(/html/body[1]/h2[1]/text()[3])" b="28" e="29" /&gt; &lt;mapping x="xpath(/html/body[1]/h2[1])" b="0" e="29" /&gt; &lt;/mappings&gt;</pre></div></div><ul><li><p id="its2nif-algorithm-step5">STEP 5: Create a context URI and attach the whole concatenated text <code>$(t0+t1+t2+...+tn)</code> of the document as reference.</p></li><li><p id="its2nif-algorithm-step6">STEP 6: Attach any ITS metadata annotations from the XML/HTML/DOM input to the respective NIF URIs.</p></li><li><p id="its2nif-algorithm-step7">STEP 7: Omit all URIs that do not carry annotations (to avoid bloating the data).</p></li></ul><div class="exampleInner"><div class="exampleOuter"><pre>@prefix itsrdf: &lt;http://www.w3.org/2005/11/its/rdf#&gt; . @prefix nif: &lt;http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#&gt; &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=0,29&gt; rdf:type nif:Context ; rdf:type nif:RFC5147String ; # concatenate the whole text nif:isString "$(t0+t1+t2+...+tn)" ; nif:beginIndex "0" ; nif:endIndex "29" ; itsrdf:translate "yes"; nif:sourceUrl &lt;http://example.com/doc.html&gt; . &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=11,17&gt; rdf:type nif:RFC5147String ; nif:beginIndex "11" ; nif:endIndex "17" ; itsrdf:translate "no"; itsrdf:taIdentRef &lt;http://dbpedia.org/resource/Dublin&gt; ; nif:referenceContext &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=0,29&gt; . &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=21,28&gt; rdf:type nif:RFC5147String ; nif:beginIndex "21" ; nif:endIndex "28" ; itsrdf:translate "no"; nif:referenceContext &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=0,29&gt; . </pre></div></div><p>A complete sample output in RDF/XML format after step 7, given the input document <a href="#EX-HTML-whitespace-normalization">Example 97</a>, is available at <a href="examples/nif/EX-nif-conversion-output.ttl">examples/nif/EX-nif-conversion-output.ttl</a>.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The conversion to NIF is a possible basis for a natural language processing (NLP) application that creates, for example, named entity annotations. A non-normative algorithm to integrate these annotations into the original input document is given in <a class="section-ref" href="#nif-backconversion">Appendix G: Conversion NIF2ITS</a>. Many decisions to be made in this algorithm depend on the particular NLP application being used.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>NIF allows an URL for a String resource to be referenced as URIs that are fragments of the original document in the form:<br/><code>http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=0,11</code> <br/>or<br/><code>http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;xpath=/html/body[1]/h2[1]/text()[1]</code> <br/> This offers a convenient mechanism for linking NIF resources in RDF back to the original document. The <a href="http://persistence.uni-leipzig.org/nlp2rdf/specification/api.html">NIF Web Service Access Specification</a> defines the parameters for NIF web services.</p><p>RDF treats URIs as opaque and does not impose any semantic constraints on the used fragment identifiers, thus enabling their usage in RDF in a consistent manner. However, fragment identifiers get interpreted according to the retrieved mime type, if a retrieval action occurs as is the case in Linked Data. The char fragment is defined currently only for text/plain while the xpath fragment is not defined for HTML. Therefore this URL recipe does fulfil the ITS requirements to support both XML and HTML and the aim of this mapping to produce resources adhering to the Linked Data principle of dereferenceablility. The future definition and registration of these fragment types, while a potentially attractive feature, is beyond the scope of this specification.</p></div></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="nif-backconversion" id="nif-backconversion"></a>G Conversion NIF2ITS</h2><p> <em>This section is informative.</em> </p><p>The following algorithm relies on <a href="#EX-HTML-whitespace-normalization">Example 97</a>. It is assumed that the example has been converted to NIF, leading to the <a href="examples/nif/EX-nif-conversion-output.ttl">output</a> exemplified for the <a href="#its2nif-algorithm">ITS2NIF conversion algorithm</a>.</p><p>This example uses <a href="https://github.com/dbpedia-spotlight/dbpedia-spotlight">DBpedia Spotlight</a> as an example natural language processing (NLP) tool. In it, DBpedia Spotlight linked "Ireland" to DBpedia:</p><div class="exampleInner"><div class="exampleOuter"><pre>&lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=21,28&gt; rdf:type nif:RFC5147String; itsrdf:taIdentRef &lt;http://dbpedia.org/resource/Ireland&gt; . &lt;http://dbpedia.org/resource/Ireland&gt; rdf:type &lt;http:/nerd.eurecom.fr/ontology#Country&gt; .</pre></div></div><p id="nif2its-algorithm">The conversion algorithm to generate ITS out of NIF consists of two steps:</p><ul><li><p id="nif2its-algorithm-step1">STEP 1: NIF Web services accept two different types of input. It is possible to either send the extracted text (the object of the <code>nif:isString</code> property) directly or NIF RDF to the NLP tool, i.e. the text is sent as a <code>nif:Context</code> node and included as <code>nif:isString</code>. Either way, the output of the Web service will be a NIF representation. </p><p>Accepting text will be the minimal requirement of a NIF web service. Ideally, you would be able to send the <code>nif:Context</code> node with the isString as RDF directly, which has the advantage, that all other annotations can be used by the NLP tool:</p><div class="exampleInner"><div class="exampleOuter"><pre><strong class="hl-tag" style="color: #000096">&lt;http:</strong>//example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=0,29&gt; rdf:type nif:RFC5147String ; rdf:type nif:Context ; nif:beginIndex "0" ; nif:endIndex "29" ; nif:isString "Welcome to Dublin in Ireland!" .</pre></div></div></li><li><p id="nif2its-algorithm-step3">STEP 2: Use the mapping from ITS2NIF (available after <a href="#its2nif-algorithm-step7">step 7</a> of the ITS2NIF algorithm) to reintegrate annotations in the original ITS annotated document.</p></li></ul><p>For step 2, three cases can occur.</p><p>CASE 1: The NLP annotation created in NIF matches the text node. Solution: Attach the annotation to the parent element of the text node.</p><div class="exampleInner"><div class="exampleOuter"><pre># Based on: &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=21,28&gt; nif:wasConvertedFrom &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;xpath=/html/body[1]/h2[1]/b[1]/text()[1]&gt; . # and: &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=21,28&gt; itsrdf:taIdentRef &lt;http://dbpedia.org/resource/Ireland&gt; . # we can attach the metadata to the parent node: &lt;b its-ta-ident-ref="http://dbpedia.org/resource/Ireland" translate="no"&gt;Ireland&lt;/b&gt; </pre></div></div><p>CASE 2: The NLP annotation created in NIF is a substring of the text node. Solution: Create a new element, e.g., for HTML "span". A different input example is given below as case 2 is not covered in the original example input.</p><div class="exampleInner"><div class="exampleOuter"><pre># Input: &lt;html&gt; &lt;body&gt; &lt;h2&gt;Welcome to Dublin in Ireland!&lt;/h2&gt; &lt;/body&gt; &lt;/html&gt; # ITS2NIF &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=0,29&gt; nif:wasConvertedFrom &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;xpath=/html/body[1]/h2[1]/text()[1]&gt; . # DBpedia Spotlight returns: &lt;http://example.com/myitsservice?informat=html&amp;intype=url&amp;input=http://example.com/doc.html&amp;char=21,28&gt; itsrdf:taIdentRef &lt;http://dbpedia.org/resource/Ireland&gt; . # NIF2ITS &lt;html&gt; &lt;body&gt; &lt;h2&gt;Welcome to Dublin in &lt;span its-ta-ident-ref="http://dbpedia.org/resource/Ireland"&gt;Ireland&lt;/span&gt;!&lt;/h2&gt; &lt;/body&gt; &lt;/html&gt;</pre></div></div><p>Case 3: The NLP annotation created in NIF starts in one region and ends in another. Solution: No straight mapping is possible; a mapping can be created if both regions have the same parent.</p></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="localization-quality-guidance" id="localization-quality-guidance"></a>H Localization Quality Guidance</h2><p> <em>This section is informative.</em> </p><p>The <a href="#lqissue">Localization Quality Issue</a> data category description uses the following terms as defined below for the purposes of this document.</p><ul><li><p><em>Quality assessment</em>. The task of evaluating the quality of translated content to determine its quality and to assign a value to it. Localization quality assessment is commonly conducted by identifying, categorizing, and counting issues in the translated content.</p></li><li><p><em>Issue</em>. A quality issue is a potential error detected in content. Issues may be detected automatically (e.g., by using a grammar checker or translation-specific tool) or manually, by human checking of content. Issues may or may not be errors (e.g., an apparent mistranslation may be deliberate and appropriate in some contexts) and should be confirmed by review.</p></li><li><p><em>Metric</em>. A metric is a formal system used in quality assessment tasks to identify issues, evaluate them, and determine quality. Metrics provide specific reference points for categorizing issues (as opposed to subjective assessment of quality, which does not use a metric) and may include weights for issues.</p></li><li><p><em>Model</em>. A model is the underlying description of the system that underlies a metric. (For example, some models may allow variable weights to be assigned to different issue types, in which case the specific metric used for a task will have these weights defined, even though the underlying model does not.)</p></li><li><p><em>Profile</em>. A quality profile is the adaptation of a model to specific requirements. It specifies specific conditions for using a model. It may include instructions and other guidelines that are not included in the actual metric used. If a model allows for no customization, it has a single profile that is identical to the model; if it allows customization, each customization is a distinct profile.</p></li><li><p><em>Review</em>. The task of examining a text to identify any issues that occur in it. Review may be tied to the task of fixing any issues, a task generally referred to as revision.</p></li><li><p><em>Specifications</em>. Specifications (sometimes called a translation brief) are a description of the various expectations and requirements for a translation task. These may include statements about the type of translation expected, guidance on terminology to be used, information about audience, and so forth. Translation specifications are described in detail in ISO/TS-11669.</p></li><li><p><em>Tool</em>. As used here, a tool is software that generates localization quality markup. Tools may be fully automatic (e.g., a tool that identifies potential issues with terminology and grammar and marks them without human intervention) or may required human input (e.g., a system that allows users to highlight spans of text and mark them with appropriate issues).</p></li></ul><p>For more information on setting translation project specifications and determining quality expectations, implementers are encouraged to consult the ISO standard definition of translation project specifications included in <a title="Translation projects – General guidance" href="#isots11669">[ISO/TS 11669:2002]</a>. Details about translation specifications are available at <a title="Structured Specifications and Translation Parameters" href="#structuredspecs">[Structured Specifications]</a>. While these documents do not directly address the definition of quality metrics, they provide useful guidance for implementers interested in determining which localization quality issue values should be used for specific scenarios.</p><p>The issue types defined in Localization Quality Issue were derived from the QTLaunchPad project’s Multidimensional Quality Metrics (MQM) framework. Additional guidance on this project may be found at <a title="Useful Quality Metrics (for Humans, Not Researchers)" href="#mqm">[Multidimensional Quality Metrics]</a>.</p><p>The topic of localization quality is rapidly evolving and ITS 2.0 represents the first step in standardizing this area and will serve for basic interoperability needs. For situations requiring additional expressive capability or categories, further custom markup may be required.</p></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="list-of-elements-and-attributes" id="list-of-elements-and-attributes"></a>I List of ITS 2.0 Global Elements and Local Attributes</h2><p> <em>This section is informative.</em> </p><p>The following table lists global ITS 2.0 elements inside <code class="its-elem-markup">rules</code> element and local ITS 2.0 markup in XML and HTML. Note that for the local markup there are various constraints on what local attributes can be used together. Here these constraints are expressed via occurrence indicators: optional "?", alternatives "|", or groups "(...)". Please check the related sub sections in <a class="section-ref" href="#datacategory-description">Section 8: Description of Data Categories</a> defining local markup normatively.</p><p>In addition to below markup, ITS 2.0 provides a means to refer to the tools used to generate the markup: for XML the <code class="its-attr-markup">annotatorsRef</code> attribute and for HTML the <code class="its-attr-markup">annotators-ref</code> attribute. See <a class="section-ref" href="#its-tool-annotation">Section 5.7: ITS Tools Annotation</a> for details, especially the <a href="#annotators-ref-usage-scenarios">note on annotatorsRef usage scenarios</a>.</p><a name="its20-elements-and-attributes" id="its20-elements-and-attributes"></a><table border="1" width="100%"><thead><tr><td>Data category</td><td>Global element inside <code class="its-elem-markup">rules</code> element</td><td>Local XML attributes in ITS namespace</td><td>HTML attributes</td></tr></thead><tbody><tr><td> <a href="#trans-datacat">Translate</a> </td><td> <code class="its-elem-markup">translateRule</code> </td><td> <code class="its-attr-markup">translate</code> </td><td> <code class="its-attr-markup">translate</code> </td></tr><tr><td> <a href="#locNote-datacat">Localization Note</a> </td><td> <code class="its-elem-markup">locNoteRule</code> </td><td>(<code class="its-attr-markup">locNote</code> | <code class="its-attr-markup">locNoteRef</code>), <code class="its-attr-markup">locNoteType</code>?</td><td>(<code class="its-attr-markup">its-loc-note</code> | <code class="its-attr-markup">its-loc-note-ref</code>), <code class="its-attr-markup">its-loc-note-type</code>?</td></tr><tr><td> <a href="#terminology">Terminology</a> </td><td> <code class="its-elem-markup">termRule</code> </td><td> <code class="its-attr-markup">term</code>, <code class="its-attr-markup">termInfoRef</code>?, <code class="its-attr-markup">termConfidence</code>?</td><td> <code class="its-attr-markup">its-term</code>, <code class="its-attr-markup">its-term-info-ref</code>?, <code class="its-attr-markup">its-term-confidence</code>?</td></tr><tr><td> <a href="#directionality">Directionality</a> </td><td> <code class="its-elem-markup">dirRule</code> </td><td> <code class="its-attr-markup">dir</code> </td><td> <code class="its-attr-markup">dir</code> </td></tr><tr><td> <a href="#language-information">Language Information</a> </td><td> <code class="its-elem-markup">langRule</code> </td><td> <code class="its-attr-markup">xml:lang</code> </td><td> <code class="its-attr-markup">lang</code> </td></tr><tr><td> <a href="#elements-within-text">Elements Within Text</a> </td><td> <code class="its-elem-markup">withinTextRule</code> </td><td> <code class="its-attr-markup">withinText</code> </td><td> <code class="its-attr-markup">its-within-text</code> </td></tr><tr><td> <a href="#domain">Domain</a> </td><td> <code class="its-elem-markup">domainRule</code> </td><td>-</td><td>-</td></tr><tr><td> <a href="#textanalysis">Text Analysis</a> </td><td> <code class="its-elem-markup">textAnalysisRule</code> </td><td> <code class="its-attr-markup">taConfidence</code>?, at least one of (<code class="its-attr-markup">taClassRef</code>, ((<code class="its-attr-markup">taSource</code>, <code class="its-attr-markup">taIdent</code>) | <code class="its-attr-markup">taIdentRef</code>))</td><td> <code class="its-attr-markup">its-ta-confidence</code>?, at least one of (<code class="its-attr-markup">its-ta-class-ref</code>, ((<code class="its-attr-markup">its-ta-source</code>, <code class="its-attr-markup">its-ta-ident</code>) | <code class="its-attr-markup">its-ta-ident-ref</code>))</td></tr><tr><td> <a href="#LocaleFilter">Locale Filter</a> </td><td> <code class="its-elem-markup">localeFilterRule</code> </td><td> <code class="its-attr-markup">localeFilterList</code> </td><td> <code class="its-attr-markup">its-locale-filter-list</code> </td></tr><tr><td> <a href="#provenance">Provenance</a> </td><td> <code class="its-elem-markup">provRule</code> </td><td>(at least one of ((<code class="its-attr-markup">person</code> | <code class="its-attr-markup">personRef</code>), (<code class="its-attr-markup">org</code> | <code class="its-attr-markup">orgRef</code>), (<code class="its-attr-markup">tool</code> | <code class="its-attr-markup">toolRef</code>), (<code class="its-attr-markup">revPerson</code> | <code class="its-attr-markup">revPersonRef</code>), (<code class="its-attr-markup">revOrg</code> | <code class="its-attr-markup">revOrgRef</code>), (<code class="its-attr-markup">revTool</code> | <code class="its-attr-markup">revToolRef</code>), <code class="its-attr-markup">provRef</code>)) | <code class="its-attr-markup">provenanceRecordsRef</code> </td><td>(at least one of ((<code class="its-attr-markup">its-person</code> | <code class="its-attr-markup">its-person-ref</code>), (<code class="its-attr-markup">its-org</code> | <code class="its-attr-markup">its-org-ref</code>), (<code class="its-attr-markup">its-tool</code> | <code class="its-attr-markup">its-tool-ref</code>), (<code class="its-attr-markup">its-rev-person</code> | <code class="its-attr-markup">its-rev-person-ref</code>), (<code class="its-attr-markup">its-rev-org</code> | <code class="its-attr-markup">its-rev-org-ref</code>), (<code class="its-attr-markup">its-rev-tool</code> | <code class="its-attr-markup">its-rev-tool-ref</code>), <code class="its-attr-markup">its-prov-ref</code>)) | <code class="its-attr-markup">its-provenance-records-ref</code> </td></tr><tr><td> <a href="#externalresource">External Resource</a> </td><td> <code class="its-elem-markup">externalResourceRefRule</code> </td><td>-</td><td>-</td></tr><tr><td> <a href="#target-pointer">Target Pointer</a> </td><td> <code class="its-elem-markup">targetPointerRule</code> </td><td>-</td><td>-</td></tr><tr><td> <a href="#idvalue">ID Value</a> </td><td> <code class="its-elem-markup">idValueRule</code> </td><td> <code class="its-attr-markup">xml:id</code> </td><td> <code class="its-attr-markup">id</code> </td></tr><tr><td> <a href="#preservespace">Preserve Space</a> </td><td> <code class="its-elem-markup">preserveSpaceRule</code> </td><td> <code class="its-attr-markup">xml:space</code> </td><td>-</td></tr><tr><td> <a href="#lqissue">Localization Quality Issue</a> </td><td> <code class="its-elem-markup">locQualityIssueRule</code> </td><td>(at least one of (<code class="its-attr-markup">locQualityIssueType</code>, <code class="its-attr-markup">locQualityIssueComment</code>), <code class="its-attr-markup">locQualityIssueSeverity</code>?, <code class="its-attr-markup">locQualityIssueProfileRef</code>?, <code class="its-attr-markup">locQualityIssueEnabled</code>?) | <code class="its-attr-markup">locQualityIssuesRef</code> </td><td>(at least one of (<code class="its-attr-markup">its-loc-quality-issue-type</code>, <code class="its-attr-markup">its-loc-quality-issue-comment</code>), <code class="its-attr-markup">its-loc-quality-issue-severity</code>?, <code class="its-attr-markup">its-loc-quality-issue-profile-ref</code>?, <code class="its-attr-markup">its-loc-quality-issue-enabled</code>?) | <code class="its-attr-markup">its-loc-quality-issues-ref</code> </td></tr><tr><td> <a href="#lqrating">Localization Quality Rating</a> </td><td>-</td><td>(<code class="its-attr-markup">locQualityRatingScore</code>, <code class="its-attr-markup">locQualityRatingScoreThreshold</code>?) | (<code class="its-attr-markup">locQualityRatingVote</code>, <code class="its-attr-markup">locQualityRatingVoteThreshold</code>?), <code class="its-attr-markup">locQualityRatingProfileRef</code>?</td><td>(<code class="its-attr-markup">its-loc-quality-rating-score</code>, <code class="its-attr-markup">its-loc-quality-rating-score-threshold</code>?) | (<code class="its-attr-markup">its-loc-quality-rating-vote</code>, <code class="its-attr-markup">its-loc-quality-rating-vote-threshold</code>?), <code class="its-attr-markup">its-loc-quality-rating-profile-ref</code>?</td></tr><tr><td> <a href="#mtconfidence">MT Confidence</a> </td><td> <code class="its-elem-markup">mtConfidenceRule</code> </td><td> <code class="its-attr-markup">mtConfidence</code> </td><td> <code class="its-attr-markup">its-mt-confidence</code> </td></tr><tr><td> <a href="#allowedchars">Allowed Characters</a> </td><td> <code class="its-elem-markup">allowedCharactersRule</code> </td><td> <code class="its-attr-markup">allowedCharacters</code> </td><td> <code class="its-attr-markup">its-allowed-characters</code> </td></tr><tr><td> <a href="#storagesize">Storage Size</a> </td><td> <code class="its-elem-markup">storageSizeRule</code> </td><td> <code class="its-attr-markup">storageSize</code>, <code class="its-attr-markup">storageEncoding</code>?, <code class="its-attr-markup">lineBreakType</code>?</td><td> <code class="its-attr-markup">its-storage-size</code>, <code class="its-attr-markup">its-storage-encoding</code>?, <code class="its-attr-markup">its-line-break-type</code>?</td></tr></tbody></table></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="revisionlog" id="revisionlog"></a>J Revision Log</h2><p> <em>This section is informative.</em> </p><p id="changelog-since-20130924">The following log records major changes that have been made to this document since the <a href="https://www.w3.org/TR/2013/PR-its20-20130924/">ITS 2.0 Proposed Recommendation 24 September 2013</a>:</p><ol class="depth1"><li><p>In response to Working Group discussion and AC review, fixed an error in <a class="section-ref" href="#its-schemas">Appendix D: Schemas for ITS</a> and made the section informative.</p></li><li><p>Added an informative reference to <a title="Useful Quality Metrics (for Humans, Not Researchers)" href="#mqm">[Multidimensional Quality Metrics]</a> and reformatting of a few references.</p></li><li><p>Editorial fixes, see <a href="http://lists.w3.org/Archives/Public/public-i18n-its-ig/2013Oct/0021.html">related mail</a>.</p></li></ol></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="acknowledgements" id="acknowledgements"></a>K Acknowledgements</h2><p>This document has been developed with contributions by the <a href="https://www.w3.org/International/multilingualweb/lt/">MultilingualWeb-LT Working Group</a> and collaborators: Mihael Arcan (DERI Galway at the National University of Ireland, Galway, Ireland), Pablo Badía (Linguaserve), Aaron Beaton (Opera Software), Renat Bikmatov (Logrus Plus LLC), Aljoscha Burchardt (German Research Center for Artificial Intelligence (DFKI GmbH)), Nicoletta Calzolari (CNR--Consiglio Nazionale delle Ricerche), Somnath Chandra (Department of Information Technology, Government of India), John Colosi (Verisign, Inc.), Mauricio del Olmo (Linguaserve), Giuseppe Deriard (Linguaserve), Pedro Luis Díez Orzas (Linguaserve), David Filip (University of Limerick), Leroy Finn (Trinity College Dublin), Karl Fritsche (Cocomore AG), Serge Gladkoff (Logrus Plus LLC), Tatiana Gornostay (Tilde), Daniel Grasmick (Lucy Software and Services GmbH), Declan Groves (Centre for Next Generation Localisation), Manuel Honegger (University of Limerick), Dominic Jones (Trinity College Dublin), Matthias Kandora (]init[), Milan Karásek (Moravia Worldwide), Jirka Kosek (University of Economics, Prague), Michael Kruppa (Cocomore AG), Alejandro Leiva (Cocomore AG), Swaran Lata (Department of Information Technology, Government of India), David Lewis (Trinity College Dublin), Fredrik Liden (ENLASO Corporation), Christian Lieske (SAP AG), Qun Liu (Centre for Next Generation Localisation), Arle Lommel (German Research Center for Artificial Intelligence (DFKI GmbH)), Priyanka Malik (Department of Information Technology, Government of India), Shaun McCance ((public) Invited expert), Sean Mooney (University of Limerick), Jan Nelson (Microsoft Corporation), Pablo Nieto Caride (Linguaserve), Pēteris Ņikiforovs (Tilde), Naoto Nishio (University of Limerick), Philip O'Duffy (University of Limerick), Des Oates (Adobe Systems Inc.), Georgios Petasis (Institute of Informatics &amp; Telecommunications (IIT), NCSR), Mārcis Pinnis (Tilde), Prashant Verma Prashant (Department of Information Technology, Government of India), Georg Rehm (German Research Center for Artificial Intelligence (DFKI GmbH)), Phil Ritchie (VistaTEC), Thomas Rüdesheim (Lucy Software and Services GmbH), Nieves Sande (German Research Center for Artificial Intelligence (DFKI GmbH)), Felix Sasaki (DFKI / W3C Fellow), Yves Savourel (ENLASO Corporation), Jörg Schütz (W3C Invited Experts), Sebastian Sklarß (]init[), Ankit Srivastava (Centre for Next Generation Localisation), Tadej Štajner (Jozef Stefan Institute), Olaf-Michael Stefanov ((public) Invited expert), Najib Tounsi (Ecole Mohammadia d'Ingenieurs Rabat (EMI)), Naitik Tyagi Tyagi (Department of Information Technology, Government of India), Stephan Walter (Cocomore AG), Clemens Weins (Cocomore AG).</p><p>A special thanks goes to the following persons: </p><ul><li><p>Sebastian Hellmann for introducing us to <a title="NIF 2.0 Core Ontology" href="#nif-reference">[NIF]</a> and for contributing to the creation of the <a href="https://www.w3.org/2005/11/its/rdf#">ITS 2.0 ontology</a> and NIF testing.</p></li><li><p>Daniel Naber for introducing us to <a href="http://languagetool.org">LanguageTool</a> and for implementing <a href="#lqissue-typevalues">Localization Quality Issue Type</a> functionality in language tool.</p></li></ul></div></div><script type="application/javascript" src="https://www.w3.org/scripts/TR/fixup.js"></script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10