- From: CVS User fsasaki <cvsmail@w3.org>
- Date: Thu, 13 Dec 2012 16:27:10 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory gil:/tmp/cvs-serv7610 Modified Files: its20.html its20.odd Log Message: implemented potential resolution to issue-62 --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2012/12/13 15:12:15 1.303 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2012/12/13 16:27:09 1.304 @@ -2684,15 +2684,16 @@ content of the element, <em>including</em> child elements, but excluding attributes.</p><p id="lqissue-global">GLOBAL: The <code class="its-elem-markup">locQualityIssueRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors" 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">locQualityIssuesRef</code> attribute. Its value is an IRI + this rule applies.</p></li><li><p>Either (in parallel to <a href="#lqissue-local-inline-markup" shape="rect">local inline markup</a>)</p><ul><li><p>At least one of the following attributes:</p><ul><li><p>A <code class="its-attr-markup">locQualityIssueType</code> attribute that implements the <a href="#lqissueDefs" shape="rect">type information</a>.</p></li><li><p>A <code class="its-attr-markup">locQualityIssueComment</code> attribute that implements the + <a href="#lqissueDefs" shape="rect">comment information</a>.</p></li></ul></li><li><p>An optional <code class="its-attr-markup">locQualityIssueSeverity</code> attribute that implements + the <a href="#lqissueDefs" shape="rect">severity information</a>.</p></li><li><p>An optional <code class="its-attr-markup">locQualityIssueProfileRef</code> attribute that + implements the <a href="#lqissueDefs" shape="rect">profile reference + information</a>.</p></li><li><p>An optional <code class="its-attr-markup">locQualityIssueEnabled</code> attribute that implements + the <a href="#lqissueDefs" shape="rect">enabled information</a>.</p></li></ul></li><li><p>Or (standoff markup) exactly one of the following:</p><ul><li><p>A <code class="its-attr-markup">locQualityIssuesRef</code> attribute. Its value is an IRI pointing to the <code class="its-elem-markup">locQualityIssues</code> element containing the <a href="#elem-locQualityIssues" shape="rect">list of issues</a> related to this content.</p></li><li><p>A <code class="its-attr-markup">locQualityIssuesRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with - the exact same semantics as <code class="its-attr-markup">locQualityIssuesRef</code>.</p></li></ul></li><li><p>At least one of the following:</p><ul><li><p>A <code class="its-attr-markup">locQualityIssueType</code> attribute that implements the <a href="#lqissueDefs" shape="rect">type information</a>.</p></li><li><p>A <code class="its-attr-markup">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 class="its-attr-markup">locQualityIssueSeverity</code> attribute that implements the - <a href="#lqissueDefs" shape="rect">severity information</a>.</p></li><li><p>An optional <code class="its-attr-markup">locQualityIssueProfileRef</code> attribute that implements - the <a href="#lqissueDefs" shape="rect">profile reference information</a>.</p></li><li><p>An optional <code class="its-attr-markup">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 class="its-attr-markup">locQualityIssuesRefPointer</code> does not apply to HTML as local + the exact same semantics as <code class="its-attr-markup">locQualityIssuesRef</code>.</p></li></ul></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>The attribute <code class="its-attr-markup">locQualityIssuesRefPointer</code> does not apply to HTML as local markup is provided for direct annotation in HTML.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-global-1" id="EX-locQualityIssue-global-1" shape="rect"/>Example 76: Annotating an issue in XML with <code class="its-elem-markup">locQualityIssueRule</code> element</div><p>The <code class="its-elem-markup">locQualityIssueRule</code> element associates the issue information with the value of the <code>text</code> attribute.</p><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0"?></span> <strong class="hl-tag" style="color: #000096"><doc></strong> @@ -2741,7 +2742,7 @@ different <code class="its-attr-markup">locQualityIssueType</code> attributes applied to the same span of text because the inner-most one would override the others). A local <em>standoff markup</em> is provided to allow such cases.</p><p>The following local markup is available for the <a href="#lqissue" shape="rect">Localization - Quality Issue</a> data category:</p><ul><li><p>Either (inline markup):</p><ul><li><p>At least one of the following attributes:</p><ul><li><p>A <code class="its-attr-markup">locQualityIssueType</code> attribute that implements the <a href="#lqissueDefs" shape="rect">type information</a>.</p></li><li><p>A <code class="its-attr-markup">locQualityIssueComment</code> attribute that implements the + Quality Issue</a> data category:</p><ul><li><p id="lqissue-local-inline-markup">Either (inline markup):</p><ul><li><p>At least one of the following attributes:</p><ul><li><p>A <code class="its-attr-markup">locQualityIssueType</code> attribute that implements the <a href="#lqissueDefs" shape="rect">type information</a>.</p></li><li><p>A <code class="its-attr-markup">locQualityIssueComment</code> attribute that implements the <a href="#lqissueDefs" shape="rect">comment information</a>.</p></li></ul></li><li><p>An optional <code class="its-attr-markup">locQualityIssueSeverity</code> attribute that implements the <a href="#lqissueDefs" shape="rect">severity information</a>.</p></li><li><p>An optional <code class="its-attr-markup">locQualityIssueProfileRef</code> attribute that implements the <a href="#lqissueDefs" shape="rect">profile reference @@ -2981,13 +2982,11 @@ 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 86: 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"><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> -<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:toolsRef</span>=<span class="hl-value" style="color: #993300">"MTConfidence|/file:///tools.xml#T1"</span><strong class="hl-tag" style="color: #000096">></strong> + 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:annotatorsRef</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> - <strong class="hl-tag" style="color: #000096"><span</strong> <span class="hl-attribute" style="color: #F5844C">its:mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.8982"</span><strong class="hl-tag" style="color: #000096">></strong>Dublin is the capital - city of Ireland.<strong class="hl-tag" style="color: #000096"></span></strong> + <strong class="hl-tag" style="color: #000096"><span</strong> <span class="hl-attribute" style="color: #F5844C">its:mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.8982"</span><strong class="hl-tag" style="color: #000096">></strong>Dublin is the capital city of + 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 87: The <a href="#mtconfidence" shape="rect">MT Confidence</a> data category expressed @@ -4876,11 +4875,15 @@ <strong class="hl-tag" style="color: #000096"></define></strong> <strong class="hl-tag" style="color: #000096"><define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-locQualityIssueRule.attributes"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.selector"</span><strong class="hl-tag" style="color: #000096">/></strong> - <strong class="hl-tag" style="color: #000096"><choice></strong> - <strong class="hl-tag" style="color: #000096"><choice></strong> + <strong class="hl-tag" style="color: #000096"><group></strong> + <strong class="hl-tag" style="color: #000096"><choice></strong> + <strong class="hl-tag" style="color: #000096"><group></strong> + <strong class="hl-tag" style="color: #000096"><choice></strong> <strong class="hl-tag" style="color: #000096"><ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssuesRef.nons"</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"><ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssuesRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"></choice></strong> + <strong class="hl-tag" style="color: #000096"></group></strong> + <strong class="hl-tag" style="color: #000096"><group></strong> <strong class="hl-tag" style="color: #000096"><interleave></strong> <strong class="hl-tag" style="color: #000096"><optional></strong> <strong class="hl-tag" style="color: #000096"><ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueType.nons"</span><strong class="hl-tag" style="color: #000096">/></strong> @@ -4889,16 +4892,18 @@ <strong class="hl-tag" style="color: #000096"><ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueComment.nons"</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"></optional></strong> <strong class="hl-tag" style="color: #000096"></interleave></strong> + <strong class="hl-tag" style="color: #000096"><optional></strong> + <strong class="hl-tag" style="color: #000096"><ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueSeverity.nons"</span><strong class="hl-tag" style="color: #000096">/></strong> + <strong class="hl-tag" style="color: #000096"></optional></strong> + <strong class="hl-tag" style="color: #000096"><optional></strong> + <strong class="hl-tag" style="color: #000096"><ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueProfileRef.nons"</span><strong class="hl-tag" style="color: #000096">/></strong> + <strong class="hl-tag" style="color: #000096"></optional></strong> + <strong class="hl-tag" style="color: #000096"><optional></strong> + <strong class="hl-tag" style="color: #000096"><ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueEnabled.nons"</span><strong class="hl-tag" style="color: #000096">/></strong> + <strong class="hl-tag" style="color: #000096"></optional></strong> + <strong class="hl-tag" style="color: #000096"></group></strong> <strong class="hl-tag" style="color: #000096"></choice></strong> - <strong class="hl-tag" style="color: #000096"><optional></strong> - <strong class="hl-tag" style="color: #000096"><ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueSeverity.nons"</span><strong class="hl-tag" style="color: #000096">/></strong> - <strong class="hl-tag" style="color: #000096"></optional></strong> - <strong class="hl-tag" style="color: #000096"><optional></strong> - <strong class="hl-tag" style="color: #000096"><ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueProfileRef.nons"</span><strong class="hl-tag" style="color: #000096">/></strong> - <strong class="hl-tag" style="color: #000096"></optional></strong> - <strong class="hl-tag" style="color: #000096"><optional></strong> - <strong class="hl-tag" style="color: #000096"><ref</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssueEnabled.nons"</span><strong class="hl-tag" style="color: #000096">/></strong> - <strong class="hl-tag" style="color: #000096"></optional></strong> + <strong class="hl-tag" style="color: #000096"></group></strong> <strong class="hl-tag" style="color: #000096"></define></strong> <strong class="hl-tag" style="color: #000096"><define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-attribute.locQualityIssuesRefPointer.nons"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><attribute</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"locQualityIssuesRefPointer"</span><strong class="hl-tag" style="color: #000096">></strong> @@ -5694,7 +5699,7 @@ <code class="its-attr-markup">its-storage-size</code>, <code class="its-attr-markup">its-storage-encoding</code>?, <code class="its-attr-markup">lits-line-break-type</code>?</td></tr></tbody></table></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-20121206">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-20121206/" shape="rect">ITS 2.0 Working Draft 6 December 2012</a>.</p><ol class="depth1"><li><p>Fixed <a href="#EX-its-tool-annotation-1" shape="rect">Example 26</a>, see <a href="https://www.w3.org/International/multilingualweb/lt/track/issues/58" shape="rect">issue-58</a>.</p></li><li><p>Clarified text in <a class="section-ref" href="#basic-concepts-addingpointing" shape="rect">Section 2.3: Adding Information or Pointing to Existing Information</a> and - <a class="section-ref" href="#selection-global" shape="rect">Section 5.2.1: Global, Rule-based Selection</a>, see <a href="https://www.w3.org/International/multilingualweb/lt/track/issues/59" shape="rect">issue-59</a>.</p></li><li><p>Clarified the definition of <code>uncategorized</code> in <a class="section-ref" href="#lqissue-typevalues" shape="rect">Appendix C: Values for the Localization Quality Issue Type</a>, see <a href="https://www.w3.org/International/multilingualweb/lt/track/issues/60" shape="rect">issue-60</a>.</p></li></ol><p id="changelog-since-20121023">The following log records major changes that have been + <a class="section-ref" href="#selection-global" shape="rect">Section 5.2.1: Global, Rule-based Selection</a>, see <a href="https://www.w3.org/International/multilingualweb/lt/track/issues/59" shape="rect">issue-59</a>.</p></li><li><p>Clarified the definition of <code>uncategorized</code> in <a class="section-ref" href="#lqissue-typevalues" shape="rect">Appendix C: Values for the Localization Quality Issue Type</a>, see <a href="https://www.w3.org/International/multilingualweb/lt/track/issues/60" shape="rect">issue-60</a>.</p></li><li><p>Clarified definition of <a href="#lqissue-global" shape="rect">Localization Quality Issue</a>, see <a href="https://www.w3.org/International/multilingualweb/lt/track/issues/62" shape="rect">issue-62</a>.</p></li></ol><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 HTML 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 8.17: 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 81</a>: <code>id</code> attribute of <code>script</code> element now the same as of containing --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2012/12/13 15:12:16 1.302 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2012/12/13 16:27:10 1.303 @@ -3959,9 +3959,25 @@ <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> + <item><p>Either (in parallel to <ref target="#lqissue-local-inline-markup">local inline markup</ref>)</p> <list type="unordered"> - <item><p>Exactly one of the following:</p> + <item><p>At least one of the following attributes:</p> + <list type="unordered"> + <item><p>A <att>locQualityIssueType</att> attribute that implements the <ref + target="#lqissueDefs">type information</ref>.</p></item> + <item><p>A <att>locQualityIssueComment</att> attribute that implements the + <ref target="#lqissueDefs">comment information</ref>.</p></item> + </list> + </item> + <item><p>An optional <att>locQualityIssueSeverity</att> attribute that implements + the <ref target="#lqissueDefs">severity 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>locQualityIssueEnabled</att> attribute that implements + the <ref target="#lqissueDefs">enabled information</ref>.</p></item> + </list></item> + <item><p>Or (standoff markup) exactly one of the following:</p> <list type="unordered"> <item><p>A <att>locQualityIssuesRef</att> attribute. Its value is an IRI pointing to the <gi>locQualityIssues</gi> element containing the <ref @@ -3972,22 +3988,6 @@ the exact same semantics as <att>locQualityIssuesRef</att>.</p></item> </list> </item> - <item><p>At least one of the following:</p> - <list type="unordered"> - <item><p>A <att>locQualityIssueType</att> attribute that implements the <ref - target="#lqissueDefs">type information</ref>.</p></item> - <item><p>A <att>locQualityIssueComment</att> attribute that implements the - <ref target="#lqissueDefs">comment information</ref>.</p></item> - </list> - </item> - </list> - </item> - <item><p>An optional <att>locQualityIssueSeverity</att> attribute that implements the - <ref target="#lqissueDefs">severity 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>locQualityIssueEnabled</att> attribute that implements the - <ref target="#lqissueDefs">enabled information</ref>.</p></item> </list> <note> <p>The attribute <att>locQualityIssuesRefPointer</att> does not apply to HTML as local @@ -4022,7 +4022,7 @@ <p>The following local markup is available for the <ref target="#lqissue">Localization Quality Issue</ref> data category:</p> <list type="unordered"> - <item><p>Either (inline markup):</p> + <item><p xml:id="lqissue-local-inline-markup">Either (inline markup):</p> <list type="unordered"> <item><p>At least one of the following attributes:</p> <list type="unordered"> @@ -5551,6 +5551,7 @@ <item>Clarified text in <ptr target="#basic-concepts-addingpointing" type="specref"/> and <ptr target="#selection-global" type="specref"/>, see <ref target="https://www.w3.org/International/multilingualweb/lt/track/issues/59">issue-59</ref>.</item> <item>Clarified the definition of <code>uncategorized</code> in <ptr type="specref" target="#lqissue-typevalues"/>, see <ref target="https://www.w3.org/International/multilingualweb/lt/track/issues/60">issue-60</ref>.</item> + <item>Clarified definition of <ref target="#lqissue-global">Localization Quality Issue</ref>, see <ref target="https://www.w3.org/International/multilingualweb/lt/track/issues/62">issue-62</ref>.</item> </list> <p xml:id="changelog-since-20121023">The following log records major changes that have been made to this document since the <ref target="http://www.w3.org/TR/2012/WD-its20-20121023/"
Received on Thursday, 13 December 2012 16:27:13 UTC