- From: CVS User ysavoure <cvsmail@w3.org>
- Date: Wed, 28 Nov 2012 17:56:37 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory gil:/tmp/cvs-serv7117 Modified Files: its20.html its20.odd Log Message: Updated LQ-Rating --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2012/11/28 15:45:09 1.271 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2012/11/28 17:56:37 1.272 @@ -53,8 +53,8 @@ </div> <div class="toc2">5.3 <a href="#selectors" shape="rect">Query Language of Selectors</a><div class="toc3">5.3.1 <a href="#queryLanguage" shape="rect">Choosing Query Language</a></div> <div class="toc3">5.3.2 <a href="#d0e2085" shape="rect">XPath 1.0</a></div> -<div class="toc3">5.3.3 <a href="#d0e2291" shape="rect">CSS Selectors</a></div> -<div class="toc3">5.3.4 <a href="#d0e2330" shape="rect">Additional query languages</a></div> +<div class="toc3">5.3.3 <a href="#d0e2276" shape="rect">CSS Selectors</a></div> +<div class="toc3">5.3.4 <a href="#d0e2315" shape="rect">Additional query languages</a></div> <div class="toc3">5.3.5 <a href="#its-param" shape="rect">Variables in selectors</a></div> </div> <div class="toc2">5.4 <a href="#link-external-rules" shape="rect">Link to External Rules</a></div> @@ -119,8 +119,8 @@ <div class="toc2">8.17 <a href="#lqissue" shape="rect">Localization Quality Issue</a><div class="toc3">8.17.1 <a href="#lqissue-definition" shape="rect">Definition</a></div> <div class="toc3">8.17.2 <a href="#lqissue-implementation" shape="rect">Implementation</a></div> </div> -<div class="toc2">8.18 <a href="#lqprecis" shape="rect">Localization Quality Précis</a><div class="toc3">8.18.1 <a href="#lqprecis-definition" shape="rect">Definition</a></div> -<div class="toc3">8.18.2 <a href="#lqprecis-implementation" shape="rect">Implementation</a></div> +<div class="toc2">8.18 <a href="#lqrating" shape="rect">Localization Quality Rating</a><div class="toc3">8.18.1 <a href="#lqrating-definition" shape="rect">Definition</a></div> +<div class="toc3">8.18.2 <a href="#lqrating-implementation" shape="rect">Implementation</a></div> </div> <div class="toc2">8.19 <a href="#mtconfidence" shape="rect">MT Confidence</a><div class="toc3">8.19.1 <a href="#mtconfidence-definition" shape="rect">Definition</a></div> <div class="toc3">8.19.2 <a href="#mtconfidence-implementation" shape="rect">Implementation</a></div> @@ -173,7 +173,7 @@ Other versions of XPath or other query languages (e.g., CSS selectors) can be expressed via a dedicated <a href="#queryLanguage" shape="rect">queryLanguage</a> attribute.</p></li></ul><p>As of the time of this writing, the new data categories included in ITS 2.0 are:</p><span class="editor-note">[Ed. note: Below needs to be updated before each publication before last - call.]</span><ul><li><p><a href="#domain" shape="rect">Domain</a></p></li><li><p><a href="#Disambiguation" shape="rect">Disambiguation</a></p></li><li><p><a href="#LocaleFilter" shape="rect">Locale Filter</a></p></li><li><p><a href="#provenance" shape="rect">Provenance</a></p></li><li><p><a href="#externalresource" shape="rect">External Resource</a></p></li><li><p><a href="#target-pointer" shape="rect">Target Pointer</a></p></li><li><p><a href="#idvalue" shape="rect">Id Value</a></p></li><li><p><a href="#preservespace" shape="rect">Preserve Space</a></p></li><li><p><a href="#lqissue" shape="rect">Localization Quality Issue</a></p></li><li><p><a href="#lqprecis" shape="rect">Localization Quality Précis</a></p></li><li><p><a href="#mtconfidence" shape="rect">MT Confidence</a></p></li><li><p><a href="#allowedchars" shape="rect">Allowed Characters</a></p></li><li><p><a href="#storagesize" shape="rect">Storage Size</a></p></li></ul></div></div><div class="div2"> + call.]</span><ul><li><p><a href="#domain" shape="rect">Domain</a></p></li><li><p><a href="#Disambiguation" shape="rect">Disambiguation</a></p></li><li><p><a href="#LocaleFilter" shape="rect">Locale Filter</a></p></li><li><p><a href="#provenance" shape="rect">Provenance</a></p></li><li><p><a href="#externalresource" shape="rect">External Resource</a></p></li><li><p><a href="#target-pointer" shape="rect">Target Pointer</a></p></li><li><p><a href="#idvalue" shape="rect">Id Value</a></p></li><li><p><a href="#preservespace" shape="rect">Preserve Space</a></p></li><li><p><a href="#lqissue" shape="rect">Localization Quality Issue</a></p></li><li><p><a href="#lqrating" shape="rect">Localization Quality Rating</a></p></li><li><p><a href="#mtconfidence" shape="rect">MT Confidence</a></p></li><li><p><a href="#allowedchars" shape="rect">Allowed Characters</a></p></li><li><p><a href="#storagesize" shape="rect">Storage Size</a></p></li></ul></div></div><div class="div2"> <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="motivation-its" id="motivation-its" shape="rect"/>1.2 Motivation for ITS</h3><p>Content or software that is authored in one language (the <span class="new-term">source language</span>) is often made available in additional languages or adapted with regard to other cultural aspects. This is done through a process called <span class="new-term">localization</span>, where the @@ -935,23 +935,26 @@ </pre></div><p>[Source file: <a href="examples/xml/EX-selection-global-2.xml" shape="rect">examples/xml/EX-selection-global-2.xml</a>]</p></div></div><div class="div4"> <h5><a name="xpath-relative-selector" id="xpath-relative-selector" shape="rect"/>5.3.2.2Relative selector</h5><p>The relative selector <a href="#rfc-keywords" shape="rect">MUST</a> use a <a href="http://www.w3.org/TR/xpath/#NT-RelativeLocationPath" shape="rect">RelativeLocationPath</a> or an <a href="http://www.w3.org/TR/xpath/#NT-AbsoluteLocationPath" shape="rect">AbsoluteLocationPath</a> as described in <a href="#xpath" shape="rect">XPath 1.0</a>. The XPath expression is evaluated relative to the nodes selected by the selector - attribute.</p><span class="editor-note">[Ed. note: Need to update below list depending on outcome of quality precis discussions.]</span><p id="pointer-attributes-list">The following attributes point to existing information: - <code class="its-attr-markup">allowedCharactersPointer</code>, <code class="its-attr-markup">disambigClassPointer</code>, <code class="its-attr-markup">disambigClassRefPointer</code>, <code class="its-attr-markup">disambigIdentPointer</code>, <code class="its-attr-markup">disambigIdentRefPointer</code>, <code class="its-attr-markup">domainPointer</code>, <code class="its-attr-markup">externalResourceRefPointer</code>, <code class="its-attr-markup">langPointer</code>, <code class="its-attr-markup">locNotePointer</code>, <code class="its-attr-markup">locNoteRefPointer</code>, <code class="its-attr-markup">locQualityIssuesRefPointer</code>, <code class="its-attr-markup">locQualityPrecisProfileRefPointer</code>, <code class="its-attr-markup">locQualityPrecisScorePointer</code>, <code class="its-attr-markup">locQualityPrecisThresholdPointer</code>, <code class="its-attr-markup">locQualityPrecisVotePointer</code>, <code class="its-attr-markup">provenanceRecordsRefPointer</code>, <code class="it-attr-markup">storageEncodingPointer</code>, <code class="its-attr-markup">storageSizePointer</code>, <code class="its-attr-markup">targetPointer</code>, <code class="its-attr-markup">termInfoPointer</code>, <code class="its-attr-markup">termInfoRefPointer</code>.</p><p>Context for evaluation of the XPath expression is same as for absolute selector + attribute.</p><p id="pointer-attributes-list">The following attributes point to existing information: + <code class="its-attr-markup">allowedCharactersPointer</code>, <code class="its-attr-markup">disambigClassPointer</code>, <code class="its-attr-markup">disambigClassRefPointer</code>, <code class="its-attr-markup">disambigIdentPointer</code>, + <code class="its-attr-markup">disambigIdentRefPointer</code>, <code class="its-attr-markup">domainPointer</code>, <code class="its-attr-markup">externalResourceRefPointer</code>, <code class="its-attr-markup">langPointer</code>, <code class="its-attr-markup">locNotePointer</code>, + <code class="its-attr-markup">locNoteRefPointer</code>, <code class="its-attr-markup">locQualityIssuesRefPointer</code>, <code class="its-attr-markup">provenanceRecordsRefPointer</code>, <code class="its-attr-markup">storageEncodingPointer</code>, + <code class="its-attr-markup">storageSizePointer</code>, <code class="its-attr-markup">targetPointer</code>, <code class="its-attr-markup">termInfoPointer</code>, <code class="its-attr-markup">termInfoRefPointer</code>.</p><p>Context for evaluation of the XPath expression is same as for absolute selector with the following changes:</p><ul><li><p>Nodes selected by the expression in the <code class="its-attr-markup">selector</code> attribute form the current node list.</p></li><li><p>Context node comes from the current node list.</p></li><li><p>The context position comes from the position of the current node in the current node list; the first position is 1.</p></li><li><p>The context size comes from the size of the current node list.</p></li></ul></div></div><div class="div3"> -<h4><a href="#contents" 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="d0e2291" id="d0e2291" shape="rect"/>5.3.3 CSS Selectors</h4><div class="note"><p class="prefix"><b>Note:</b></p><p id="css-selectors-feature-at-risk">As of writing the working group has no +<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="d0e2276" id="d0e2276" shape="rect"/>5.3.3 CSS Selectors</h4><div class="note"><p class="prefix"><b>Note:</b></p><p id="css-selectors-feature-at-risk">As of writing the working group has no implememtation commitment for CSS selectors. If this doesn't change CSS selectors will be marked as feature at risk for the candidate recommendation draft.</p></div><p>CSS Selectors are identified by <code>css</code> value in <code class="its-attr-markup">queryLanguage</code> attribute.</p><div class="div4"> -<h5><a name="d0e2305" id="d0e2305" shape="rect"/>5.3.3.1Absolute selector</h5><p>Absolute selector <a href="#rfc-keywords" shape="rect">MUST</a> be interpreted as selector +<h5><a name="d0e2290" id="d0e2290" shape="rect"/>5.3.3.1Absolute selector</h5><p>Absolute selector <a href="#rfc-keywords" shape="rect">MUST</a> be interpreted as selector as defined in <a href="#css3-selectors" shape="rect">Selectors Level 3</a>. Both simple selectors and groups of selectors can be used.</p></div><div class="div4"> -<h5><a name="d0e2316" id="d0e2316" shape="rect"/>5.3.3.2Relative selector</h5><p>Relative selector <a href="#rfc-keywords" shape="rect">MUST</a> be interpreted as selector +<h5><a name="d0e2301" id="d0e2301" shape="rect"/>5.3.3.2Relative selector</h5><p>Relative selector <a href="#rfc-keywords" shape="rect">MUST</a> be interpreted as selector as defined in <a href="#css3-selectors" shape="rect">Selectors Level 3</a>. Selector is not evaluated against the complete document tree but only against subtrees rooted at nodes selected by selector in the <code class="its-attr-markup">selector</code> attribute.</p></div></div><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="d0e2330" id="d0e2330" shape="rect"/>5.3.4 Additional query languages</h4><p>ITS processors <a href="#rfc-keywords" shape="rect">MAY</a> support additional query +<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="d0e2315" id="d0e2315" shape="rect"/>5.3.4 Additional query languages</h4><p>ITS processors <a href="#rfc-keywords" shape="rect">MAY</a> support additional query languages. For each additional query language processor <a href="#rfc-keywords" shape="rect">MUST</a> define:</p><ul><li><p>identifier of query language used in <code class="its-attr-markup">queryLanguage</code>;</p></li><li><p>rules for evaluating absolute selector to collection of nodes;</p></li><li><p>rules for evaluating relative selector to collection of nodes.</p></li></ul><p>Future versions of this specification <a href="#rfc-keywords" shape="rect">MAY</a> define additional query languages. The following query language identifiers are reserved: <code>xpath</code>, <code>css</code>, <code>xpath2</code>, <code>xpath3</code>, @@ -1404,10 +1407,10 @@ attributes</td><td rowspan="1" colspan="1"> <a href="#EX-locQualityIssue-local-1" shape="rect">local</a>, <a href="#EX-locQualityIssue-global-2" shape="rect">global</a> </td></tr><tr><td rowspan="1" colspan="1"> - <a href="#lqprecis" shape="rect">Localization Quality Précis</a> + <a href="#lqrating" shape="rect">Localization Quality Rating</a> </td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">Textual content of element, <em>including</em> child elements, but excluding attributes</td><td rowspan="1" colspan="1"> - <a href="#EX-locQualityPrecis-local-1" shape="rect">local</a>, <a href="#EX-locQualityPrecis-global-1" shape="rect">global</a> + <a href="#EX-locQualityRating-local-1" shape="rect">local</a> </td></tr><tr><td rowspan="1" colspan="1"> <a href="#mtconfidence" shape="rect">MT Confidence</a> </td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">Textual content of element, <em>including</em> child elements, but excluding @@ -2727,126 +2730,67 @@ <strong class="hl-tag" style="color: #000096"><span</strong> <span class="hl-attribute" style="color: #F5844C">its-loc-quality-issues-ref</span>=<span class="hl-value" style="color: #993300">#lq1</span><strong class="hl-tag" style="color: #000096">></strong>c'es<strong class="hl-tag" style="color: #000096"></span></strong> le contenu<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-2.html" shape="rect">examples/html5/EX-locQualityIssue-html5-local-2.html</a>]</p></div></div></div><div class="div2"> -<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="lqprecis" id="lqprecis" shape="rect"/>8.18 Localization Quality Précis</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="lqprecis-definition" id="lqprecis-definition" shape="rect"/>8.18.1 Definition</h4><p>The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category is used +<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="lqrating" id="lqrating" shape="rect"/>8.18 Localization Quality Rating</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="lqrating-definition" id="lqrating-definition" shape="rect"/>8.18.1 Definition</h4><p>The <a href="#lqrating" shape="rect">Localization Quality Rating</a> data category is used to express an overall measurement of the localization quality of a document or an item in a document.</p><p>This data category allows to specify a quality score or a voting result for a given item or document, as well as to indicate what constitutes a passing score or vote. It also allows to point to a profile describing the quality assessment model used for the scoring or the voting.</p></div><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="lqprecis-implementation" id="lqprecis-implementation" shape="rect"/>8.18.2 Implementation</h4><p>The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category can be - expressed with global rules, or locally on individual elements. For elements, the data - category information <a href="#def-inheritance" shape="rect">inherits</a> to the textual +<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="lqrating-implementation" id="lqrating-implementation" shape="rect"/>8.18.2 Implementation</h4><p>The <a href="#lqrating" shape="rect">Localization Quality Rating</a> data category is only expressed + locally on individual elements. The data category information <a href="#def-inheritance" shape="rect">inherits</a> to the textual content of the element, <em>including</em> child elements, but - <em>excluding</em> attributes.</p><p id="lqprecis-global">GLOBAL: The <code class="its-elem-markup">locQualityPrecisRule</code> element contains - the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors" 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>Exactly one of the following:</p><ul><li><p>A <code class="its-attr-markup">locQualityPrecisScore</code> attribute. Its value is an integer - between 0 and 100 (inclusive) with higher values indicating a better - score.</p></li><li><p>A <code class="its-attr-markup">locQualityPrecisScorePointer</code> attribute that contains a - <a href="#selectors" shape="rect">relative selector</a> pointing to a node with - the exact same semantics as <code class="its-attr-markup">locQualityPrecisScore</code>.</p></li></ul></li><li><p>Exactly one of the following:</p><ul><li><p>A <code class="its-attr-markup">locQualityPrecisVote</code> attribute. Its value is a signed - integer with higher values indicating a better vote.</p></li><li><p>A <code class="its-attr-markup">locQualityPrecisVotePointer</code> attribute that contains a - <a href="#selectors" shape="rect">relative selector</a> pointing to a node with - the exact same semantics as <code class="its-attr-markup">locQualityPrecisVote</code>.</p></li></ul></li></ul></li><li><p>None or exactly one of the following:</p><ul><li><p>A <code class="its-attr-markup">locQualityPrecisThreshold</code> attribute. Its value is a signed - integer which indicates the lowest score or vote value that constitutes a - passing score or a passing vote in the profile used.</p></li><li><p>A <code class="its-attr-markup">locQualityPrecisThresholdPointer</code> attribute that contains a - <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the - exact same semantics as <code class="its-attr-markup">locQualityPrecisThreshold</code>.</p></li></ul></li><li><p>None or exactly one of the following:</p><ul><li><p>A <code class="its-attr-markup">locQualityPrecisProfileRef</code> attribute. Its value is an IRI - pointing to the reference document describing the quality assessment model - used for the scoring.</p></li><li><p>A <code class="its-attr-markup">locQualityPrecisProfileRefPointer</code> attribute that contains a - <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the - exact same semantics as <code class="its-attr-markup">locQualityPrecisProfileRef</code>.</p></li></ul></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>The attributes <code class="its-attr-markup">locQualityPrecisScorePointer</code>, - <code class="its-attr-markup">locQualityPrecisThresholdPointer</code>, and - <code class="its-attr-markup">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 80: 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 class="its-elem-markup">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>
 - <strong class="hl-tag" style="color: #000096"><header></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:locQualityScoreRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/doc"</span> 
 - <span class="hl-attribute" style="color: #F5844C">locQualityPrecisScore</span>=<span class="hl-value" style="color: #993300">"100"</span>
 - <span class="hl-attribute" style="color: #F5844C">locQualityPrecisThreshold</span>=<span class="hl-value" style="color: #993300">"95"</span>
 - <span class="hl-attribute" style="color: #F5844C">locQualityPrecisProfileRef</span>=<span class="hl-value" style="color: #993300">"http://example.org/qaModel/v13"</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"></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 81: 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 class="its-attr-markup">locQualityPrecisVotePointer</code>, - <code class="its-attr-markup">locQualityPrecisThresholdPointer</code> and - <code class="its-attr-markup">locQualityPrecisProfileRefPointer</code> can be used to map the data category - to an equivalent markup.</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>
 - <strong class="hl-tag" style="color: #000096"><header</strong> <span class="hl-attribute" style="color: #F5844C">votes</span>=<span class="hl-value" style="color: #993300">"-1"</span> <span class="hl-attribute" style="color: #F5844C">passingResult</span>=<span class="hl-value" style="color: #993300">"10"</span> <span class="hl-attribute" style="color: #F5844C">qaProfile</span>=<span class="hl-value" style="color: #993300">"http://example.org/qaModel/v13"</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"><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:locQualityScoreRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/doc"</span>
 - <span class="hl-attribute" style="color: #F5844C">locQualityPrecisVotePointer</span>=<span class="hl-value" style="color: #993300">"header/@votes"</span>
 - <span class="hl-attribute" style="color: #F5844C">locQualityPrecisThresholdPointer</span>=<span class="hl-value" style="color: #993300">"header/@passingResult"</span>
 - <span class="hl-attribute" style="color: #F5844C">locQualityPrecisProfileRefPointer</span>=<span class="hl-value" style="color: #993300">"header/@qaProfile"</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"></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 82: 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 class="its-elem-markup">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>
 - <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-locQualityPrecisRule-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>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 83: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-locQualityPrecis-html5-global" shape="rect">Example 82</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>
 - <span class="hl-attribute" style="color: #F5844C">locQualityPrecisThreshold</span>=<span class="hl-value" style="color: #993300">"95"</span>
 - <span class="hl-attribute" style="color: #F5844C">locQualityPrecisProfileRef</span>=<span class="hl-value" style="color: #993300">"http://example.org/qaModel/v13"</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-locQualityPrecisRule-html5-global.xml" shape="rect">examples/html5/EX-locQualityPrecisRule-html5-global.xml</a>]</p></div><p id="lqprecis-local">LOCAL: The following local markup is available for the <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category:</p><ul><li><p>Exactly one of the following:</p><ul><li><p>A <code class="its-attr-markup">locQualityPrecisScore</code> attribute. Its value is an integer - between 0 and 100 (inclusive) with higher values indicating a better - score.</p></li><li><p>A <code class="its-attr-markup">locQualityPrecisVote</code> attribute. Its value is a signed - integer with higher values indicating a better vote.</p></li></ul></li><li><p>An optional <code class="its-attr-markup">locQualityPrecisThreshold</code> attribute. Its value is a - 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 class="its-attr-markup">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 84: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category - expressed locally in XML</div><p>The <code class="its-attr-markup">locQualityPrecisScore</code>, <code class="its-attr-markup">locQualityPrecisThreshold</code> and - <code class="its-attr-markup">locQualityPrecisProfileRef</code> are used to score the quality of the + <em>excluding</em> attributes.</p><p id="lqrating-local">LOCAL: The following local markup is available for the <a href="#lqrating" shape="rect">Localization Quality Rating</a> data category:</p><ul><li><p>Exactly one of the following:</p><ul><li><p>A <code class="its-attr-markup">locQualityRatingScore</code> attribute. + Its value is a rational number in the interval 0 to 100 (inclusive). + The value follows the <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#decimal" shape="rect">XML Schema decimal data + type</a> with the constraining facets <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive" shape="rect">minInclusive</a> + set to 0 and <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive" shape="rect">maxInclusive</a> set to 100. + The higher values represent better quality.</p></li><li><p>A <code class="its-attr-markup">locQualityRatingVote</code> attribute. + Its value is a signed integer with higher values indicating a better vote.</p></li></ul></li><li><p>If <code class="its-attr-markup">locQualityRatingScore</code> is used:</p><ul><li><p>an optional <code class="its-attr-markup">locQualityRatingScoreThreshold</code> attribute + indicating the lowest score that constitutes a passing score in the profile used. + Its value is a rational number in the interval 0 to 100 (inclusive). + The value follows the <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#decimal" shape="rect">XML Schema decimal data + type</a> with the constraining facets <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive" shape="rect">minInclusive</a> + set to 0 and <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive" shape="rect">maxInclusive</a> set to 100.</p></li></ul></li><li><p>If <code class="its-attr-markup">locQualityRatingVote</code> is used:</p><ul><li><p>an optional <code class="its-attr-markup">locQualityRatingVoteThreshold</code> attribute + indicating the lowest value that constitutes a passing vote in the profile used. + Its value is a signed integer.</p></li></ul></li><li><p>An optional <code class="its-attr-markup">locQualityRatingProfileRef</code> attribute. + Its value is an IRI pointing to the reference document describing the quality assessment model + used for the scoring.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityRating-local-1" id="EX-locQualityRating-local-1" shape="rect"/>Example 80: The <a href="#lqrating" shape="rect">Localization Quality Rating</a> data category + expressed locally in XML</div><p>The <code class="its-attr-markup">locQualityRatingScore</code>, <code class="its-attr-markup">locQualityRatingThreshold</code> and + <code class="its-attr-markup">locQualityRatingProfileRef</code> are used to score the quality of the document.</p><div class="exampleInner"><pre 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>
 - <span class="hl-attribute" style="color: #F5844C">its:locQualityPrecisScore</span>=<span class="hl-value" style="color: #993300">"100"</span>
 - <span class="hl-attribute" style="color: #F5844C">its:locQualityPrecisThreshold</span>=<span class="hl-value" style="color: #993300">"95"</span>
 - <span class="hl-attribute" style="color: #F5844C">its:locQualityPrecisProfileRef</span>=<span class="hl-value" style="color: #993300">"http://example.org/qaModel/v13"</span><strong class="hl-tag" style="color: #000096">></strong>
 - <strong class="hl-tag" style="color: #000096"><title></strong>The Adventures of Tom Sawyer<strong class="hl-tag" style="color: #000096"></title></strong>
 - <strong class="hl-tag" style="color: #000096"><para></strong>He got home pretty late that night, and when he climbed cautiously in at
 - the window, he uncovered an ambuscade, in the person of his aunt; and when
 - 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 85: The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category - expressed locally in HTML</div><p>The <code class="its-attr-markup">its-loc-quality-precis-score</code>, - <code class="its-attr-markup">its-loc-quality-precis-threshold</code> and - <code class="its-attr-markup">its-loc-quality-precis-profile-ref</code> are used to score the quality of the - 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">its-loc-quality-precis-profile-ref</span>=<span class="hl-value" style="color: #993300">http:</span><strong class="hl-tag" style="color: #000096">//</strong>example.org/qaModel/v13
 - its-loc-quality-precis-score=100
 - its-loc-quality-precis-threshold=95
 - lang=en>
 - <strong class="hl-tag" style="color: #000096"><head></strong>
 - <strong class="hl-tag" style="color: #000096"><title></strong>Rikki-tikki-tavi<strong class="hl-tag" style="color: #000096"></title></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>This is the story of the great war that Rikki-tikki-tavi fought single-handed,
 - through the bath-rooms of the big bungalow in Segowlee cantonment. Darzee, the
 - Tailorbird, helped him, and Chuchundra, the musk-rat, who never comes out into 
 - the middle of the floor, but always creeps round by the wall, gave him advice, 
 - but Rikki-tikki did the real fighting.<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-local.html" shape="rect">examples/html5/EX-locQualityPrecis-html5-local.html</a>]</p></div></div></div><div class="div2"> +<strong class="hl-tag" style="color: #000096"><doc</strong> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">'nl'</span>
 + <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span>
 + <span class="hl-attribute" style="color: #F5844C">its:locQualityRatingScore</span>=<span class="hl-value" style="color: #993300">"100"</span>
 + <span class="hl-attribute" style="color: #F5844C">its:locQualityRatingScoreThreshold</span>=<span class="hl-value" style="color: #993300">"95"</span>
 + <span class="hl-attribute" style="color: #F5844C">its:locQualityRatingProfileRef</span>=<span class="hl-value" style="color: #993300">"http://example.org/qaModel/v13"</span><strong class="hl-tag" style="color: #000096">></strong>
 + <strong class="hl-tag" style="color: #000096"><title></strong>De lotgevallen van Tom Sawyer<strong class="hl-tag" style="color: #000096"></title></strong>
 + <strong class="hl-tag" style="color: #000096"><para></strong>Hij kwam vrij laat te huis, en toen hij voorzichtig het raam insprong,
 + viel hij in eene hinderlaag, in de persoon van zijne tante, bij wie, toen zij
 + den staat zag, waarin zijne kleederen verkeerden, het besluit om zijn vrijen
 + Zaterdag in een gevangenschap met dwangarbeid te veranderen, onherroepelijk
 + vaststond.<strong class="hl-tag" style="color: #000096"></para></strong>
 +<strong class="hl-tag" style="color: #000096"></doc></strong></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityRating-local-1.xml" shape="rect">examples/xml/EX-locQualityRating-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityRating-html5-local" id="EX-locQualityRating-html5-local" shape="rect"/>Example 81: The <a href="#lqrating" shape="rect">Localization Quality Rating</a> data category + expressed locally in HTML</div><p>The <code class="its-attr-markup">its-loc-quality-rating-score</code>, + <code class="its-attr-markup">its-loc-quality-rating-score-threshold</code> and + <code class="its-attr-markup">its-loc-quality-rating-profile-ref</code> are used to score the quality of the + document.</p><div class="exampleInner"><pre xml:space="preserve"><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">fr</span>
 + <span class="hl-attribute" style="color: #F5844C">its-loc-quality-rating-profile-ref</span>=<span class="hl-value" style="color: #993300">http:</span><strong class="hl-tag" style="color: #000096">//</strong>example.org/qaModel/v13
 + its-loc-quality-rating-score=90
 + its-loc-quality-rating-score-threshold=80
 + >
 + <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>Rikki-tikki-tavi<strong class="hl-tag" style="color: #000096"></title></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>C'est l'histoire de la grande guerre que Rikki-Tikki-Tavi a combattu tout seul, 
 + à travers les salles de bain du grand bungalow au cantonnement Segowlee. Darzee,
 + le tailbird, l'a aidé, et Chuchundra, le rat musqué, qui ne sort jamais jusqu'au
 + milieu du plancher, mais se glisse toujours contre la paroi, lui donnait des
 + conseils, mais Rikki-Tikki-Tavi fait le véritable combat.<strong class="hl-tag" style="color: #000096"></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-locQualityRating-html5-local.html" shape="rect">examples/html5/EX-locQualityRating-html5-local.html</a>]</p></div></div></div><div class="div2"> <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="mtconfidence" id="mtconfidence" shape="rect"/>8.19 MT Confidence</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="mtconfidence-definition" id="mtconfidence-definition" shape="rect"/>8.19.1 Definition</h4><p>The <a href="#mtconfidence" shape="rect">MT Confidence</a> data category is used to communicate the self-reported confidence score from a machine translation engine of @@ -2874,7 +2818,7 @@ the following:</p><ul><li><p>A required <code class="its-attr-markup">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 class="its-attr-markup">mtConfidence</code> attribute with a value that represents the translation confidence score as a rational number in the interval 0 to - 1 (inclusive). The value follows the <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#decimal" shape="rect">XML Schema decimal data type</a> with the constraining facets <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive" shape="rect">minInclusive</a> set to 0 and <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive" shape="rect">maxInclusive</a> set to 1.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-xmConfidence-global-html5-1" id="EX-xmConfidence-global-html5-1" shape="rect"/>Example 86: Global usage of <code class="its-elem-markup">mtConfidenceRule</code> in a HTML document to specify the + 1 (inclusive). The value follows the <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#decimal" shape="rect">XML Schema decimal data type</a> with the constraining facets <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive" shape="rect">minInclusive</a> set to 0 and <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive" shape="rect">maxInclusive</a> set to 1.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-xmConfidence-global-html5-1" id="EX-xmConfidence-global-html5-1" shape="rect"/>Example 82: Global usage of <code class="its-elem-markup">mtConfidenceRule</code> in a HTML document to specify the confidence scores for the translation into English of the <code>title</code> attributes of two <code>img</code> elements.</div><div class="exampleInner"><pre 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>
 @@ -2892,7 +2836,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="EX-mtconfidence-global-html5-1-external-rules" id="EX-mtconfidence-global-html5-1-external-rules" shape="rect"/>Example 87: 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="EX-mtconfidence-global-html5-1-external-rules" id="EX-mtconfidence-global-html5-1-external-rules" shape="rect"/>Example 83: 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> 
 @@ -2901,7 +2845,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 class="its-attr-markup">mtConfidence</code> attribute with a value that represents the translation - confidence score as a rational number in the interval 0 to 1 (inclusive). The value follows the <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#decimal" shape="rect">XML Schema decimal data type</a> with the constraining facets <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive" shape="rect">minInclusive</a> set to 0 and <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive" shape="rect">maxInclusive</a> set to 1.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-local-1" id="EX-mtConfidence-local-1" shape="rect"/>Example 88: 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). The value follows the <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#decimal" shape="rect">XML Schema decimal data type</a> with the constraining facets <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive" shape="rect">minInclusive</a> set to 0 and <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive" shape="rect">maxInclusive</a> set to 1.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-local-1" id="EX-mtConfidence-local-1" shape="rect"/>Example 84: 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">"mt-confidence|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>
 @@ -2909,7 +2853,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 89: 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 85: 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>
 @@ -2956,7 +2900,7 @@ contains the following:</p><ul><li><p>A required <code class="its-attr-markup">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>An <code class="its-attr-markup">allowedCharacters</code> attribute that contains the regular expression indicating the allowed characters.</p></li><li><p>An <code class="its-attr-markup">allowedCharactersPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the - exact same semantics as <code class="its-attr-markup">allowedCharacters</code>.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-global-1" id="EX-allowedCharacters-global-1" shape="rect"/>Example 90: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category expressed + exact same semantics as <code class="its-attr-markup">allowedCharacters</code>.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-global-1" id="EX-allowedCharacters-global-1" shape="rect"/>Example 86: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category expressed globally in XML</div><p>The <code class="its-elem-markup">allowedCharactersRule</code> element states that the translated content of elements <code>content</code> 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>
 @@ -2971,7 +2915,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 91: 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 87: Mapping the <a href="#allowedchars" shape="rect">Allowed Characters</a> data category in XML</div><p>The attribute <code class="its-attr-markup">allowedCharactersPointer</code> is used to map the data category to the non-ITS attribute <code>set</code> in this document. The attribute has the same semantics as <code class="its-attr-markup">allowedCharacters</code>.</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span>
 @@ -2984,14 +2928,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 class="its-attr-markup">allowedCharacters</code> attribute that contains the regular expression - indicating the allowed characters.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-local-1" id="EX-allowedCharacters-local-1" shape="rect"/>Example 92: 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 88: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category expressed locally in XML</div><p>The local <code class="its-attr-markup">allowedCharacters</code> attribute specifies that the translated content of element <code>panelmsg</code> 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 93: 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 89: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category expressed locally in HTML</div><p>The local <code class="its-attr-markup">its-allowed-characters</code> attribute specifies that the translated content of element <code>code</code> 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>
 @@ -3030,7 +2974,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 94: 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 90: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed globally in XML</div><p>The <code class="its-elem-markup">storageSizeRule</code> element is used to specify that, when encoded in ISO-8859-1, the content of the <code>country</code> element must not be more than 25 bytes. The name "Papouasie-Nouvelle-Guinée" is 25 character long and fits because @@ -3044,7 +2988,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 95: 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 91: Mapping the <a href="#storagesize" shape="rect">Storage Size</a> data category in XML</div><p>The <code class="its-elem-markup">storageSizePointer</code> attribute is used to map the non-ITS attribute <code>max</code> to the same functionality as <code class="its-attr-markup">storageSize</code>. There is no character set encoding specified, so the default UTF-8 is assumed. Note that, while @@ -3069,14 +3013,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 96: 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 92: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed locally in XML</div><p>The <code class="its-attr-markup">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 97: 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 93: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed locally in HTML</div><p>The <code class="its-attr-markup">its-storage-size</code> is used here to specify the maximum number of bytes the two editable strings can have in UTF-8.</p><div class="exampleInner"><pre 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>
 @@ -3421,7 +3365,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="its-constraints-check-schematron" id="its-constraints-check-schematron" shape="rect"/>Example 98: 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="its-constraints-check-schematron" id="its-constraints-check-schematron" shape="rect"/>Example 94: 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>
 @@ -3468,7 +3412,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="its20.nvdl" id="its20.nvdl" shape="rect"/>Example 99: 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="its20.nvdl" id="its20.nvdl" shape="rect"/>Example 95: 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> 
 @@ -3574,14 +3518,14 @@ <code class="its-attr-markup">locQualityIssueType</code> <code class="its-attr-markup">locQualityIssuesRef</code> <code class="its-attr-markup">locQualityIssuesRefPointer</code> - <code class="its-attr-markup">locQualityPrecisProfileRef</code> - <code class="its-attr-markup">locQualityPrecisProfileRefPointer</code> - <code class="its-attr-markup">locQualityPrecisScore</code> - <code class="its-attr-markup">locQualityPrecisScorePointer</code> - <code class="its-attr-markup">locQualityPrecisThreshold</code> - <code class="its-attr-markup">locQualityPrecisThresholdPointer</code> - <code class="its-attr-markup">locQualityPrecisVote</code> - <code class="its-attr-markup">locQualityPrecisVotePointer</code> + <code class="its-attr-markup">locQualityRatingProfileRef</code> + <code class="its-attr-markup">locQualityRatingProfileRefPointer</code> + <code class="its-attr-markup">locQualityRatingScore</code> + <code class="its-attr-markup">locQualityRatingScorePointer</code> [49 lines skipped] --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2012/11/28 15:45:09 1.268 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2012/11/28 17:56:37 1.269 @@ -212,7 +212,7 @@ <item><ref target="#idvalue">Id Value</ref></item> <item><ref target="#preservespace">Preserve Space</ref></item> <item><ref target="#lqissue">Localization Quality Issue</ref></item> - <item><ref target="#lqprecis">Localization Quality Précis</ref></item> + <item><ref target="#lqrating">Localization Quality Rating</ref></item> <item><ref target="#mtconfidence">MT Confidence</ref></item> <item><ref target="#allowedchars">Allowed Characters</ref></item> <item><ref target="#storagesize">Storage Size</ref></item> @@ -1346,9 +1346,11 @@ >AbsoluteLocationPath</ref> as described in <ref target="#xpath">XPath 1.0</ref>. The XPath expression is evaluated relative to the nodes selected by the selector attribute.</p> - <note type="ed">Need to update below list depending on outcome of quality precis discussions.</note> <p xml:id="pointer-attributes-list">The following attributes point to existing information: - <att>allowedCharactersPointer</att>, <att>disambigClassPointer</att>, <att>disambigClassRefPointer</att>, <att>disambigIdentPointer</att>, <att>disambigIdentRefPointer</att>, <att>domainPointer</att>, <att>externalResourceRefPointer</att>, <att>langPointer</att>, <att>locNotePointer</att>, <att>locNoteRefPointer</att>, <att>locQualityIssuesRefPointer</att>, <att>locQualityPrecisProfileRefPointer</att>, <att>locQualityPrecisScorePointer</att>, <att>locQualityPrecisThresholdPointer</att>, <att>locQualityPrecisVotePointer</att>, <att>provenanceRecordsRefPointer</att>, <att>storageEncodingPointer</att>, <att>storageSizePointer</att>, <att>targetPointer</att>, <att>termInfoPointer</att>, <att>termInfoRefPointer</att>.</p> + <att>allowedCharactersPointer</att>, <att>disambigClassPointer</att>, <att>disambigClassRefPointer</att>, <att>disambigIdentPointer</att>, + <att>disambigIdentRefPointer</att>, <att>domainPointer</att>, <att>externalResourceRefPointer</att>, <att>langPointer</att>, <att>locNotePointer</att>, + <att>locNoteRefPointer</att>, <att>locQualityIssuesRefPointer</att>, <att>provenanceRecordsRefPointer</att>, <att>storageEncodingPointer</att>, + <att>storageSizePointer</att>, <att>targetPointer</att>, <att>termInfoPointer</att>, <att>termInfoRefPointer</att>.</p> <p>Context for evaluation of the XPath expression is same as for absolute selector with the following changes:</p> <list> @@ -2174,7 +2176,7 @@ </row> <row> <cell> - <ref target="#lqprecis">Localization Quality Précis</ref> + <ref target="#lqrating">Localization Quality Rating</ref> </cell> <cell>Yes</cell> <cell>Yes</cell> @@ -2183,7 +2185,7 @@ <cell>None</cell> <cell>Textual content of element, <emph>including</emph> child elements, but excluding attributes</cell> - <cell><ref target="#EX-locQualityPrecis-local-1">local</ref>, <ref target="#EX-locQualityPrecis-global-1">global</ref></cell> + <cell><ref target="#EX-locQualityRating-local-1">local</ref></cell> </row> <row> <cell> @@ -3985,11 +3987,11 @@ </div> </div> - <div xml:id="lqprecis"> - <head>Localization Quality Précis</head> - <div xml:id="lqprecis-definition"> + <div xml:id="lqrating"> + <head>Localization Quality Rating</head> + <div xml:id="lqrating-definition"> <head>Definition</head> - <p>The <ref target="#lqprecis">Localization Quality Précis</ref> data category is used + <p>The <ref target="#lqrating">Localization Quality Rating</ref> data category is used to express an overall measurement of the localization quality of a document or an item in a document.</p> <p>This data category allows to specify a quality score or a voting result for a given @@ -3997,141 +3999,66 @@ also allows to point to a profile describing the quality assessment model used for the scoring or the voting.</p> </div> - <div xml:id="lqprecis-implementation"> + <div xml:id="lqrating-implementation"> <head>Implementation</head> - <p>The <ref target="#lqprecis">Localization Quality Précis</ref> data category can be - expressed with global rules, or locally on individual elements. For elements, the data - category information <ref target="#def-inheritance">inherits</ref> to the textual + <p>The <ref target="#lqrating">Localization Quality Rating</ref> data category is only expressed + locally on individual elements. The data category information <ref target="#def-inheritance">inherits</ref> to the textual content of the element, <emph>including</emph> child elements, but <emph>excluding</emph> attributes.</p> - <p xml:id="lqprecis-global">GLOBAL: The <gi>locQualityPrecisRule</gi> element contains - the following:</p> + <p xml:id="lqrating-local">LOCAL: The following local markup is available for the <ref + target="#lqrating">Localization Quality Rating</ref> data category:</p> <list type="unordered"> - <item><p>A required <att>selector</att> attribute. It contains an <ref - target="#selectors">absolute selector</ref> which selects the nodes to which - this rule applies.</p></item> <item><p>Exactly one of the following:</p> <list type="unordered"> - <item><p>Exactly one of the following:</p> - <list type="unordered"> - <item><p>A <att>locQualityPrecisScore</att> attribute. Its value is an integer - between 0 and 100 (inclusive) with higher values indicating a better - score.</p></item> - <item><p>A <att>locQualityPrecisScorePointer</att> attribute that contains a - <ref target="#selectors">relative selector</ref> pointing to a node with - the exact same semantics as <att>locQualityPrecisScore</att>.</p></item> - </list> - </item> - <item><p>Exactly one of the following:</p> - <list type="unordered"> - <item><p>A <att>locQualityPrecisVote</att> attribute. Its value is a signed - integer with higher values indicating a better vote.</p></item> - <item><p>A <att>locQualityPrecisVotePointer</att> attribute that contains a - <ref target="#selectors">relative selector</ref> pointing to a node with - the exact same semantics as <att>locQualityPrecisVote</att>.</p></item> - </list> - </item> + <item><p>A <att>locQualityRatingScore</att> attribute. + Its value is a rational number in the interval 0 to 100 (inclusive). + The value follows the <ref target="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#decimal">XML Schema decimal data + type</ref> with the constraining facets <ref target="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive">minInclusive</ref> + set to 0 and <ref target="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive">maxInclusive</ref> set to 100. + The higher values represent better quality.</p></item> + <item><p>A <att>locQualityRatingVote</att> attribute. + Its value is a signed integer with higher values indicating a better vote.</p></item> </list> </item> - <item><p>None or exactly one of the following:</p> - <list type="unordered"> - <item><p>A <att>locQualityPrecisThreshold</att> attribute. Its value is a signed - integer which indicates the lowest score or vote value that constitutes a - passing score or a passing vote in the profile used.</p></item> - <item><p>A <att>locQualityPrecisThresholdPointer</att> attribute that contains a - <ref target="#selectors">relative selector</ref> pointing to a node with the - exact same semantics as <att>locQualityPrecisThreshold</att>.</p></item> - </list> - </item> - <item><p>None or exactly one of the following:</p> + <item><p>If <att>locQualityRatingScore</att> is used:</p> <list type="unordered"> - <item><p>A <att>locQualityPrecisProfileRef</att> attribute. Its value is an IRI - pointing to the reference document describing the quality assessment model - used for the scoring.</p></item> - <item><p>A <att>locQualityPrecisProfileRefPointer</att> attribute that contains a - <ref target="#selectors">relative selector</ref> pointing to a node with the - exact same semantics as <att>locQualityPrecisProfileRef</att>.</p></item> + <item><p>an optional <att>locQualityRatingScoreThreshold</att> attribute + indicating the lowest score that constitutes a passing score in the profile used. + Its value is a rational number in the interval 0 to 100 (inclusive). + The value follows the <ref target="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#decimal">XML Schema decimal data + type</ref> with the constraining facets <ref target="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive">minInclusive</ref> + set to 0 and <ref target="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive">maxInclusive</ref> set to 100.</p></item> </list> </item> - </list> - <note> - <p>The attributes <att>locQualityPrecisScorePointer</att>, - <att>locQualityPrecisThresholdPointer</att>, and - <att>locQualityPrecisProfileRefPointer</att> do not apply to HTML as local markup - is provided for direct annotation in HTML.</p> - </note> - - <exemplum xml:id="EX-locQualityPrecis-global-1"> - <head>The <ref target="#lqprecis">Localization Quality Précis</ref> data category - expressed globally in XML</head> - <p>The following example shows how to use the <gi>locQualityPrecisRule</gi> element to - specify the score, threshold and profile for a document.</p> - <egXML xmlns="http://www.tei-c.org/ns/Examples" - target="examples/xml/EX-locQualityPrecis-global-1.xml"/> - </exemplum> - <exemplum xml:id="EX-locQualityPrecis-global-2"> - <head>Using pointers to map the <ref target="#lqprecis">Localization Quality - Précis</ref> data category in XML</head> - <p>The following example shows how the <att>locQualityPrecisVotePointer</att>, - <att>locQualityPrecisThresholdPointer</att> and - <att>locQualityPrecisProfileRefPointer</att> can be used to map the data category - to an equivalent markup.</p> - <egXML xmlns="http://www.tei-c.org/ns/Examples" - target="examples/xml/EX-locQualityPrecis-global-2.xml"/> - </exemplum> - <exemplum xml:id="EX-locQualityPrecis-html5-global"> - <head>The <ref target="#lqprecis">Localization Quality Précis</ref> data category - expressed globally in HTML</head> - <p>The following example shows how to use the <gi>locQualityPrecisRule</gi> element to - specify the score, threshold and profile for an HTML document.</p> - <egXML xmlns="http://www.tei-c.org/ns/Examples" - target="examples/html5/EX-locQualityPrecis-html5-global.html" type="html5"/> - </exemplum> - <exemplum xml:id="EX-locQualityPrecisRule-html5-global"> - <head>External rule document associated with an HTML5 document</head> - <p>This document is used in <ptr target="#EX-locQualityPrecis-html5-global" - type="exref"/>:</p> - <egXML xmlns="http://www.tei-c.org/ns/Examples" - target="examples/html5/EX-locQualityPrecisRule-html5-global.xml"/> - </exemplum> - - <p xml:id="lqprecis-local">LOCAL: The following local markup is available for the <ref - target="#lqprecis">Localization Quality Précis</ref> data category:</p> - <list type="unordered"> - <item><p>Exactly one of the following:</p> + <item><p>If <att>locQualityRatingVote</att> is used:</p> <list type="unordered"> - <item><p>A <att>locQualityPrecisScore</att> attribute. Its value is an integer - between 0 and 100 (inclusive) with higher values indicating a better - score.</p></item> - <item><p>A <att>locQualityPrecisVote</att> attribute. Its value is a signed - integer with higher values indicating a better vote.</p></item> + <item><p>an optional <att>locQualityRatingVoteThreshold</att> attribute + indicating the lowest value that constitutes a passing vote in the profile used. + Its value is a signed integer.</p></item> </list> </item> - <item><p>An optional <att>locQualityPrecisThreshold</att> attribute. Its value is a - signed integer which indicates the lowest score or vote that constitutes a passing - score or a passing vote in the profile used.</p></item> - <item><p>An optional <att>locQualityPrecisProfileRef</att> attribute. Its value is a - IRI pointing to the reference document describing the quality assessment model - used for the scoring.</p></item> + <item><p>An optional <att>locQualityRatingProfileRef</att> attribute. + Its value is an IRI pointing to the reference document describing the quality assessment model + used for the scoring.</p></item> </list> - <exemplum xml:id="EX-locQualityPrecis-local-1"> - <head>The <ref target="#lqprecis">Localization Quality Précis</ref> data category + <exemplum xml:id="EX-locQualityRating-local-1"> + <head>The <ref target="#lqrating">Localization Quality Rating</ref> data category expressed locally in XML</head> - <p>The <att>locQualityPrecisScore</att>, <att>locQualityPrecisThreshold</att> and - <att>locQualityPrecisProfileRef</att> are used to score the quality of the + <p>The <att>locQualityRatingScore</att>, <att>locQualityRatingThreshold</att> and + <att>locQualityRatingProfileRef</att> are used to score the quality of the document.</p> <egXML xmlns="http://www.tei-c.org/ns/Examples" - target="examples/xml/EX-locQualityPrecis-local-1.xml"/> + target="examples/xml/EX-locQualityRating-local-1.xml"/> </exemplum> - <exemplum xml:id="EX-locQualityPrecis-html5-local"> - <head>The <ref target="#lqprecis">Localization Quality Précis</ref> data category + <exemplum xml:id="EX-locQualityRating-html5-local"> + <head>The <ref target="#lqrating">Localization Quality Rating</ref> data category expressed locally in HTML</head> - <p>The <att>its-loc-quality-precis-score</att>, - <att>its-loc-quality-precis-threshold</att> and - <att>its-loc-quality-precis-profile-ref</att> are used to score the quality of the + <p>The <att>its-loc-quality-rating-score</att>, + <att>its-loc-quality-rating-score-threshold</att> and + <att>its-loc-quality-rating-profile-ref</att> are used to score the quality of the document.</p> <egXML xmlns="http://www.tei-c.org/ns/Examples" - target="examples/html5/EX-locQualityPrecis-html5-local.html" type="html5"/> + target="examples/html5/EX-locQualityRating-html5-local.html" type="html5"/> </exemplum> </div> </div> @@ -5340,14 +5267,14 @@ <att>locQualityIssueType</att> <att>locQualityIssuesRef</att> <att>locQualityIssuesRefPointer</att> - <att>locQualityPrecisProfileRef</att> - <att>locQualityPrecisProfileRefPointer</att> - <att>locQualityPrecisScore</att> - <att>locQualityPrecisScorePointer</att> - <att>locQualityPrecisThreshold</att> - <att>locQualityPrecisThresholdPointer</att> - <att>locQualityPrecisVote</att> - <att>locQualityPrecisVotePointer</att> + <att>locQualityRatingProfileRef</att> + <att>locQualityRatingProfileRefPointer</att> + <att>locQualityRatingScore</att> + <att>locQualityRatingScorePointer</att> + <att>locQualityRatingThreshold</att> + <att>locQualityRatingThresholdPointer</att> + <att>locQualityRatingVote</att> + <att>locQualityRatingVotePointer</att> <att>localeFilterList</att> <att>mtConfidence</att> <att>org</att> @@ -5402,9 +5329,9 @@ </p> <p>ITS <ref target="#basic-concepts-selection-local">local</ref> attributes for usage in HTML5: <att>its-allowed-characters</att> - <att>its-loc-quality-precis-profile-ref</att> - <att>its-loc-quality-precis-score</att> - <att>its-loc-quality-precis-threshold</att> + <att>its-loc-quality-rating-profile-ref</att> + <att>its-loc-quality-rating-score</att> + <att>its-loc-quality-rating-score-threshold</att> <att>its-provenance-records-ref</att> <att>its-storage-size</att> <att>its-term</att> @@ -5424,7 +5351,7 @@ <gi>locQualityIssue</gi> <gi>locQualityIssueRule</gi> <gi>locQualityIssues</gi> - <gi>locQualityPrecisRule</gi> + <gi>locQualityRatingRule</gi> <gi>localeFilterRule</gi> <gi>mtConfidenceRule</gi> <gi>param</gi> @@ -5520,8 +5447,8 @@ /></item> <item>Added <ptr type="specref" target="#html5-markup"/>.</item> <item>Removed inline markup declarations.</item> - <item>Addition of a <att>locQualityPrecisVote</att> attribute and a - <att>locQualityPrecisVotePointer</att> attribute to <ptr target="#lqprecis" + <item>Addition of a <att>locQualityRatingVote</att> attribute and a + <att>locQualityRatingVotePointer</att> attribute to <ptr target="#lqrating" type="specref"/>.</item> <item>A <ref target="#its-information_versus_content">clarification</ref> of ITS data category information and processing of content in <ptr type="specref" @@ -5570,7 +5497,7 @@ <item>Added <ptr target="#preservespace" type="specref"/>.</item> <item>Added <ptr target="#lqissue" type="specref"/> and the related <ptr target="#lqissue-typevalues" type="specref"/>.</item> - <item>Added <ptr target="#lqprecis" type="specref"/>.</item> + <item>Added <ptr target="#lqrating" type="specref"/>.</item> <item>Added a placeholder <ptr type="specref" target="#mtconfidence"/>.</item> </list> <p xml:id="changelog-since-20120626">The following log records major changes that have been
Received on Wednesday, 28 November 2012 17:56:42 UTC