- From: CVS User ysavoure <cvsmail@w3.org>
- Date: Tue, 20 Nov 2012 17:36:56 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory gil:/tmp/cvs-serv10254 Modified Files: its20.html its20.odd Log Message: Finished updates on LQI global rules. --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2012/11/20 17:26:14 1.243 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2012/11/20 17:36:55 1.244 @@ -2671,9 +2671,7 @@ the exact same semantics as <code>locQualityIssuesRef</code>.</p></li></ul></li><li><p>At least one of the following:</p><ul><li><p>A <code>locQualityIssueType</code> attribute that implements the <a href="#lqissueDefs" shape="rect">type information</a>.</p></li><li><p>A <code>locQualityIssueComment</code> attribute that implements the <a href="#lqissueDefs" shape="rect">comment information</a>.</p></li></ul></li></ul></li><li><p>An optional <code>locQualityIssueSeverity</code> attribute that implements the <a href="#lqissueDefs" shape="rect">severity information</a>.</p></li><li><p>An optional <code>locQualityIssueProfileRef</code> attribute that implements the <a href="#lqissueDefs" shape="rect">profile - reference information</a>.</p></li><li><p>An optional <code>locQualityIssueProfileRefPointer</code> attribute that contains a - <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as - <code>locQualityIssueProfileRef</code>.</p></li><li><p>An optional <code>locQualityIssueEnabled</code> attribute that implements the <a href="#lqissueDefs" shape="rect">enabled + reference information</a>.</p></li><li><p>An optional <code>locQualityIssueEnabled</code> attribute that implements the <a href="#lqissueDefs" shape="rect">enabled information</a>.</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>The attribute <code>locQualityIssuesRefPointer</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 74: Annotating an issue in XML with <code>locQualityIssueRule</code> element</div><p>The <code>locQualityIssueRule</code> element associates the issue information with the value of the <code>text</code> attribute.</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>
 @@ -2706,25 +2704,7 @@ <span class="hl-attribute" style="color: #F5844C">locQualityIssuesRefPointer</span>=<span class="hl-value" style="color: #993300">"@ref"</span><strong class="hl-tag" style="color: #000096">/></strong>
 <strong class="hl-tag" style="color: #000096"></its:rules></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-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 76: 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 77</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>
 - <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>
 - <strong class="hl-tag" style="color: #000096"><title></strong>Example<strong class="hl-tag" style="color: #000096"></title></strong>
 - <strong class="hl-tag" style="color: #000096"><link</strong> <span class="hl-attribute" style="color: #F5844C">href</span>=<span class="hl-value" style="color: #993300">EX-locQualityIssueRule-html5-global.xml</span> <span class="hl-attribute" style="color: #F5844C">rel</span>=<span class="hl-value" style="color: #993300">its-rules</span><strong class="hl-tag" style="color: #000096">></strong>
 - <strong class="hl-tag" style="color: #000096"></head></strong>
 - <strong class="hl-tag" style="color: #000096"><body></strong>
 - <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 77: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-locQualityIssue-html5-global" shape="rect">Example 76</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>
 - <span class="hl-attribute" style="color: #F5844C">locQualityIssueComent</span>=<span class="hl-value" style="color: #993300">"Sentence without capitalization"</span>
 - <span class="hl-attribute" style="color: #F5844C">locQualityIssueSeverity</span>=<span class="hl-value" style="color: #993300">"50"</span><strong class="hl-tag" style="color: #000096">/></strong>
 -<strong class="hl-tag" style="color: #000096"></its:rules></strong></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssueRule-html5-global.xml" shape="rect">examples/html5/EX-locQualityIssueRule-html5-global.xml</a>]</p></div><p id="lqissue-local">LOCAL: Using the inline markup to represent the data category +<strong class="hl-tag" style="color: #000096"></xliff></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><p id="lqissue-local">LOCAL: Using the inline markup to represent the data category locally is limited to a single occurrence for a given content (e.g. one cannot have different <code>locQualityIssueType</code> attributes applied to the same span of text because the inner-most one would override the others). A local <em>standoff @@ -2753,14 +2733,14 @@ in in a standoff manner, the information they carry pertains to the content of the element that refers to the standoff annotation, not to the content of the element <code>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 78: Annotating an issue in XML with local inline markup</div><p>The attributes <code>locQualityIssueType</code>, <code>locQualityIssueComment</code> + they are declared.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-local-1" id="EX-locQualityIssue-local-1" shape="rect"/>Example 76: 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>
 <strong class="hl-tag" style="color: #000096"><doc</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">></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">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 79: 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"></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 77: 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>
 <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>
 @@ -2794,7 +2774,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 80: Annotating an issue in XML with local standoff markup</div><p>The following example shows a document using local standoff markup to encode +<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 78: 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 the issues are listed.</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span>
 @@ -2817,7 +2797,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 81: 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 +<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 79: Annotating an issue in XML with local standoff markup and a global rule</div><p>The following example shows a document using local standoff markup to encode several issues. But because, in this case, the <code>mrk</code> element does not allow attributes from another namespace we cannot use <code>locQualityIssuesRef</code> directly. Instead, a global rule is used to map the function of @@ -2847,7 +2827,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 82: Annotating an issue in HTML with local standoff markup</div><p>The following example shows a document using local standoff markup to encode +<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 80: 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 the issues are listed within a set of other @@ -2908,7 +2888,7 @@ exact same semantics as <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 83: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category + 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 81: 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>
 <strong class="hl-tag" style="color: #000096"><doc></strong>
 @@ -2921,7 +2901,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 84: Using pointers to map the <a href="#lqprecis" shape="rect">Localization Quality +<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 82: 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 <code>locQualityPrecisProfileRefPointer</code> can be used to map the data category @@ -2937,7 +2917,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 85: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category +<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 83: 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>
 <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>
 @@ -2949,7 +2929,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 86: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-locQualityPrecis-html5-global" shape="rect">Example 85</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 84: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-locQualityPrecis-html5-global" shape="rect">Example 83</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>
 @@ -2962,7 +2942,7 @@ signed integer which indicates the lowest score or 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 IRI pointing to the reference document describing the quality assessment model - used for the scoring.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecis-local-1" id="EX-locQualityPrecis-local-1" shape="rect"/>Example 87: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category + 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 85: 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 quality of the document.</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span>
 @@ -2976,7 +2956,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 88: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category +<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 86: 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 the quality of the @@ -3024,7 +3004,7 @@ 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>mtConfidence</code> attribute with a value that represents the translation confidence score as a rational number in the interval 0 to - 1 inclusive.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-xmConfidence-global-html5-1" id="EX-xmConfidence-global-html5-1" shape="rect"/>Example 89: Global usage of <code>mtConfidenceRule</code> in a HTML document to specify the + 1 inclusive.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-xmConfidence-global-html5-1" id="EX-xmConfidence-global-html5-1" shape="rect"/>Example 87: Global usage of <code>mtConfidenceRule</code> in a HTML document to specify the confidence scores for the translation into English of the <code>title</code> attributes of two <code>img</code> elements.</div><div class="exampleInner"><pre 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>
 @@ -3042,7 +3022,7 @@ <span class="hl-attribute" style="color: #F5844C">title</span>=<span class="hl-value" style="color: #993300">"A tart with a cart"</span><strong class="hl-tag" style="color: #000096">/></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"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-mtConfidence-global-html5-1.html" shape="rect">examples/html5/EX-mtConfidence-global-html5-1.html</a>]</p></div><p>Where the external ITS rules file is as shown:</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e8097" id="d0e8097" shape="rect"/>Example 90: XML file with external rules references from an HTML5 file.</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"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-mtConfidence-global-html5-1.html" shape="rect">examples/html5/EX-mtConfidence-global-html5-1.html</a>]</p></div><p>Where the external ITS rules file is as shown:</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e8049" id="d0e8049" shape="rect"/>Example 88: XML file with external rules references from an HTML5 file.</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"><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:mtConfidenceRule</strong> <span class="hl-attribute" style="color: #F5844C">mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.785"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//h:img[@title='Front gate of Trinity College Dublin']/@title"</span><strong class="hl-tag" style="color: #000096">/></strong> 
 @@ -3051,7 +3031,7 @@ 
 </pre></div><p>[Source file: <a href="examples/html5/EX-mtconfidence-global-html5-1-external-rules.xml" shape="rect">examples/html5/EX-mtconfidence-global-html5-1-external-rules.xml</a>]</p></div><p id="mtconfidence-local">LOCAL: the following local markup is available for the <a href="#mtconfidence" shape="rect">MT Confidence</a> data category:</p><ul><li><p>A <code>mtConfidence</code> attribute with a value that represents the translation - confidence score as a rational number in the interval 0 to 1 inclusive.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-local-1" id="EX-mtConfidence-local-1" shape="rect"/>Example 91: The <a href="#mtconfidence" shape="rect">MT Confidence</a> data category expressed + confidence score as a rational number in the interval 0 to 1 inclusive.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-local-1" id="EX-mtConfidence-local-1" shape="rect"/>Example 89: The <a href="#mtconfidence" shape="rect">MT Confidence</a> data category expressed locally for the content of a span in an XML document.</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> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">its:toolsRef</span>=<span class="hl-value" style="color: #993300">"MTConfidence|file:///tools.xml#T1"</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>
 @@ -3059,7 +3039,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 92: The <a href="#mtconfidence" shape="rect">MT Confidence</a> data category expressed +<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 90: The <a href="#mtconfidence" shape="rect">MT Confidence</a> data category expressed locally for the content of two separate spans in a HTML5 document.</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>
 @@ -3106,7 +3086,7 @@ 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>Exactly one of the following:</p><ul><li><p>A <code>allowedCharacters</code> attribute that contains the regular expression indicating the allowed characters.</p></li><li><p>A <code>allowedCharactersPointer</code> attribute that 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 93: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category expressed + 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 91: 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>
 @@ -3121,7 +3101,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 94: Mapping the <a href="#allowedchars" shape="rect">Allowed Characters</a> data category +<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 92: 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 <code>allowedCharacters</code>.</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span>
 @@ -3134,14 +3114,14 @@ <strong class="hl-tag" style="color: #000096"><record</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"a1"</span> <span class="hl-attribute" style="color: #F5844C">set</span>=<span class="hl-value" style="color: #993300">"[ &#xFF01;–&#xFF5E;]"</span><strong class="hl-tag" style="color: #000096">></strong>FULL WIDTH ONLY<strong class="hl-tag" style="color: #000096"></record></strong>
 <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 95: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category expressed + 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 93: 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 96: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category expressed +<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 94: 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 underscore and minus.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong>
 @@ -3180,7 +3160,7 @@ breaks the storage uses. The possible values are: <code>cr</code> for CARRIAGE RETURN (U+000D), <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 97: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed + 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 95: 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" is 25 character long and fits because @@ -3194,7 +3174,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 98: Mapping the <a href="#storagesize" shape="rect">Storage Size</a> data category in +<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 96: 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 specified, so the default UTF-8 is assumed. Note that, while @@ -3219,14 +3199,14 @@ breaks the storage uses. The possible values are: <code>cr</code> for CARRIAGE RETURN (U+000D), <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 99: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed + 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 97: 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 100: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed +<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 98: 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>
 @@ -3608,7 +3588,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="d0e9910" id="d0e9910" shape="rect"/>Example 101: 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>
 + constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e9862" id="d0e9862" shape="rect"/>Example 99: 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>
 @@ -3655,7 +3635,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="d0e9932" id="d0e9932" shape="rect"/>Example 102: 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>
 + this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e9884" id="d0e9884" shape="rect"/>Example 100: 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> 
 @@ -3729,12 +3709,12 @@ the same parent.</p></div><div class="div1"> <h2><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="revisionlog" id="revisionlog" shape="rect"/>I Revision Log (Non-Normative)</h2><p id="changelog-since-20121023">The following log records major changes that have been made to this document since the <a href="http://www.w3.org/TR/2012/WD-its20-20121023/" shape="rect">ITS 2.0 Working Draft 23 October 2012</a>.</p><ol class="depth1"><li><p>Clarified usage of <a href="#domain" shape="rect">Domain</a> data category in HTML5 in - response to <a href="https://www.w3.org/International/multilingualweb/lt/track/issues/56" shape="rect">issue-56</a>.</p></li><li><p>Added the <a href="#lqissueDefs" shape="rect">enabled information</a> in <a class="section-ref" href="#lqissue" shape="rect">Section 6.18: Localization Quality Issue</a>.</p></li><li><p>Updated the <a href="#Disambiguation" shape="rect">Disambiguation</a> data category.</p></li><li><p>Fine tuned the algorithm to compute the result values of the <a href="#domain" shape="rect">Domain</a> data category.</p></li><li><p>Fix on <a href="#EX-locQualityIssue-html5-local-2" shape="rect">Example 82</a>: + response to <a href="https://www.w3.org/International/multilingualweb/lt/track/issues/56" shape="rect">issue-56</a>.</p></li><li><p>Added the <a href="#lqissueDefs" shape="rect">enabled information</a> in <a class="section-ref" href="#lqissue" shape="rect">Section 6.18: Localization Quality Issue</a>.</p></li><li><p>Updated the <a href="#Disambiguation" shape="rect">Disambiguation</a> data category.</p></li><li><p>Fine tuned the algorithm to compute the result values of the <a href="#domain" shape="rect">Domain</a> data category.</p></li><li><p>Fix on <a href="#EX-locQualityIssue-html5-local-2" shape="rect">Example 80</a>: <code>id</code> attribute of <code>script</code> element now the same as of containing XML.</p></li><li><p>NIF example fix - see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/284" shape="rect">action-284</a>.</p></li><li><p>Added <a href="#css-selectors-feature-at-risk" shape="rect">a note</a> to mark CSS selectors as feature at risk, see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/272" shape="rect">action-272</a>.</p></li><li><p>Defined in <a class="section-ref" href="#xpath-relative-selector" shape="rect">Section 5.3.2.2: Relative selector</a> that an XPath based relative selector can also be an absolute location path - see the <code>domainPointer</code> attribute in <a href="#EX-domain-2" shape="rect">Example 53</a> and - <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/282" shape="rect">action-282</a>.</p></li><li><p>Defined <a href="#directionality" shape="rect">Directionality</a> and <a href="#ruby-annotation" shape="rect">Ruby</a> as non-normative features. See <a class="section-ref" href="#relation-to-its10" shape="rect">Section 1.1.1: Relation to ITS 1.0</a>, <a href="#directionality-non-normative-explanation" shape="rect">note on directionality</a>, <a href="#ruby-non-normative-explanation" shape="rect">note on ruby</a>, and <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/250" shape="rect">action-250</a>.</p></li><li><p>Update on <a href="#Disambiguation" shape="rect">Disambiguation</a> example <a href="#EX-disambiguation-html5-rdfa-companion-document" shape="rect">Example 56</a>. See <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/266" shape="rect">action-266</a> (<a href="http://www.w3.org/2012/11/01-mlw-lt-irc#T10-53-44" shape"rect">related discussion</a>).</p></li><li><p>Made a simplification of <a href="#disambiguation-global" shape="rect">Disambiguation used + <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/282" shape="rect">action-282</a>.</p></li><li><p>Defined <a href="#directionality" shape="rect">Directionality</a> and <a href="#ruby-annotation" shape="rect">Ruby</a> as non-normative features. See <a class="section-ref" href="#relation-to-its10" shape="rect">Section 1.1.1: Relation to ITS 1.0</a>, <a href="#directionality-non-normative-explanation" shape="rect">note on directionality</a>, <a href="#ruby-non-normative-explanation" shape="rect">note on ruby</a>, and <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/250" shape="rect">action-250</a>.</p></li><li><p>Update on <a href="#Disambiguation" shape="rect">Disambiguation</a> example <a href="#EX-disambiguation-html5-rdfa-companion-document" shape="rect">Example 56</a>. See <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/266" shape="rect">action-266</a> (<a href="http://www.w3.org/2012/11/01-mlw-lt-irc#T10-53-44"shape="rect">related discussion</a>).</p></li><li><p>Made a simplification of <a href="#disambiguation-global" shape="rect">Disambiguation used globally</a>. See <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/267" shape="rect">action-267</a>.</p></li><li><p>Added <a class="section-ref" href="#its-mime-type" shape="rect">Appendix B: Internationalization Tag Set (ITS) MIME Type</a>, see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/251" shape="rect">action-251</a>.</p></li><li><p>Added <a class="section-ref" href="#mtconfidence" shape="rect">Section 6.20: MT Confidence</a>, see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/287" shape="rect">action-287</a> and <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/288" shape="rect">action-288</a>.</p></li><li><p>Added <a class="section-ref" href="#its-tool-annotation" shape="rect">Section 5.8: ITS Tools Annotation</a> see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/301" shape="rect">action-301</a>.</p></li><li><p>Added confidence score attributes to<a href="#Disambiguation" shape="rect">Disambiguation</a> and <a href="#mtconfidence" shape="rect">MTConfidence</a> data categories - see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/298" shape="rect">action-298</a> and <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/299" shape="rect">action-299</a>.</p></li><li><p>Updated <a class="section-ref" href="#provenance" shape="rect">Section 6.12: Provenance</a> - now called "<span class="quote">Provenance</span>" instead of "<span class="quote">Translation Agent Provenance</span>" - see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/300" shape="rect">action-300</a>.</p></li><li><p>Added <a href="#disambiguation-versus-terminology" shape="rect">a note</a> to differentiate <a href="#Disambiguation" shape="rect">Disambiguation</a> from <a href="#terminology" shape="rect">Terminology</a> data category - see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/34" shape="rect">action-304</a>.</p></li></ol><p id="changelog-since-20120829">The following log records major changes that have been made to this document since the <a href="http://www.w3.org/TR/2012/WD-its20-20120829/" shape="rect">ITS 2.0 Working Draft 29 August 2012</a>.</p><ol class="depth1"><li><p>Added a first draft of <a class="section-ref" href="#provenance" shape="rect">Section 6.12: Provenance</a></p></li><li><p>Added <a class="section-ref" href="#html5-markup" shape="rect">Section 7: Using ITS Markup in HTML5</a>.</p></li><li><p>Removed inline markup declarations.</p></li><li><p>Addition of a <code>locQualityPrecisVote</code> attribute and a <code>locQualityPrecisVotePointer</code> attribute to <a class="section-ref" href="#lqprecis" shape="rect">Section 6.19: Localization Quality Précis</a>.</p></li><li><p>A <a href="#its-information_versus_content" shape="rect">clarification</a> of ITS data --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2012/11/20 17:26:14 1.241 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2012/11/20 17:36:55 1.242 @@ -4002,9 +4002,6 @@ information</ref>.</p></item> <item><p>An optional <att>locQualityIssueProfileRef</att> attribute that implements the <ref target="#lqissueDefs">profile reference information</ref>.</p></item> - <item><p>An optional <att>locQualityIssueProfileRefPointer</att> attribute that contains a - <ref target="#selectors">relative selector</ref> pointing to a node with the exact same semantics as - <att>locQualityIssueProfileRef</att>.</p></item> <item><p>An optional <att>locQualityIssueEnabled</att> attribute that implements the <ref target="#lqissueDefs">enabled information</ref>.</p></item> </list> @@ -4026,21 +4023,6 @@ <egXML xmlns="http://www.tei-c.org/ns/Examples" target="examples/xml/EX-locQualityIssue-global-2.xml"/> </exemplum> - <exemplum xml:id="EX-locQualityIssue-html5-global"> - <head>Annotating an issue in HTML5 with <gi>locQualityIssueRule</gi> element</head> - <p>The <gi>locQualityIssueRule</gi> element resides in a separate file (<ptr - target="#EX-locQualityIssueRule-html5-global" type="exref"/>) that associates the - issue information with a selected span of content in the HTML document.</p> - <egXML xmlns="http://www.tei-c.org/ns/Examples" - target="examples/html5/EX-locQualityIssue-html5-global.html" type="html5"/> - </exemplum> - <exemplum xml:id="EX-locQualityIssueRule-html5-global"> - <head>External rule document associated with an HTML5 document</head> - <p>This document is used in <ptr target="#EX-locQualityIssue-html5-global" - type="exref"/>:</p> - <egXML xmlns="http://www.tei-c.org/ns/Examples" - target="examples/html5/EX-locQualityIssueRule-html5-global.xml"/> - </exemplum> <p xml:id="lqissue-local">LOCAL: Using the inline markup to represent the data category locally is limited to a single occurrence for a given content (e.g. one cannot have
Received on Tuesday, 20 November 2012 17:37:04 UTC