- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 23 Oct 2012 21:05:41 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory hutz:/tmp/cvs-serv27486 Modified Files: its20.html its20.odd Log Message: Domain example and explanation for html5 with several meta elements Index: its20.odd =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v retrieving revision 1.201 retrieving revision 1.202 diff -u -d -r1.201 -r1.202 --- its20.odd 22 Oct 2012 19:37:04 -0000 1.201 +++ its20.odd 23 Oct 2012 21:05:39 -0000 1.202 @@ -2973,6 +2973,7 @@ <item>Often domain-related information already exist in the document (e.g. keywords in the HTML <code>meta</code> element). The <ref target="#domain">Domain</ref> data category provides a mechanism to point to this information.</item> + <item>In HTML5 the preferred way to express domain information is a <code>meta</code> element with the <code>name</code> attribute set to <code>keywords</code>, see <ref target="http://www.w3.org/TR/html5/single-page.html#standard-metadata-names">standard metadata names in HTML5</ref>. Alternatively, following the process for <ref target="http://www.w3.org/TR/html5/single-page.html#other-metadata-names">other metadata names</ref> the <ref target="http://wiki.whatwg.org/wiki/MetaExtensions">extension value</ref> of <code>dcterms.subject</code> can be used. The usage of both <code>keywords</code> and <code>dcterms.subject</code> is shown in example <ptr target="#EX-domain-3" type="exref"/>.</item> <item>There are many flat or structured lists of domain related values, keywords, key phrases, classification codes, ontologies, etc. The <ref target="#domain">Domain</ref> data category does not propose its own @@ -3099,6 +3100,15 @@ <egXML xmlns="http://www.tei-c.org/ns/Examples" target="examples/xml/EX-domain-2.xml"/> </exemplum> + <exemplum xml:id="EX-domain-3"> + <head>The <gi>domainRule</gi> element</head> + <p>The <gi>domainRule</gi> element expresses that the content of the + HTML <code>body</code> element is in the domain expressed by + associated values. The <att>domainPointer</att> attribute points to + the values in the source content. In this case the <code>meta</code> elements with the <code>name</code> attributes set to <code>keywords</code> or <code>dcterms.subject</code> hold the values in their <code>content</code> attributes. The <att>domainPointer</att> points to these two <code>content</code> attributes.</p> + <egXML xmlns="http://www.tei-c.org/ns/Examples" + target="examples/xml/EX-domain-3.xml"/> + </exemplum> <note> <p>In source content, if available, it is recommended to use dublin core subject as the metadata term for domain information. In HTML, this @@ -5710,6 +5720,13 @@ </div> <div xml:id="revisionlog" type="inform"> <head>Revision Log</head> + <p xml:id="changelog-since-20121023">The following log records major changes that + have been made to this document since the <ref + target="http://www.w3.org/TR/2012/WD-its20-20121023/">ITS 2.0 Working Draft + 23 October 2012</ref>.</p> + <list type="unordered"> + <item>Clarified usage of <ref target="#domain">Domain</ref> data category in HTML5 in response to <ref target="https://www.w3.org/International/multilingualweb/lt/track/issues/56">issue-56</ref>.</item> + </list> <p xml:id="changelog-since-20120829">The following log records major changes that have been made to this document since the <ref target="http://www.w3.org/TR/2012/WD-its20-20120829/">ITS 2.0 Working Draft Index: its20.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v retrieving revision 1.202 retrieving revision 1.203 diff -u -d -r1.202 -r1.203 --- its20.html 22 Oct 2012 19:37:04 -0000 1.202 +++ its20.html 23 Oct 2012 21:05:38 -0000 1.203 @@ -1321,7 +1321,7 @@ <code>p</code> element. It cannot be used to identify nested elements or attributes.</p></li><li><p>Using <a href="#target-pointer" shape="rect">target pointer</a>, selected <code>source</code> element have the ITS information that their - translation is available in a <code>target</code> element; see <a href="#EX-target-pointer-global-1" shape="rect">Example 72</a>. This + translation is available in a <code>target</code> element; see <a href="#EX-target-pointer-global-1" shape="rect">Example 73</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 @@ -1951,7 +1951,7 @@ <h3><a href="#contents" shape="rect"><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" shape="rect"/>6.9 Domain</h3><div class="div3"> <h4><a href="#contents" shape="rect"><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" shape="rect"/>6.9.1 Definition</h4><p>The <a href="#domain" shape="rect">Domain</a> data category is used to identify the topic or subject of a given content. Such information allows to make more relevant lingusitic 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 should be used by a translator.</p></li></ul><p>This data category addresses various challenges:</p><ul><li><p>Often domain-related information already exist in the document (e.g. - keywords in the HTML <code>meta</code> element). The <a href="#domain" shape="rect">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 in the HTML <code>meta</code> element). The <a href="#domain" shape="rect">Domain</a> data category provides a mechanism to point to this information.</p></li><li><p>In HTML5 the preferred way to express domain information is a <code>meta</code> element with the <code>name</code> attribute set to <code>keywords</code>, see <a href="http://www.w3.org/TR/html5/single-page.html#standard-metadata-names" shape="rect">standard metadata names in HTML5</a>. Alternatively, following the process for <a href="http://www.w3.org/TR/html5/single-page.html#other-metadata-names" shape="rect">other metadata names</a> the <a href="http://wiki.whatwg.org/wiki/MetaExtensions" shape="rect">extension value</a> of <code>dcterms.subject</code> can be used. The usage of both <code>keywords</code> and <code>dcterms.subject</code> is shown in example <a href="#EX-domain-3" shape="rect">Example 52</a>.</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" shape="rect">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"> @@ -2010,7 +2010,15 @@ <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']/@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">/></strong> <strong class="hl-tag" style="color: #000096"></its:rules></strong> -</pre></div><p>[Source file: <a href="examples/xml/EX-domain-2.xml" shape="rect">examples/xml/EX-domain-2.xml</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>In source content, if available, it is recommended to use dublin core +</pre></div><p>[Source file: <a href="examples/xml/EX-domain-2.xml" shape="rect">examples/xml/EX-domain-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-domain-3" id="EX-domain-3" shape="rect"/>Example 52: The <code>domainRule</code> element</div><p>The <code>domainRule</code> element expresses that the content of the + HTML <code>body</code> element is in the domain expressed by + associated values. The <code>domainPointer</code> attribute points to + the values in the source content. In this case the <code>meta</code> elements with the <code>name</code> attributes set to <code>keywords</code> or <code>dcterms.subject</code> hold the values in their <code>content</code> attributes. The <code>domainPointer</code> points to these two <code>content</code> attributes.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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">></strong> + <strong class="hl-tag" style="color: #000096"><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><strong class="hl-tag" style="color: #000096">/></strong> +<strong class="hl-tag" style="color: #000096"></its:rules></strong> +</pre></div><p>[Source file: <a href="examples/xml/EX-domain-3.xml" shape="rect">examples/xml/EX-domain-3.xml</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>In source content, if available, it is recommended to use dublin core subject as the metadata term for domain information. In HTML, this can be achieved via a <code>meta</code> element with the <code>name="keywords"</code> attribute or <code>name="dcterms.subject"</code> attribute.</p><p>In the area of machine translation (e.g. machine translation systems @@ -2074,7 +2082,7 @@ cases for disambiguation: specifying the target type, or specifying the target identity. For the latter, the user <a href="#rfc2119" shape="rect">MUST</a> use only one of the two addressing modes:</p><ul><li><p>Using <code>disambigSource</code> and one of <code>disambigIdent</code> or <code>disambigIdentPointer</code> to specify the collection and the identifier itself.</p></li><li><p>Using one of <code>disambigIdentRef</code> or <code>disambigIdentRefPointer</code> using - a URI for the disambiguation target.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-disambiguation-global-1" id="EX-disambiguation-global-1" shape="rect"/>Example 52: Usage of <code>disambigClassRef</code>, <code>disambigGranularity</code>, <code>disambigIdentRef</code>, + a URI for the disambiguation target.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-disambiguation-global-1" id="EX-disambiguation-global-1" shape="rect"/>Example 53: Usage of <code>disambigClassRef</code>, <code>disambigGranularity</code>, <code>disambigIdentRef</code>, <code>disambigSource</code> and <code>disambigIdent</code> for both entity and word sense disambiguation.</div><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> <strong class="hl-tag" style="color: #000096"><text></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> @@ -2101,7 +2109,7 @@ disambiguation identifier for the disambiguation target that is valid within the specified disambiguation source.</p></li></ul></li><li><p>Or:</p><ul><li><p>A <code>disambigIdentRef</code> attribute that contains a URI that represents a unique identifier for the disambiguation target.</p></li></ul></li></ul><p>The user <a href="#rfc2119" shape="rect">MUST</a> use only one of the two addressing modes for "target identity" disambiguation:</p><ul><li><p>Using <code>disambigSource</code> and <code>disambigIdent</code> to specify the collection - and the identifier itself.</p></li><li><p>Using <code>disambigIdentRef</code> using a URI for the disambiguation target</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-disambiguation-html5-local-1" id="EX-disambiguation-html5-local-1" shape="rect"/>Example 53: Local mixed usage of Usage of <code>disambigClassRef</code>, <code>disambigGranularity</code>, + and the identifier itself.</p></li><li><p>Using <code>disambigIdentRef</code> using a URI for the disambiguation target</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-disambiguation-html5-local-1" id="EX-disambiguation-html5-local-1" shape="rect"/>Example 54: Local mixed usage of Usage of <code>disambigClassRef</code>, <code>disambigGranularity</code>, and <code>disambigIdentRef</code> in HTML.</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><head></strong> @@ -2124,8 +2132,8 @@ the Named Entity Recognition and Disambiguation ontology (NERD): http://nerd.eurecom.fr/ontology</p><p>Furthermore, valid target types depend on the disambiguation granularity: types of entities are distinct from types of lexical concepts or ontology concepts. While this distinction exists, the specification does not prescribe a way of automatically inferring a disambiguation level from a target type.</p><p>When serializing the ITS mark-up in HTML5, the preferred way is to serialize in RDFa Lite or Microdata due - to the existing search and crawling infrastructure that is able to consume this kind of data.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-disambiguation-html5-rdfa" id="EX-disambiguation-html5-rdfa" shape="rect"/>Example 54: Local mixed usage of <code>entityTypeSourceRef</code>, <code>enttiyTypeRef</code>, <code>disambigSourceRef</code>, - <code>disambigIdentRef</code> in HTML+RDFa Lite.</div><p>See <a href="#EX-disambiguation-html5-rdfa-companion-document" shape="rect">Example 55</a> for the companion document with the mapping + to the existing search and crawling infrastructure that is able to consume this kind of data.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-disambiguation-html5-rdfa" id="EX-disambiguation-html5-rdfa" shape="rect"/>Example 55: Local mixed usage of <code>entityTypeSourceRef</code>, <code>enttiyTypeRef</code>, <code>disambigSourceRef</code>, + <code>disambigIdentRef</code> in HTML+RDFa Lite.</div><p>See <a href="#EX-disambiguation-html5-rdfa-companion-document" shape="rect">Example 56</a> for the companion document with the mapping data.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><head></strong> @@ -2136,7 +2144,7 @@ <strong class="hl-tag" style="color: #000096"><p></strong><strong class="hl-tag" style="color: #000096"><span</strong> <span class="hl-attribute" style="color: #F5844C">property</span>=<span class="hl-value" style="color: #993300">name</span> <span class="hl-attribute" style="color: #F5844C">resource</span>=<span class="hl-value" style="color: #993300">http:</span><strong class="hl-tag" style="color: #000096">//</strong>dbpedia.org/resource/Dublin typeof=http:/nerd.eurecom.fr/ontology#Place>Dublin<strong class="hl-tag" style="color: #000096"></span></strong> is the capital of Ireland.<strong class="hl-tag" style="color: #000096"></p></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-disambiguation-html5-rdfa.html" shape="rect">examples/html5/EX-disambiguation-html5-rdfa.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-disambiguation-html5-rdfa-companion-document" id="EX-disambiguation-html5-rdfa-companion-document" shape="rect"/>Example 55: Companion document, having the mapping data for <a href="#EX-disambiguation-html5-rdfa" shape="rect">Example 54</a>.</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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">></strong> +<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-disambiguation-html5-rdfa.html" shape="rect">examples/html5/EX-disambiguation-html5-rdfa.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-disambiguation-html5-rdfa-companion-document" id="EX-disambiguation-html5-rdfa-companion-document" shape="rect"/>Example 56: Companion document, having the mapping data for <a href="#EX-disambiguation-html5-rdfa" shape="rect">Example 55</a>.</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><its:disambiguationRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//*[@typeof]"</span> <span class="hl-attribute" style="color: #F5844C">entityTypeRefPointer</span>=<span class="hl-value" style="color: #993300">"@typeof"</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"><its:disambiguationRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//*[@resource]"</span> <span class="hl-attribute" style="color: #F5844C">disambigIdentRefPointer</span>=<span class="hl-value" style="color: #993300">"@resource"</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"></its:rules></strong> @@ -2162,7 +2170,7 @@ element contains the following:</p><ul><li><p>A required <code>selector</code> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <code>localeFilterList</code> attribute with a comma-separated list of extended language ranges, or an empty string - value.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-selector-1" id="EX-locale-filter-selector-1" shape="rect"/>Example 56: The <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category + value.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-selector-1" id="EX-locale-filter-selector-1" shape="rect"/>Example 57: The <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category expressed globally</div><p>The <code>localeFilterRule</code> element specifies that certain legal notice elements should only be shown in the specified locales. Note that using the extended language range "*-CA" in the @@ -2179,7 +2187,7 @@ <strong class="hl-tag" style="color: #000096"></legalnotice></strong> <strong class="hl-tag" style="color: #000096"></info></strong> <strong class="hl-tag" style="color: #000096"></book></strong> -</pre></div><p>[Source file: <a href="examples/xml/EX-locale-filter-selector-1.xml" shape="rect">examples/xml/EX-locale-filter-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-selector-2" id="EX-locale-filter-selector-2" shape="rect"/>Example 57: The <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category +</pre></div><p>[Source file: <a href="examples/xml/EX-locale-filter-selector-1.xml" shape="rect">examples/xml/EX-locale-filter-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-selector-2" id="EX-locale-filter-selector-2" shape="rect"/>Example 58: The <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category expressed globally</div><p>The <code>localeFilterRule</code> element specifies that editorial remarks should be removed from all translations.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><section</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">></strong> <strong class="hl-tag" style="color: #000096"><info></strong> @@ -2192,7 +2200,7 @@ </pre></div><p>[Source file: <a href="examples/xml/EX-locale-filter-selector-2.xml" shape="rect">examples/xml/EX-locale-filter-selector-2.xml</a>]</p></div><p id="localefilter-local">LOCAL: The following local markup is available for the <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category:</p><ul><li><p>A <code>localeFilterList</code> attribute with a comma-separated - list of extended language ranges, or an empty string value.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-attribute-1" id="EX-locale-filter-attribute-1" shape="rect"/>Example 58: The <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category + list of extended language ranges, or an empty string value.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-attribute-1" id="EX-locale-filter-attribute-1" shape="rect"/>Example 59: The <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category expressed locally</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><info></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> @@ -2217,7 +2225,7 @@ list of translation provenance records related to the content selected via the <code>selector</code> attribute.</p></li><li><p>A <code>translationProvenanceRecordsRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as - <code>translationProvenanceRecordsRef</code>.</p></li></ul></li><li><p>Human translation provenance information specified by exactly one of the following:</p><ul><li><p>A <code>transPerson</code> attribute that contains a string identifying a human translation agent.</p></li><li><p>A <code>transPersonRef</code> attribute that contains an IRI referring to a resource that identifies a human translation agent.</p></li><li><p>A <code>transPersonPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as <code>transPerson</code>.</p></li><li><p>A <code>transPersonRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as <code>transPersonRef</code>.</p></li></ul></li><li><p>Organizational translation provenance information specified by exactly of the following:</p><ul><li><p>A <code>transOrg</code> attribute that contais a string identifying an organization acting as a translation agent.</p></li><li><p>A <code>transOrgRef</code> attribute that contains an IRI referring to a resource that identifies an organization acting as a translation agent.</p></li><li><p>A <code>transOrgPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transOrg.</p></li><li><p>A <code>transOrgRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transOrgRef.</p></li></ul></li><li><p>Translation tool provenance related information specified by exactly one of the following:</p><ul><li><p>A <code>transTool</code> attribute that contains a string identifying a software tool that was used in translating the selected content.</p></li><li><p>A <code>transToolRef</code> attribute that contains an IRI referring to a resource that identifies a software tool that was sed in the translation.</p></li><li><p>A <code>transToolPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transTool.</p></li><li><p>A <code>transToolRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transToolRef.</p></li></ul></li><li><p>Human translation revision provenance related information specified by exactly one of the following:</p><ul><li><p>A <code>transRevPerson</code> attribute that contains a string identifying a human translation revision agent.</p></li><li><p>A <code>transRevPersonRef</code> attribute that contains an IRI referring to a resource that identifies a human translation revision agent.</p></li><li><p>A <code>transRevPersonPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as <code>transRevPeson</code>.</p></li><li><p>A <code>transRevPersonRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as <code>transRevPersonRef</code>.</p></li></ul></li><li><p>Organizational revision translation related provenance information specified by exactly of the following:</p><ul><li><p>A <code>transRevOrg</code> attribute that contains a string identifying an organization acting as a translation revision agent.</p></li><li><p>A <code>transRevOrgRef</code> attribute that contains an IRI referring to a resource that identifies an organization acting as a translation revison agent.</p></li><li><p>A <code>transRevOrgPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transRevOrg.</p></li><li><p>A <code>transRevOrgRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a nde with the exact same semantics as transRevOrgRef.</p></li></ul></li><li><p>Translation tool revision provenance related information specified by exactly one of the following:</p><ul><li><p>A <code>transRevTool</code> attribute that contains a string identifying a software tool that was used in revising the translation of the selected content.</p></li><li><p>A <code>transRevToolRef</code> attribute that contains an IRI referring to a resource that identifies a software tool that was used in revising the translation of the selected content.</p></li><li><p>A <code>transRevToolPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transRevTool.</p></li><li><p>A <code>transRevToolRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transRevToolRef.</p></li></ul></li><li><p>A reference to external, RDF-based provenance decription specified by exactly one of the following:</p><ul><li><p>A <code>provRef</code> attribute that that contains one or more space (U+0020) separated Provenance URI, each referring to a resource that identifies a different provenance entity record defined by the <a href="http://www.w3.org/TR/prov-dm/" shape="rect">provenance data model</a>.</p></li><li><p>A <code>provRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as provRef.</p></li></ul></li></ul></li></ul><span class="editor-note">[Ed. note: Below note is taken from the quality issue data category. Same question applies: Why should below only say "do not apply to HMTL as local markup"? There is local markup for direct annotation in XML too.]</span><div class="note"><p class="prefix"><b>Note:</b></p><p>The attributes <code>translationProvenanceRecordsRefPointer</code>, <code>transPersonPointer</code>, <code>transPersonRefPointer</code>, <code>transOrgointer</code>, <code>transOrgRefPointer</code>, <code>transToolPointer</code>, <code>transToolRefPointer</code>, <code>transRevPersonPointer</code>, <code>transRevPersonRefPointer</code>, <code>transRevOrgPointer</code>, <code>transRevOrgRefPointer</code>, <code>transRevToolPointer</code>, <code>transRevToolRefPointer</code> and <code>provRefPointer</code> do 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-translation-agent-provenance-global-1" id="EX-translation-agent-provenance-global-1" shape="rect"/>Example 59: The <a href="#translation-agent-provenance" shape="rect">Translation Agent Provenance</a> data category used globally.</div><p>This example shows how the provenance of the <code>par</code> and the <code>legalnotice</code> elements in this XML document is different. Therefore it is recorded in separate <code>transProvRule</code> elements.</p><div class="exampleInner"><pre xml:space="preserve"><trong class="hl-tag" style="color: #000096"><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><strong class="hl-tag" style="color: #000096">></strong> + <code>translationProvenanceRecordsRef</code>.</p></li></ul></li><li><p>Human translation provenance information specified by exactly one of the following:</p><ul><li><p>A <code>transPerson</code> attribute that contains a string identifying a human translation agent.</p></li><li><p>A <code>transPersonRef</code> attribute that contains an IRI referring to a resource that identifies a human translation agent.</p></li><li><p>A <code>transPersonPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as <code>transPerson</code>.</p></li><li><p>A <code>transPersonRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as <code>transPersonRef</code>.</p></li></ul></li><li><p>Organizational translation provenance information specified by exactly of the following:</p><ul><li><p>A <code>transOrg</code> attribute that contais a string identifying an organization acting as a translation agent.</p></li><li><p>A <code>transOrgRef</code> attribute that contains an IRI referring to a resource that identifies an organization acting as a translation agent.</p></li><li><p>A <code>transOrgPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transOrg.</p></li><li><p>A <code>transOrgRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transOrgRef.</p></li></ul></li><li><p>Translation tool provenance related information specified by exactly one of the following:</p><ul><li><p>A <code>transTool</code> attribute that contains a string identifying a software tool that was used in translating the selected content.</p></li><li><p>A <code>transToolRef</code> attribute that contains an IRI referring to a resource that identifies a software tool that was sed in the translation.</p></li><li><p>A <code>transToolPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transTool.</p></li><li><p>A <code>transToolRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transToolRef.</p></li></ul></li><li><p>Human translation revision provenance related information specified by exactly one of the following:</p><ul><li><p>A <code>transRevPerson</code> attribute that contains a string identifying a human translation revision agent.</p></li><li><p>A <code>transRevPersonRef</code> attribute that contains an IRI referring to a resource that identifies a human translation revision agent.</p></li><li><p>A <code>transRevPersonPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as <code>transRevPeson</code>.</p></li><li><p>A <code>transRevPersonRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as <code>transRevPersonRef</code>.</p></li></ul></li><li><p>Organizational revision translation related provenance information specified by exactly of the following:</p><ul><li><p>A <code>transRevOrg</code> attribute that contains a string identifying an organization acting as a translation revision agent.</p></li><li><p>A <code>transRevOrgRef</code> attribute that contains an IRI referring to a resource that identifies an organization acting as a translation revison agent.</p></li><li><p>A <code>transRevOrgPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transRevOrg.</p></li><li><p>A <code>transRevOrgRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a nde with the exact same semantics as transRevOrgRef.</p></li></ul></li><li><p>Translation tool revision provenance related information specified by exactly one of the following:</p><ul><li><p>A <code>transRevTool</code> attribute that contains a string identifying a software tool that was used in revising the translation of the selected content.</p></li><li><p>A <code>transRevToolRef</code> attribute that contains an IRI referring to a resource that identifies a software tool that was used in revising the translation of the selected content.</p></li><li><p>A <code>transRevToolPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transRevTool.</p></li><li><p>A <code>transRevToolRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as transRevToolRef.</p></li></ul></li><li><p>A reference to external, RDF-based provenance decription specified by exactly one of the following:</p><ul><li><p>A <code>provRef</code> attribute that that contains one or more space (U+0020) separated Provenance URI, each referring to a resource that identifies a different provenance entity record defined by the <a href="http://www.w3.org/TR/prov-dm/" shape="rect">provenance data model</a>.</p></li><li><p>A <code>provRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as provRef.</p></li></ul></li></ul></li></ul><span class="editor-note">[Ed. note: Below note is taken from the quality issue data category. Same question applies: Why should below only say "do not apply to HMTL as local markup"? There is local markup for direct annotation in XML too.]</span><div class="note"><p class="prefix"><b>Note:</b></p><p>The attributes <code>translationProvenanceRecordsRefPointer</code>, <code>transPersonPointer</code>, <code>transPersonRefPointer</code>, <code>transOrgointer</code>, <code>transOrgRefPointer</code>, <code>transToolPointer</code>, <code>transToolRefPointer</code>, <code>transRevPersonPointer</code>, <code>transRevPersonRefPointer</code>, <code>transRevOrgPointer</code>, <code>transRevOrgRefPointer</code>, <code>transRevToolPointer</code>, <code>transRevToolRefPointer</code> and <code>provRefPointer</code> do 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-translation-agent-provenance-global-1" id="EX-translation-agent-provenance-global-1" shape="rect"/>Example 60: The <a href="#translation-agent-provenance" shape="rect">Translation Agent Provenance</a> data category used globally.</div><p>This example shows how the provenance of the <code>par</code> and the <code>legalnotice</code> elements in this XML document is different. Therefore it is recorded in separate <code>transProvRule</code> elements.</p><div class="exampleInner"><pre xml:space="preserve"><trong class="hl-tag" style="color: #000096"><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><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><dc:creator></strong>John Doe<strong class="hl-tag" style="color: #000096"></dc:creator></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><its:transProvRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/text/body/par[@xml:id='p1']"</span> @@ -2239,7 +2247,7 @@ <strong class="hl-tag" style="color: #000096"><legalnotice</strong> <span class="hl-attribute" style="color: #F5844C">postediting-by</span>=<span class="hl-value" style="color: #993300">"http://www.vistatec.com/"</span><strong class="hl-tag" style="color: #000096">></strong>This text was translated directly by a person.<strong class="hl-tag" style="color: #000096"></legalnotice></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-translation-agent-provenance-global-1.xml" shape="rect">examples/xml/EX-translation-agent-provenance-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-global-2" id="EX-translation-agent-provenance-global-2" shape="rect"/>Example 60: The <a href="#translation-agent-provenance" shape="rect">Translation Agent Provenance</a> data category used globally with pointer attributes.</div><p>This example expresses the same provenance information as <a href="#EX-translation-agent-provenance-global-1" shape="rect">Example 59</a>, but the provenance information for the <code>par</code> element is stored differently, inside a format specific element <code>my-provenance-info</code>. The first <code>transProvRule</code> element and its attributes <code>transToolRefPointer</code>, <code>transOrgPointer</code>, <code>transRevToolRefPonter</code>, <code>transRevOrgPointer</code> and <code>provRefPointer</code> are used to point to the information inside that <code>my-provenance-info</code> element.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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><strong class="hl-tag" style="color: #000096">></strong> +<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-translation-agent-provenance-global-1.xml" shape="rect">examples/xml/EX-translation-agent-provenance-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-global-2" id="EX-translation-agent-provenance-global-2" shape="rect"/>Example 61: The <a href="#translation-agent-provenance" shape="rect">Translation Agent Provenance</a> data category used globally with pointer attributes.</div><p>This example expresses the same provenance information as <a href="#EX-translation-agent-provenance-global-1" shape="rect">Example 60</a>, but the provenance information for the <code>par</code> element is stored differently, inside a format specific element <code>my-provenance-info</code>. The first <code>transProvRule</code> element and its attributes <code>transToolRefPointer</code>, <code>transOrgPointer</code>, <code>transRevToolRefPonter</code>, <code>transRevOrgPointer</code> and <code>provRefPointer</code> are used to point to the information inside that <code>my-provenance-info</code> element.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><dc:creator></strong>John Doe<strong class="hl-tag" style="color: #000096"></dc:creator></strong> <strong class="hl-tag" style="color: #000096"><my-provenance-info></strong> <strong class="hl-tag" style="color: #000096"><transToolURI></strong>http://www.onlinemtex.com/2012/7/25/wsdl/<strong class="hl-tag" style="color: #000096"></transToolURI></strong> @@ -2268,7 +2276,7 @@ <strong class="hl-tag" style="color: #000096"><legalnotice</strong> <span class="hl-attribute" style="color: #F5844C">postediting-by</span>=<span class="hl-value" style="color: #993300">"http://www.vistatec.com/"</span><strong class="hl-tag" style="color: #000096">></strong>This text was translated directly by a person.<strong class="hl-tag" style="color: #000096"></legalnotice></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-translation-agent-provenance-global-2.xml" shape="rect">examples/xml/EX-translation-agent-provenance-global-2.xml</a>]</p></div><span class="editor-note">[Ed. note: Not sure if we need the standoff version globally. We don't have it with quality either. Thoughts?]</span><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-global-3" id="EX-translation-agent-provenance-global-3" shape="rect"/>Example 61: The <a href="#translation-agent-provenance" shape="rect">Translation Agent Provenance</a> data category used globally with standoff provenance records.</div><p>This example expresses the same plus some additional provenance information as <a href="#EX-translation-agent-provenance-global-1" shape="rect">Example 59</a>, but the provenance information is realized standoff within <code>translationProvenanceRecords</code> elements. The <code>transProvRle</code> elements with the <code>translationProvenanceRecordsRef</code> attributes point to <code>translationProvenanceRecords</code> related to the <code>par</code> and <code>legalnotice</code> elements. The <code>legalnotice</code> element has been revised two times. Hence, the related <code>translationProvenanceRecords</code> element contains two <code>translationProvenanceRecord</code> child elements. The second <code>translationProvenanceRecord</code> child element provides information about the second revison.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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> +<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-translation-agent-provenance-global-2.xml" shape="rect">examples/xml/EX-translation-agent-provenance-global-2.xml</a>]</p></div><span class="editor-note">[Ed. note: Not sure if we need the standoff version globally. We don't have it with quality either. Thoughts?]</span><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-global-3" id="EX-translation-agent-provenance-global-3" shape="rect"/>Example 62: The <a href="#translation-agent-provenance" shape="rect">Translation Agent Provenance</a> data category used globally with standoff provenance records.</div><p>This example expresses the same plus some additional provenance information as <a href="#EX-translation-agent-provenance-global-1" shape="rect">Example 60</a>, but the provenance information is realized standoff within <code>translationProvenanceRecords</code> elements. The <code>transProvRle</code> elements with the <code>translationProvenanceRecordsRef</code> attributes point to <code>translationProvenanceRecords</code> related to the <code>par</code> and <code>legalnotice</code> elements. The <code>legalnotice</code> element has been revised two times. Hence, the related <code>translationProvenanceRecords</code> element contains two <code>translationProvenanceRecord</code> child elements. The second <code>translationProvenanceRecord</code> child element provides information about the second revison.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><dc:creator></strong>John Doe<strong class="hl-tag" style="color: #000096"></dc:creator></strong> <strong class="hl-tag" style="color: #000096"><its:translationProvenanceRecords</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">></strong> @@ -2302,9 +2310,9 @@ <strong class="hl-tag" style="color: #000096"><legalnotice</strong> <span class="hl-attribute" style="color: #F5844C">postediting-by</span>=<span class="hl-value" style="color: #993300">"http://www.vistatec.com/"</span><strong class="hl-tag" style="color: #000096">></strong>This text was translated directly by a person.<strong class="hl-tag" style="color: #000096"></legalnotice></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-translation-agent-provenance-global-3.xml" shape="rect">examples/xml/EX-translation-agent-provenance-global-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-html5-global-1" id="EX-translation-agent-provenance-html5-global-1" shape="rect"/>Example 62: Annotating provenance information in HTML5 with <code>transProvRule</code> +<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-translation-agent-provenance-global-3.xml" shape="rect">examples/xml/EX-translation-agent-provenance-global-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-html5-global-1" id="EX-translation-agent-provenance-html5-global-1" shape="rect"/>Example 63: Annotating provenance information in HTML5 with <code>transProvRule</code> element</div><p>The <code>transProvRule</code> element resides in a separate file - (<a href="#EX-translation-agent-provenance-rule-html5-global-l" shape="rect">Example 63</a>) that associates the provenance information with a selected span of + (<a href="#EX-translation-agent-provenance-rule-html5-global-l" shape="rect">Example 64</a>) that associates the provenance information with a selected span of content in the HTML document.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><head></strong> @@ -2317,7 +2325,7 @@ <strong class="hl-tag" style="color: #000096"><p</strong> <span class="hl-attribute" style="color: #F5844C">class</span>=<span class="hl-value" style="color: #993300">"legal-notice"</span><strong class="hl-tag" style="color: #000096">></strong>This text was translated directly by a person.<strong class="hl-tag" style="color: #000096"></p></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-translation-agent-provenance-html5-global-1.html" shape="rect">examples/html5/EX-translation-agent-provenance-html5-global-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-rule-html5-global-l" id="EX-translation-agent-provenance-rule-html5-global-l" shape="rect"/>Example 63: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-translation-agent-provenance-html5-global-1" shape="rect">Example 62</a>:</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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.og/2005/11/its"</span> +<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-translation-agent-provenance-html5-global-1.html" shape="rect">examples/html5/EX-translation-agent-provenance-html5-global-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-rule-html5-global-l" id="EX-translation-agent-provenance-rule-html5-global-l" shape="rect"/>Example 64: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-translation-agent-provenance-html5-global-1" shape="rect">Example 63</a>:</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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.og/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">></strong> <strong class="hl-tag" style="color: #000096"><its:transProvRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/h:html/h:body/h:p[@id='p1']"</span> <span class="hl-attribute" style="color: #F5844C">transToolRef</span>=<span class="hl-value" style="color: #993300">"http://www.onlinemtex.com/2012/7/25/wsdl/"</span> @@ -2348,7 +2356,7 @@ carry pertains to the content of the element that refers to the standoff annotation, not to the content of the element <code>translationProvenanceRecord</code> (or <code><span translation-provenance-record></code>in HTML) where they are - declared.</p></li><li><p>The order of <code>translationProvenanceRecord</code> elements inside <code>translationProvenanceRecords</code> is significant: it reflects the temporal order of revisions. This is demonstrated e.g. in <a href="#EX-translation-agent-provenance-html5-local-2" shape="rect">Example 68</a>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-local-1" id="EX-translation-agent-provenance-local-1" shape="rect"/>Example 64: 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 theses elements.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><text</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:dc</span>=<span class="hl-value" style="color: #993300">"http://purl.orgdc/elements/1.1/"</span> + declared.</p></li><li><p>The order of <code>translationProvenanceRecord</code> elements inside <code>translationProvenanceRecords</code> is significant: it reflects the temporal order of revisions. This is demonstrated e.g. in <a href="#EX-translation-agent-provenance-html5-local-2" shape="rect">Example 69</a>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-local-1" id="EX-translation-agent-provenance-local-1" shape="rect"/>Example 65: 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 theses elements.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><text</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:dc</span>=<span class="hl-value" style="color: #993300">"http://purl.orgdc/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">></strong> <strong class="hl-tag" style="color: #000096"><title></strong>Translation Revision Provenance Agent: Local Test in XML<strong class="hl-tag" style="color: #000096"></title></strong> <strong class="hl-tag" style="color: #000096"><body></strong> @@ -2365,7 +2373,7 @@ <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 http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469"</span><strong class="hl-tag" style="color: #000096"> ></strong>This text was translated directly by a person.<strong class="hl-tag" style="color: #000096"></legalnotice></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-translation-agent-provenance-local-1.xml" shape="rect">examples/xml/EX-translation-agent-provenance-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-html5-local-1" id="EX-translation-agent-provenance-html5-local-1" shape="rect"/>Example 65: 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 xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> +<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-translation-agent-provenance-local-1.xml" shape="rect">examples/xml/EX-translation-agent-provenance-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-html5-local-1" id="EX-translation-agent-provenance-html5-local-1" shape="rect"/>Example 66: 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 xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><head></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> @@ -2382,7 +2390,7 @@ <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 http://www.vistatec.com/job-12-7-15-X31/reviewed/prov/re8573469"</span><strong class="hl-tag" style="color: #000096"> ></strong>This text was translated directly by a person.<strong class="hl-tag" style="color: #000096"></legalnotice></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-translation-agent-provenance-html5-local-1.html" shape="rect">examples/html5/EX-translation-agent-provenance-html5-local-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-local-2" id="EX-translation-agent-provenance-local-2" shape="rect"/>Example 66: Annotating provenance information in XML with local standoff markup</div><p>The following example shows a document using local standoff markup to +<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-translation-agent-provenance-html5-local-1.html" shape="rect">examples/html5/EX-translation-agent-provenance-html5-local-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-local-2" id="EX-translation-agent-provenance-local-2" shape="rect"/>Example 67: Annotating provenance information in XML with local standoff markup</div><p>The following example shows a document using local standoff markup to encode several pieces of provenance information. The <code>par</code> and <code>legalnotice</code> elements delemit the content to markup. They hold <code>translationProvenanceRecordsRef</code> attributes that point to the related <code>translationProvenanceRecords</code> elements. The <code>legalnotice</code> element has been revised two times. Hence, the related <code>translationProvenanceRecords</code> element contains two <code>translationProvenanceRecord</code> child elements. The second <code>translationProvenanceRecord</code> child element provides information about the second revison.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><its:translationProvenanceRecords</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">></strong> @@ -2409,7 +2417,7 @@ <strong class="hl-tag" style="color: #000096"><legalnotice</strong> <span class="hl-attribute" style="color: #F5844C">its:translationProvenanceRecordsRef</span>=<span class="hl-value" style="color: #993300">"#pr2"</span><strong class="hl-tag" style="color: #000096">></strong>This text was translated directly by a person.<strong class="hl-tag" style="color: #000096"></legalnotice></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-translation-agent-provenance-local-2.xml" shape="rect">examples/xml/EX-translation-agent-provenance-local-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-local-3" id="EX-translation-agent-provenance-local-3" shape="rect"/>Example 67: Annotating provenance information in XML with local standoff markup and a global +<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-translation-agent-provenance-local-2.xml" shape="rect">examples/xml/EX-translation-agent-provenance-local-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-local-3" id="EX-translation-agent-provenance-local-3" shape="rect"/>Example 68: Annotating provenance information 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 pieces of provenance information. But because, in this case, the <code>par</code> or the <code>legal notice</code> elements do not allow attributes from another @@ -2446,7 +2454,7 @@ <strong class="hl-tag" style="color: #000096"><legalnotice</strong> <span class="hl-attribute" style="color: #F5844C">ref</span>=<span class="hl-value" style="color: #993300">"#p2"</span><strong class="hl-tag" style="color: #000096">></strong>This text was translated directly by a person.<strong class="hl-tag" style="color: #000096"></legalnotice></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-translation-agent-provenance-local-3.xml" shape="rect">examples/xml/EX-translation-agent-provenance-local-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-html5-local-2" id="EX-translation-agent-provenance-html5-local-2" shape="rect"/>Example 68: Annotating provenance information in HTML with local standoff markup</div><p>The following example shows a document using local standoff markup to +<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-translation-agent-provenance-local-3.xml" shape="rect">examples/xml/EX-translation-agent-provenance-local-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translation-agent-provenance-html5-local-2" id="EX-translation-agent-provenance-html5-local-2" shape="rect"/>Example 69: 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 delimits the content to markup. It holds a <code>its-translation-provenance-records-ref</code> attribute that points to the standoff information inside the <code>script</code> element.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> @@ -2494,7 +2502,7 @@ <code>externalResourceRefRule</code> element contains the following:</p><ul><li><p>A required <code>selector</code> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <code>externalResourceRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing - to a node that provides the URI of the external resource.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-externalresource-1" id="EX-externalresource-1" shape="rect"/>Example 69: The <code>externalResourceRefRule</code> element</div><p>The <code>externalResourceRefRule</code> element expresses that the + to a node that provides the URI of the external resource.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-externalresource-1" id="EX-externalresource-1" shape="rect"/>Example 70: The <code>externalResourceRefRule</code> element</div><p>The <code>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> @@ -2524,7 +2532,7 @@ <strong class="hl-tag" style="color: #000096"></db:textobject></strong> <strong class="hl-tag" style="color: #000096"></db:mediaobject></strong> <strong class="hl-tag" style="color: #000096"></doc></strong> -</pre></div><p>[Source file: <a href="examples/xml/EX-externalresource-1.xml" shape="rect">examples/xml/EX-externalresource-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-externalresource-2" id="EX-externalresource-2" shape="rect"/>Example 70: Two <code>externalResourceRefRule</code> elements used for external +</pre></div><p>[Source file: <a href="examples/xml/EX-externalresource-1.xml" shape="rect">examples/xml/EX-externalresource-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-externalresource-2" id="EX-externalresource-2" shape="rect"/>Example 71: Two <code>externalResourceRefRule</code> elements used for external resources associated with HTML5 <code>video</code> elements</div><p>The two <code>externalResourceRefRule</code> elements select the <code>src</code> and the <code>poster</code> attributes at HTML5 <code>video</code> elements. These attributes identify different @@ -2532,14 +2540,14 @@ these resources. For this reason, the <code>externalResourceRefPointer</code> attributes point to the value of <code>src</code> and <code>poster</code> respectively. The - underlying HTML5 document is given in <a href="#EX-externalresource-html5-1" shape="rect">Example 71</a>.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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> + underlying HTML5 document is given in <a href="#EX-externalresource-html5-1" shape="rect">Example 72</a>.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><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">/></strong> <strong class="hl-tag" style="color: #000096"><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">/></strong> <strong class="hl-tag" style="color: #000096"></its:rules></strong> -</pre></div><p>[Source file: <a href="examples/xml/EX-externalresource-2.xml" shape="rect">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" shape="rect"/>Example 71: An HTML5 document that can be used for <a href="#EX-externalresource-2" shape="rect">Example 70</a>.</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> +</pre></div><p>[Source file: <a href="examples/xml/EX-externalresource-2.xml" shape="rect">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" shape="rect"/>Example 72: An HTML5 document that can be used for <a href="#EX-externalresource-2" shape="rect">Example 71</a>.</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><head></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> @@ -2582,7 +2590,7 @@ 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 must be able to contain the same content of 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" shape="rect"/>Example 72: Defining the target location of a source content with the + 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" shape="rect"/>Example 73: Defining the target location of a source content with the <code>targetPointerRule</code> element</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><file></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><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">/></strong> @@ -2613,7 +2621,7 @@ 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 an attribute specific to the format in - question (as in <a href="#EX-idvalue-attribute-1" shape="rect">Example 75</a>).</p></li><li><p>Applying the <a href="#idvalue" shape="rect">Id Value</a> data + question (as in <a href="#EX-idvalue-attribute-1" shape="rect">Example 76</a>).</p></li><li><p>Applying the <a href="#idvalue" shape="rect">Id Value</a> data category to <code>xml:id</code> attributes using global rules is not necessary, since <code>xml:id</code> is the recommended way to specify an identifier in XML.</p></li></ul></div></div><div class="div3"> @@ -2628,7 +2636,7 @@ within the document. If the attribute <code>xml:id</code> is present for the selected node, the value of the <code>xml:id</code> attribute <a href="#rfc2119" shape="rect">MUST</a> take precedence over the - <code>idValue</code> value.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-idvalue-element-1" id="EX-idvalue-element-1" shape="rect"/>Example 73: Pointing to an ID value with the <code>idValueRule</code> + <code>idValue</code> value.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-idvalue-element-1" id="EX-idvalue-element-1" shape="rect"/>Example 74: Pointing to an ID value with the <code>idValueRule</code> element</div><p>The <code>idValueRule</code> element indicates that the unique identifier for each <code><text></code> element is the value of the attribute <code>name</code> of its parent element.</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> @@ -2648,7 +2656,7 @@ <strong class="hl-tag" style="color: #000096"><pos></strong>2, 1<strong class="hl-tag" style="color: #000096"></pos></strong> <strong class="hl-tag" style="color: #000096"><trig></strong>cancelAll<strong class="hl-tag" style="color: #000096"></trig></strong> <strong class="hl-tag" style="color: #000096"></entry></strong> -<strong class="hl-tag" style="color: #000096"></resources></strong></pre></div><p>[Source file: <a href="examples/xml/EX-idvalue-element-1.xml" shape="rect">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" shape="rect"/>Example 74: Constructing ID values using the <code>idValueRule</code> +<strong class="hl-tag" style="color: #000096"></resources></strong></pre></div><p>[Source file: <a href="examples/xml/EX-idvalue-element-1.xml" shape="rect">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" shape="rect"/>Example 75: Constructing ID values using the <code>idValueRule</code> element.</div><p>The <code>idValue</code> attribute allows to build composite values based on different attributes, element or event hard-coded text. Any of the String functions offered by XPath can be used. In the @@ -2672,7 +2680,7 @@ <strong class="hl-tag" style="color: #000096"><desc></strong>The module cannot find the default settings file. You need to re-initialize the system.<strong class="hl-tag" style="color: #000096"></desc></strong> <strong class="hl-tag" style="color: #000096"></msg></strong> -<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-idvalue-element-2.xml" shape="rect">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" shape="rect"/>Example 75: Using <code>xml:id</code> and <code>idValueRule</code> +<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-idvalue-element-2.xml" shape="rect">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" shape="rect"/>Example 76: Using <code>xml:id</code> and <code>idValueRule</code> </div><p>When an <code>xml:id</code> attribute is present for a node selected by an <code>idValueRule</code> element, the value of <code>xml:id</code> takes precedence over the value defined by the <code>idValueRule</code> @@ -2703,7 +2711,7 @@ documents parsed as text/html.</p></div><p id="preservespace-global">GLOBAL: The <code>preserveSpaceRule</code> element contains the following:</p><ul><li><p>A required <code>selector</code> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <code>space</code> attribute with the value "default" or - "preserve".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-perservespace-global-1" id="EX-perservespace-global-1" shape="rect"/>Example 76: The <a href="#preservespace" shape="rect">Preserve Space</a> data + "preserve".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-perservespace-global-1" id="EX-perservespace-global-1" shape="rect"/>Example 77: The <a href="#preservespace" shape="rect">Preserve Space</a> data category expressed globally</div><p>The <code>preserveSpaceRule</code> element specifies that whitespace in all verse elements must be treated literally.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><book></strong> <strong class="hl-tag" style="color: #000096"><info></strong> @@ -2721,7 +2729,7 @@ </pre></div><p>[Source file: <a href="examples/xml/EX-preservespace-global-1.xml" shape="rect">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 (XML) 1.0 (Fourth Edition)" href="#xml10spec" shape="rect">[XML 1.0]</a>, maps exactly to the <a href="#preservespace" shape="rect">Preserve Space</a> - data category.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-perservespace-local-1" id="EX-perservespace-local-1" shape="rect"/>Example 77: The <a href="#preservespace" shape="rect">Preserve Space</a> data + data category.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-perservespace-local-1" id="EX-perservespace-local-1" shape="rect"/>Example 78: The <a href="#preservespace" shape="rect">Preserve Space</a> data category expressed locally</div><p>The standard <code>xml:space</code> attribute specifies that the whitespace in the verse element must be treated literally.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><book></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> @@ -2800,7 +2808,7 @@ <code>locQualityIssueCommentPointer</code>, <code>locQualityIssueSeverityPointer</code> and <code>locQualityIssueProfileRefPointer</code> do 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" shape="rect"/>Example 78: Annotating an issue in XML with <code>locQualityIssueRule</code> + 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" shape="rect"/>Example 79: Annotating an issue in XML with <code>locQualityIssueRule</code> element</div><p>The <code>locQualityIssueRule</code> element associates the issue information with a selected span of content.</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> <strong class="hl-tag" style="color: #000096"><doc></strong> @@ -2813,7 +2821,7 @@ <strong class="hl-tag" style="color: #000096"></its:rules></strong> <strong class="hl-tag" style="color: #000096"></header></strong> <strong class="hl-tag" style="color: #000096"><para></strong><strong class="hl-tag" style="color: #000096"><span</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"q1"</span><strong class="hl-tag" style="color: #000096">></strong>this<strong class="hl-tag" style="color: #000096"></span></strong> is an example<strong class="hl-tag" style="color: #000096"></para></strong> -<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-global-1.xml" shape="rect">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" shape="rect"/>Example 79: Using <code>locQualityIssueRule</code> to map equivalent markup</div><p>The <code>locQualityIssueRule</code> element defines what constructs are +<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-global-1.xml" shape="rect">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" shape="rect"/>Example 80: Using <code>locQualityIssueRule</code> to map equivalent markup</div><p>The <code>locQualityIssueRule</code> element defines what constructs are equivalent to the native ITS markup for the different pieces of information of the data category.</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> <strong class="hl-tag" style="color: #000096"><doc></strong> @@ -2829,9 +2837,9 @@ <strong class="hl-tag" style="color: #000096"><para></strong><strong class="hl-tag" style="color: #000096"><issue</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"typographical"</span> <span class="hl-attribute" style="color: #F5844C">note</span>=<span class="hl-value" style="color: #993300">"Sentence without capitalization"</span> <span class="hl-attribute" style="color: #F5844C">value</span>=<span class="hl-value" style="color: #993300">"50"</span> <span class="hl-attribute" style="color: #F5844C">profile</span>=<span class="hl-value" style="color: #993300">"http://example.org/qaModel/v13"</span><strong class="hl-tag" style="color: #000096">></strong>this<strong class="hl-tag" style="color: #000096"></issue></strong> is an example<strong class="hl-tag" style="color: #000096"></para></strong> -<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-global-2.xml" shape="rect">examples/xml/EX-locQualityIssue-global-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-html5-global" id="EX-locQualityIssue-html5-global" shape="rect"/>Example 80: Annotating an issue in HTML5 with <code>locQualityIssueRule</code> +<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-global-2.xml" shape="rect">examples/xml/EX-locQualityIssue-global-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-html5-global" id="EX-locQualityIssue-html5-global" shape="rect"/>Example 81: Annotating an issue in HTML5 with <code>locQualityIssueRule</code> element</div><p>The <code>locQualityIssueRule</code> element resides in a separate file - (<a href="#EX-locQualityIssueRule-html5-global" shape="rect">Example 81</a>) that associates the issue information with a selected span of + (<a href="#EX-locQualityIssueRule-html5-global" shape="rect">Example 82</a>) that associates the issue information with a selected span of content in the HTML document.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><head></strong> @@ -2843,7 +2851,7 @@ <strong class="hl-tag" style="color: #000096"><p></strong> <strong class="hl-tag" style="color: #000096"><span</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">q1</span><strong class="hl-tag" style="color: #000096">></strong>this<strong class="hl-tag" style="color: #000096"></span></strong> is an example.<strong class="hl-tag" style="color: #000096"></p></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-global.html" shape="rect">examples/html5/EX-locQualityIssue-html5-global.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssueRule-html5-global" id="EX-locQualityIssueRule-html5-global" shape="rect"/>Example 81: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-locQualityIssue-html5-global" shape="rect">Example 80</a>:</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> +<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-global.html" shape="rect">examples/html5/EX-locQualityIssue-html5-global.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssueRule-html5-global" id="EX-locQualityIssueRule-html5-global" shape="rect"/>Example 82: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-locQualityIssue-html5-global" shape="rect">Example 81</a>:</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><its:locQualityIssueRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//span[@id='q1']"</span> <span class="hl-attribute" style="color: #F5844C">locQualityIssueType</span>=<span class="hl-value" style="color: #993300">"typographical"</span> @@ -2885,7 +2893,7 @@ carry pertains to the content of the element that refers to the standoff annotation, not to the content of the element <code>locQualityIssue</code> (or <code><span loc-quality-issue></code>in HTML) where they are - declared.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-local-1" id="EX-locQualityIssue-local-1" shape="rect"/>Example 82: Annotating an issue in XML with local inline markup</div><p>The attributes <code>locQualityIssueType</code>, + declared.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-local-1" id="EX-locQualityIssue-local-1" shape="rect"/>Example 83: Annotating an issue in XML with local inline markup</div><p>The attributes <code>locQualityIssueType</code>, <code>locQualityIssueComment</code> and <code>locQualityIssueSeverity</code> are used to associate the issue information directly with a selected span of content.</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> @@ -2893,7 +2901,7 @@ <strong class="hl-tag" style="color: #000096"><para></strong><strong class="hl-tag" style="color: #000096"><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">></strong>this<strong class="hl-tag" style="color: #000096"></span></strong> is an example<strong class="hl-tag" style="color: #000096"></para></strong> -<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-local-1.xml" shape="rect">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" shape="rect"/>Example 83: Annotating an issue in HTML with local inline markup</div><p>In this example several spans of content are associated with a +<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-local-1.xml" shape="rect">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" shape="rect"/>Example 84: 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 xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><head></strong> @@ -2928,7 +2936,7 @@ <span class="hl-attribute" style="color: #F5844C">its-loc-quality-issue-type</span>=<span class="hl-value" style="color: #993300">spelling</span><strong class="hl-tag" style="color: #000096">></strong>qulaity<strong class="hl-tag" style="color: #000096"></span></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"></p></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-local-1.html" shape="rect">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" shape="rect"/>Example 84: Annotating an issue in XML with local standoff markup</div><p>The following example shows a document using local standoff markup to +<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-local-1.html" shape="rect">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" shape="rect"/>Example 85: 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>locQualityIssuesRef</code> attribute that points to the <code>locQualityIssues</code> element where @@ -2952,7 +2960,7 @@ <strong class="hl-tag" style="color: #000096"></trans-unit></strong> <strong class="hl-tag" style="color: #000096"></body></strong> <strong class="hl-tag" style="color: #000096"></file></strong> -<strong class="hl-tag" style="color: #000096"></xliff></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-local-2.xml" shape="rect">examples/xml/EX-locQualityIssue-local-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-local-3" id="EX-locQualityIssue-local-3" shape="rect"/>Example 85: Annotating an issue in XML with local standoff markup and a global +<strong class="hl-tag" style="color: #000096"></xliff></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-local-2.xml" shape="rect">examples/xml/EX-locQualityIssue-local-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-local-3" id="EX-locQualityIssue-local-3" shape="rect"/>Example 86: 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 @@ -2984,7 +2992,7 @@ <strong class="hl-tag" style="color: #000096"></its:locQualityIssues></strong> <strong class="hl-tag" style="color: #000096"></unit></strong> <strong class="hl-tag" style="color: #000096"></file></strong> -<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-local-3.xml" shape="rect">examples/xml/EX-locQualityIssue-local-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-html5-local-2" id="EX-locQualityIssue-html5-local-2" shape="rect"/>Example 86: Annotating an issue in HTML with local standoff markup</div><p>The following example shows a document using local standoff markup to +<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-local-3.xml" shape="rect">examples/xml/EX-locQualityIssue-local-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-html5-local-2" id="EX-locQualityIssue-html5-local-2" shape="rect"/>Example 87: 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>loc-quality-issues-ref</code> attribute that points to a special <code>span</code> element where @@ -3054,7 +3062,7 @@ <code>locQualityPrecisProfileRef</code>.</p></li></ul></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>The attributes <code>locQualityPrecisScorePointer</code>, <code>locQualityPrecisThresholdPointer</code>, and <code>locQualityPrecisProfileRefPointer</code> do 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-locQualityPrecis-global-1" id="EX-locQualityPrecis-global-1" shape="rect"/>Example 87: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data + HTML as local markup is provided for direct annotation in HTML.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecis-global-1" id="EX-locQualityPrecis-global-1" shape="rect"/>Example 88: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category expressed globally in XML</div><p>The following example shows how to use the <code>locQualityPrecisRule</code> element to specify the score, threshold and profile for a document.</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> @@ -3068,7 +3076,7 @@ <strong class="hl-tag" style="color: #000096"></its:rules></strong> <strong class="hl-tag" style="color: #000096"></header></strong> <strong class="hl-tag" style="color: #000096"><para></strong>This is an example<strong class="hl-tag" style="color: #000096"></para></strong> -<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityPrecis-global-1.xml" shape="rect">examples/xml/EX-locQualityPrecis-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecis-global-2" id="EX-locQualityPrecis-global-2" shape="rect"/>Example 88: Using pointers to map the <a href="#lqprecis" shape="rect">Localization +<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityPrecis-global-1.xml" shape="rect">examples/xml/EX-locQualityPrecis-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecis-global-2" id="EX-locQualityPrecis-global-2" shape="rect"/>Example 89: Using pointers to map the <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category in XML</div><p>The following example shows how the <code>locQualityPrecisVotePointer</code>, <code>locQualityPrecisThresholdPointer</code> and @@ -3085,7 +3093,7 @@ <strong class="hl-tag" style="color: #000096"></its:rules></strong> <strong class="hl-tag" style="color: #000096"></header></strong> <strong class="hl-tag" style="color: #000096"><para></strong>This is not popular<strong class="hl-tag" style="color: #000096"></para></strong> -<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityPrecis-global-2.xml" shape="rect">examples/xml/EX-locQualityPrecis-global-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecis-html5-global" id="EX-locQualityPrecis-html5-global" shape="rect"/>Example 89: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data +<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityPrecis-global-2.xml" shape="rect">examples/xml/EX-locQualityPrecis-global-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecis-html5-global" id="EX-locQualityPrecis-html5-global" shape="rect"/>Example 90: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category expressed globally in HTML</div><p>The following example shows how to use the <code>locQualityPrecisRule</code> element to specify the score, threshold and profile for an HTML document.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> @@ -3098,7 +3106,7 @@ <strong class="hl-tag" style="color: #000096"><body></strong> <strong class="hl-tag" style="color: #000096"><p></strong>This is an example.<strong class="hl-tag" style="color: #000096"></p></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityPrecis-html5-global.html" shape="rect">examples/html5/EX-locQualityPrecis-html5-global.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecisRule-html5-global" id="EX-locQualityPrecisRule-html5-global" shape="rect"/>Example 90: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-locQualityPrecis-html5-global" shape="rect">Example 89</a>:</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> +<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityPrecis-html5-global.html" shape="rect">examples/html5/EX-locQualityPrecis-html5-global.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecisRule-html5-global" id="EX-locQualityPrecisRule-html5-global" shape="rect"/>Example 91: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-locQualityPrecis-html5-global" shape="rect">Example 90</a>:</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><its:locQualityPrecisRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/html"</span> <span class="hl-attribute" style="color: #F5844C">locQualityPrecisScore</span>=<span class="hl-value" style="color: #993300">"100"</span> @@ -3115,7 +3123,7 @@ vote that constitutes a passing score or a passing vote in the profile used.</p></li><li><p>An optional <code>locQualityPrecisProfileRef</code> attribute. Its value is a URI 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-locQualityPrecis-local-1" id="EX-locQualityPrecis-local-1" shape="rect"/>Example 91: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data + the quality assessment model used for the scoring.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecis-local-1" id="EX-locQualityPrecis-local-1" shape="rect"/>Example 92: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category expressed locally in XML</div><p>The <code>locQualityPrecisScore</code>, <code>locQualityPrecisThreshold</code> and <code>locQualityPrecisProfileRef</code> are used to score the @@ -3130,7 +3138,7 @@ she saw the state his clothes were in her resolution to turn his Saturday holiday into captivity at hard labor became adamantine in its firmness.<strong class="hl-tag" style="color: #000096"></para></strong> -<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityPrecis-local-1.xml" shape="rect">examples/xml/EX-locQualityPrecis-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecis-html5-local" id="EX-locQualityPrecis-html5-local" shape="rect"/>Example 92: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data +<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityPrecis-local-1.xml" shape="rect">examples/xml/EX-locQualityPrecis-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecis-html5-local" id="EX-locQualityPrecis-html5-local" shape="rect"/>Example 93: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category expressed locally in HTML</div><p>The <code>its-loc-quality-precis-score</code>, <code>its-loc-quality-precis-threshold</code> and <code>its-loc-quality-precis-profile-ref</code> are used to score @@ -3189,7 +3197,7 @@ engine</p></li><li><p>A Domain as per the <a class="section-ref" href="#domain" shape="rect">Section 6.9: Domain</a> </p></li><li><p>A privately structured string, eg. <code>Domain:IT-Pair:IT-JA</code>, - <code>IT-JA:Medical</code>, etc.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-global-1" id="EX-mtConfidence-global-1" shape="rect"/>Example 93: Global usage of <code>mtConfidenceRule</code>, <code>mtProducer</code>, + <code>IT-JA:Medical</code>, etc.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-global-1" id="EX-mtConfidence-global-1" shape="rect"/>Example 94: Global usage of <code>mtConfidenceRule</code>, <code>mtProducer</code>, and <code>mtEngine</code> (specified by BCP 47 t-extension) along with local usage of <code>mtConfidenceScore</code> </div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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">></strong> @@ -3204,7 +3212,7 @@ Ireland.<strong class="hl-tag" style="color: #000096"></span></strong> <strong class="hl-tag" style="color: #000096"></p></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-mtConfidence-global-1.xml" shape="rect">examples/xml/EX-mtConfidence-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-global-2" id="EX-mtConfidence-global-2" shape="rect"/>Example 94: Global usage of <code>mtConfidenceRule</code>, <code>mtProducer</code>, +<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-mtConfidence-global-1.xml" shape="rect">examples/xml/EX-mtConfidence-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-global-2" id="EX-mtConfidence-global-2" shape="rect"/>Example 95: Global usage of <code>mtConfidenceRule</code>, <code>mtProducer</code>, and <code>mtEngine</code> (specified with a sample privately structured string) along with local usage of <code>mtConfidenceScore</code> @@ -3227,7 +3235,7 @@ Translate”, “DCU Matrex”, “vanilla Moses” etc.</p></li><li><p>An mtEngine attribute that contains a string uniquely identifying a specific MT engine on a platform given in mtProducer. Some examples of values are given for the <a href="#mtconfidence-global" shape="rect">global definition of MT - Confidence</a>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-local-1" id="EX-mtConfidence-local-1" shape="rect"/>Example 95: The <a href="#mtconfidence" shape="rect">MT Confidence</a> data category + Confidence</a>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-local-1" id="EX-mtConfidence-local-1" shape="rect"/>Example 96: The <a href="#mtconfidence" shape="rect">MT Confidence</a> data category expressed locally</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><body></strong> <strong class="hl-tag" style="color: #000096"><p></strong> @@ -3236,7 +3244,7 @@ Ireland.<strong class="hl-tag" style="color: #000096"></span></strong> <strong class="hl-tag" style="color: #000096"></p></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-mtConfidence-local-1.xml" shape="rect">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" shape="rect"/>Example 96: The <a href="#mtconfidence" shape="rect">MT Confidence</a> data category +<strong class="hl-tag" style="color: #000096"></text></strong></pre></div><p>[Source file: <a href="examples/xml/EX-mtConfidence-local-1.xml" shape="rect">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" shape="rect"/>Example 97: The <a href="#mtconfidence" shape="rect">MT Confidence</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><head></strong> @@ -3282,7 +3290,7 @@ contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as - <code>allowedCharacters</code>.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-global-1" id="EX-allowedCharacters-global-1" shape="rect"/>Example 97: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data + <code>allowedCharacters</code>.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-global-1" id="EX-allowedCharacters-global-1" shape="rect"/>Example 98: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category expressed globally in XML</div><p>The <code>allowedCharactersRule</code> element states that the translated content of elements <code>content</code> must not contain the characters <code>*</code> and <code>+</code>.</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> @@ -3297,7 +3305,7 @@ nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.<strong class="hl-tag" style="color: #000096"></content></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></myRes></strong></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-global-1.xml" shape="rect">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" shape="rect"/>Example 98: Mapping the <a href="#allowedchars" shape="rect">Allowed Characters</a> +<strong class="hl-tag" style="color: #000096"></myRes></strong></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-global-1.xml" shape="rect">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" shape="rect"/>Example 99: Mapping the <a href="#allowedchars" shape="rect">Allowed Characters</a> data category in XML</div><p>The attribute <code>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 @@ -3312,14 +3320,14 @@ <strong class="hl-tag" style="color: #000096"></res></strong></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-global-2.xml" shape="rect">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" shape="rect">Allowed Characters</a> data category:</p><ul><li><p>A <code>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" shape="rect"/>Example 99: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data + 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" shape="rect"/>Example 100: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category expressed locally in XML</div><p>The local <code>allowedCharacters</code> attribute specifies that the translated content of element <code>panelmsg</code> must contain only Unicode characters between U+0020 and U+00FE.</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><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">></strong>Click the <strong class="hl-tag" style="color: #000096"><panelmsg</strong> <span class="hl-attribute" style="color: #F5844C">its:allowedCharacters</span>=<span class="hl-value" style="color: #993300">"[&#x0020;-&#x00FE;]"</span><strong class="hl-tag" style="color: #000096"> ></strong>CONTINUE<strong class="hl-tag" style="color: #000096"></panelmsg></strong> Button on the printer panel<strong class="hl-tag" style="color: #000096"></msg></strong> -<strong class="hl-tag" style="color: #000096"></messages></strong></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-local-1.xml" shape="rect">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" shape="rect"/>Example 100: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data +<strong class="hl-tag" style="color: #000096"></messages></strong></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-local-1.xml" shape="rect">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" shape="rect"/>Example 101: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category expressed locally in HTML</div><p>The local <code>its-allowed-characters</code> attribute specifies that the translated content of element <code>code</code> must not contain the characters other than 'a' to 'z' in any case and the characters @@ -3366,7 +3374,7 @@ <code>lf</code> for LINE FEED (U+000A), <code>crlf</code> for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A), or <code>nel</code> for NEXT LINE (U+0085). The default value - is <code>lf</code>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-global-1" id="EX-storageSize-global-1" shape="rect"/>Example 101: The <a href="#storagesize" shape="rect">Storage Size</a> data category + is <code>lf</code>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-global-1" id="EX-storageSize-global-1" shape="rect"/>Example 102: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed globally in XML</div><p>The <code>storageSizeRule</code> element is used to specify that, when encoded in ISO-8859-1, the content of the <code>country</code> element must not be more than 25 bytes. The name "Papouasie-Nouvelle-Guinée" @@ -3381,7 +3389,7 @@ <strong class="hl-tag" style="color: #000096"><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">></strong>Papouasie-Nouvelle-Guinée<strong class="hl-tag" style="color: #000096"></country></strong> <strong class="hl-tag" style="color: #000096"><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">></strong>République Dominicaine<strong class="hl-tag" style="color: #000096"></country></strong> <strong class="hl-tag" style="color: #000096"></data></strong> -<strong class="hl-tag" style="color: #000096"></db></strong></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-global-1.xml" shape="rect">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" shape="rect"/>Example 102: Mapping the <a href="#storagesize" shape="rect">Storage Size</a> data +<strong class="hl-tag" style="color: #000096"></db></strong></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-global-1.xml" shape="rect">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" shape="rect"/>Example 103: Mapping the <a href="#storagesize" shape="rect">Storage Size</a> data category in XML</div><p>The <code>storageSizePointer</code> attribute is used to map the non-ITS attribute <code>max</code> to the same functionality as <code>storageSize</code>. There is no character set encoding @@ -3410,14 +3418,14 @@ <code>lf</code> for LINE FEED (U+000A), <code>crlf</code> for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A), or <code>nel</code> for NEXT LINE (U+0085). The default value - is <code>lf</code>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-local-1" id="EX-storageSize-local-1" shape="rect"/>Example 103: The <a href="#storagesize" shape="rect">Storage Size</a> data category + is <code>lf</code>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-local-1" id="EX-storageSize-local-1" shape="rect"/>Example 104: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed locally in XML</div><p>The <code>storageSize</code> attribute allows to specify different the maximum storage sizes throughout the document.</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><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">></strong>CONTINUE<strong class="hl-tag" style="color: #000096"></var></strong> <strong class="hl-tag" style="color: #000096"><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">></strong>STOP<strong class="hl-tag" style="color: #000096"></var></strong> <strong class="hl-tag" style="color: #000096"><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">></strong>CANCEL<strong class="hl-tag" style="color: #000096"></var></strong> -<strong class="hl-tag" style="color: #000096"></messages></strong></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-local-1.xml" shape="rect">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" shape="rect"/>Example 104: The <a href="#storagesize" shape="rect">Storage Size</a> data category +<strong class="hl-tag" style="color: #000096"></messages></strong></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-local-1.xml" shape="rect">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" shape="rect"/>Example 105: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed locally in HTML</div><p>The <code>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 xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> @@ -3720,7 +3728,8 @@ 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" category, it<a href="#rfc-keywords" shape="rect">MUST</a> be mapped to this + precise value, while other issues cannot.</p></li><li><p>If a system has an "miscellaneous" or "other" category, it + <a href="#rfc-keywords" shape="rect">MUST</a> be mapped to this value even if the specific instance of the issue might be mapped to another category.</p></li></ul> </td></tr></tbody></table></div><div class="div1"> @@ -3809,7 +3818,7 @@ <em>This section is informative.</em> </p><p>Several constraints of ITS markup cannot be validated with ITS schemas. The following <a title="Rule-based validation
							-- Schematron" href="#schematron" shape="rect">[Schematron]</a> document allows for - validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e9893" id="d0e9893" shape="rect"/>Example 105: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><schema</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://www.ascc.net/xml/schematron"</span><strong class="hl-tag" style="color: #000096">></strong> + validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e9971" id="d0e9971" shape="rect"/>Example 106: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><schema</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://www.ascc.net/xml/schematron"</span><strong class="hl-tag" style="color: #000096">></strong> <em class="hl-comment" style="color: silver"><!-- Schematron document to test constraints for global and local ITS markup. For ITS markup definitions, see http://www.w3.org/TR/its/ . --></em> <strong class="hl-tag" style="color: #000096"><ns</strong> <span class="hl-attribute" style="color: #F5844C">prefix</span>=<span class="hl-value" style="color: #993300">"its"</span> <span class="hl-attribute" style="color: #F5844C">uri</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">/></strong> @@ -3856,7 +3865,7 @@ </p><p>The following <a title="Namespace-based Validation
							Dispatching Language (NVDL)" href="#nvdl" shape="rect">[NVDL]</a> document allows validation of ITS markup which has been added to a host vocabulary. Only ITS elements and attributes are checked. Elements and attributes of host language are ignored - during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e9915" id="d0e9915" shape="rect"/>Example 106: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> + during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e9993" id="d0e9993" shape="rect"/>Example 107: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><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">/></strong> @@ -3912,7 +3921,9 @@ <span class="hl-attribute" style="color: #F5844C">its-disambig-ident-ref</span>=<span class="hl-value" style="color: #993300">"http://dbpedia.org/resource/Ireland” >Ireland</span>!</h2> </body> </html></span></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" shape="rect"><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" shape="rect"/>H Revision Log (Non-Normative)</h2><p id="changelog-since-20120829">The following log records major changes that +<h2><a href="#contents" shape="rect"><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" shape="rect"/>H Revision Log (Non-Normative)</h2><p id="changelog-since-20121023">The following log records major changes that + have been made to this document since the <a href="http://www.w3.org/TR/2012/WD-its20-20121023/" shape="rect">ITS 2.0 Working Draft + 23 October 2012</a>.</p><ul><li><p>Clarified usage of <a href="#domain" shape="rect">Domain</a> data category in HTML5 in response to <a href="https://www.w3.org/International/multilingualweb/lt/track/issues/56" shape="rect">issue-56</a>.</p></li></ul><p id="changelog-since-20120829">The following log records major changes that have been made to this document since the <a href="http://www.w3.org/TR/2012/WD-its20-20120829/" shape="rect">ITS 2.0 Working Draft 29 August 2012</a>.</p><ol class="depth1"><li><p>Added a first draft of <a class="section-ref" href="#translation-agent-provenance" shape="rect">Section 6.12: Translation Agent Provenance</a></p></li><li><p>Added <a class="section-ref" href="#html5-markup" shape="rect">Section 7: Using ITS Markup in HTML5</a>.</p></li><li><p>Removed inline markup declarations.</p></li><li><p>Addition of a <code>locQualityPrecisVote</code> attribute and a <code>locQualityPrecisVotePointer</code> attribute to <a class="section-ref" href="#lqprecis" shape="rect">Section 6.19: Localization Quality Précis</a>.</p></li><li><p>A <a href="#its-information_versus_content" shape="rect">clarification</a> of ITS
Received on Tuesday, 23 October 2012 21:05:49 UTC