- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 24 Oct 2012 03:26:10 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory hutz:/tmp/cvs-serv2552 Modified Files: its20.html its20.odd Log Message: Domain fix Index: its20.odd =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v retrieving revision 1.202 retrieving revision 1.203 diff -u -d -r1.202 -r1.203 --- its20.odd 23 Oct 2012 21:05:39 -0000 1.202 +++ its20.odd 24 Oct 2012 03:26:08 -0000 1.203 @@ -2973,7 +2973,6 @@ <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 @@ -3042,7 +3041,6 @@ </item> <item>Return the resulting string.</item> </list> - <p xml:id="domain-global">GLOBAL: The <gi>domainRule</gi> element contains the following:</p> <list type="unordered"> @@ -3092,7 +3090,7 @@ <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. The <att>domainMapping</att> + the values in the source content. In this case it points to 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>domainMapping</att> attribute contains the comma separated list of mappings. In the example, <code>automotive</code> is available in the source content, and <code>auto</code> is used within the consumer tool, e.g. a @@ -3100,20 +3098,8 @@ <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 - 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 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-2" type="exref"/>.</p> <p>In the area of machine translation (e.g. machine translation systems or systems harvesting content for machine translation training), there is no agreed upon set of value sets for domain. Nevertheless Index: its20.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v retrieving revision 1.203 retrieving revision 1.204 diff -u -d -r1.203 -r1.204 --- its20.html 23 Oct 2012 21:05:38 -0000 1.203 +++ its20.html 24 Oct 2012 03:26:07 -0000 1.204 @@ -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 73</a>. This + translation is available in a <code>target</code> element; see <a href="#EX-target-pointer-global-1" shape="rect">Example 72</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>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 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, 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"> @@ -2000,28 +2000,17 @@ <strong class="hl-tag" style="color: #000096"></its:rules></strong></pre></div><p>[Source file: <a href="examples/xml/EX-domain-1.xml" shape="rect">examples/xml/EX-domain-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-domain-2" id="EX-domain-2" shape="rect"/>Example 51: 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. The <code>domainMapping</code> + the values in the source content. In this case it points to 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>domainMapping</code> attribute contains the comma separated list of mappings. In the example, <code>automotive</code> is available in the source content, and <code>auto</code> is used within the consumer tool, e.g. a machine translation system.</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']/@content"</span> + <span class="hl-attribute" style="color: #F5844C">domainPointer</span>=<span class="hl-value" style="color: #993300">"/h:html/h:head/h:meta[@name='dcterms.subject' or @name='keywords']/@content"</span> <span class="hl-attribute" style="color: #F5844C">domainMapping</span>=<span class="hl-value" style="color: #993300">"automotive auto, medical medicine, 'criminal law' law, 'property law' law"</span><strong class="hl-tag" style="color: #000096">/></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="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 +</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 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-2" shape="rect">Example 51</a>.</p><p>In the area of machine translation (e.g. machine translation systems or systems harvesting content for machine translation training), there is no agreed upon set of value sets for domain. Nevertheless it is recommended to use a small set of values both in source @@ -2082,7 +2071,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 53: 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 52: 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> @@ -2109,7 +2098,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 54: 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 53: 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> @@ -2132,8 +2121,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 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 + 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 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> @@ -2144,7 +2133,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 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"></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"><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> @@ -2170,7 +2159,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 57: 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 56: 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 @@ -2187,7 +2176,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 58: 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 57: 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> @@ -2200,7 +2189,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 59: 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 58: 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> @@ -2225,7 +2214,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 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> + <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> <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> @@ -2247,7 +2236,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 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"></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"><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> @@ -2276,7 +2265,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 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> +<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> <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> @@ -2310,9 +2299,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 63: 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 62: 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 64</a>) that associates the provenance information with a selected span of + (<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 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> @@ -2325,7 +2314,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 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> +<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> <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> @@ -2356,7 +2345,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 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> + 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> <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> @@ -2373,7 +2362,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 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"></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"><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> @@ -2390,7 +2379,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 67: 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 66: 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> @@ -2417,7 +2406,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 68: 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 67: 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 @@ -2454,7 +2443,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 69: 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 68: 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> @@ -2502,7 +2491,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 70: 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 69: 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> @@ -2532,7 +2521,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 71: 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 70: 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 @@ -2540,14 +2529,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 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> + 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> <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 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> +</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> <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> @@ -2590,7 +2579,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 73: 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 72: 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> @@ -2621,7 +2610,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 76</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 75</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"> @@ -2636,7 +2625,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 74: 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 73: 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> @@ -2656,7 +2645,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 75: 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 74: 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 @@ -2680,7 +2669,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 76: 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 75: 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> @@ -2711,7 +2700,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 77: 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 76: 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> @@ -2729,7 +2718,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 78: 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 77: 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> @@ -2808,7 +2797,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 79: 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 78: 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> @@ -2821,7 +2810,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 80: 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 79: 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> @@ -2837,9 +2826,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 81: 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 80: 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 82</a>) that associates the issue information with a selected span of + (<a href="#EX-locQualityIssueRule-html5-global" shape="rect">Example 81</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> @@ -2851,7 +2840,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 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"></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"><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> @@ -2893,7 +2882,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 83: 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 82: 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> @@ -2901,7 +2890,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 84: 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 83: 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> @@ -2936,7 +2925,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 85: 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 84: 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 @@ -2960,7 +2949,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 86: 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 85: 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 @@ -2992,7 +2981,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 87: 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 86: 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 @@ -3062,7 +3051,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 88: 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 87: 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> @@ -3076,7 +3065,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 89: 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 88: 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 @@ -3093,7 +3082,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 90: 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 89: 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> @@ -3106,7 +3095,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 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"></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"><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> @@ -3123,7 +3112,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 92: 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 91: 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 @@ -3138,7 +3127,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 93: 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 92: 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 @@ -3197,7 +3186,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 94: 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 93: 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> @@ -3212,7 +3201,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 95: 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 94: 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> @@ -3235,7 +3224,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 96: 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 95: 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> @@ -3244,7 +3233,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 97: 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 96: 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> @@ -3290,7 +3279,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 98: 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 97: 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> @@ -3305,7 +3294,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 99: 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 98: 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 @@ -3320,14 +3309,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 100: 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 99: 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 101: 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 100: 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 @@ -3374,7 +3363,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 102: 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 101: 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" @@ -3389,7 +3378,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 103: 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 102: 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 @@ -3418,14 +3407,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 104: 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 103: 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 105: 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 104: 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> @@ -3818,7 +3807,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="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> + validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e9929" id="d0e9929" 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> <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> @@ -3865,7 +3854,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="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> + during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e9951" id="d0e9951" 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> <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>
Received on Wednesday, 24 October 2012 03:26:17 UTC