- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 31 Aug 2012 12:38:32 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version In directory hutz:/tmp/cvs-serv25701/TR-version Modified Files: Overview.html Log Message: Clarification about overridding, update of changelog Index: Overview.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version/Overview.html,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- Overview.html 31 Aug 2012 09:25:33 -0000 1.37 +++ Overview.html 31 Aug 2012 12:38:30 -0000 1.38 @@ -1142,60 +1142,65 @@ mandates that elements are translatable, and attributes are not translatable if there is no <a class="itsmarkup" href="#translateRule">translateRule</a> element and no <a class="itsmarkup" href="#att.local.no-ns.attribute.translate">translate</a> attribute available.</p></li><li><p><em>Inheritance</em> describes whether ITS information is applicable to child elements of nodes and attributes related to these nodes or their child notes. The inheritance for the <a href="#trans-datacat">Translate</a> data category for example mandates that all child elements of nodes are translatable whereas all attributes related to these the nodes - or their child notes are not translatable.</p></li><li><p><em>Overriding</em> describes whether ITS information can be overridden or not. - Overriding is only applicable for data categories with inheritance. Overriding thus is not - applicable for the <a href="#terminology">Terminology</a> and the <a href="#ruby-annotation">Ruby</a> data category.</p></li></ul><table border="1" width="100%"><thead><tr><td>Data category</td><td>Local Usage</td><td>Global, rule-based selection</td><td>Global adding of information</td><td>Global pointing to existing information</td><td>Default Values</td><td>Inheritance</td><td>Overriding</td><td>HTML5 examples</td></tr></thead><tbody><tr><td> + or their child notes are not translatable.</p></li><li><p>For ITS data categories with inheritance, the information conveyed by the data category can be overridden. For example, a local <a class="itsmarkup" href="#att.local.no-ns.attribute.translate">translate</a> attribute overrides the <a href="#trans-datacat">Translate</a> information conveyed by a global <a class="itsmarkup" href="#translateRule">translateRule</a>.</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p id="its-information_versus_content">An ITS application is free to decide what pieces of content it uses. For + example:</p><ul><li><p><a href="#terminology">Terminology</a> information is added to a <code>term</code> element. The information pertains only to the content of the element, since there is no inheritance for <a href="#terminology">Terminology</a>. Nevertheless an ITS application can make use of the complete element, e.g. including attribute nodes etc. + </p></li><li><p>Using <a href="#idvalue">Id value</a>, a unique identifier is provided for a <code>p</code> element. An application can make use of the complete <code>p</code> element, including child nodes + and attributes nodes. The application is also free to make use just of the + string value of <code>p</code>. Nevertheless the id provided via <a href="#idvalue">ID value</a> pertains only to the <code>p</code> element. It cannot be used to identify nested elements or attributes.</p></li><li><p>Using <a href="#target-pointer">target pointer</a>, selected <code>source</code> element have the ITS information that their + translation is available in a <code>target</code> element; see <a href="#EX-target-pointer-global-1">Example 61</a>. This information does not inherit to child elements of <code>target pointer</code>. E.g., the translation of a + <code>span</code> element nested in <code>source</code> is not available in a specific <code>target</code> element. Nevertheless, an application is free to use the complete + content of <code>source</code>, including <code>span</code>, and e.g. present it to a translator.</p></li></ul></div><table border="1" width="100%"><thead><tr><td>Data category</td><td>Local Usage</td><td>Global, rule-based selection</td><td>Global adding of information</td><td>Global pointing to existing information</td><td>Default Values</td><td>Inheritance</td><td>HTML5 examples</td></tr></thead><tbody><tr><td> <a href="#trans-datacat">Translate</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td> <code>translate="yes"</code> for elements, and <code>translate="no"</code> for attributes</td><td>Textual content of element, <em>including</em> content of child elements, but - <em>excluding</em> attributes</td><td>Yes</td><td>tbd</td></tr><tr><td> + <em>excluding</em> attributes</td><td>tbd</td></tr><tr><td> <a href="#locNote-datacat">Localization Note</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> content of child elements, but - <em>excluding</em> attributes</td><td>Yes</td><td>tbd</td></tr><tr><td> + <em>excluding</em> attributes</td><td>tbd</td></tr><tr><td> <a href="#terminology">Terminology</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td> <code>term="no"</code> - </td><td>None</td><td>Not applicable</td><td>tbd</td></tr><tr><td> + </td><td>None</td><td>tbd</td></tr><tr><td> <a href="#directionality">Directionality</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td> <code>dir="ltr"</code> </td><td>Textual content of element, <em>including</em> attributes and child - elements</td><td>Yes</td><td>tbd</td></tr><tr><td> + elements</td><td>tbd</td></tr><tr><td> <a href="#ruby-annotation">Ruby</a> - </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>None</td><td>Not applicable</td><td>tbd</td></tr><tr><td> + </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>None</td><td>tbd</td></tr><tr><td> <a href="#language-information">Language Information</a> </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> attributes and child - elements</td><td>Yes</td><td>tbd</td></tr><tr><td> + elements</td><td>tbd</td></tr><tr><td> <a href="#elements-within-text">Elements Within Text</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td> <code>withinText="no"</code> - </td><td>None</td><td>Not applicable</td><td>tbd</td></tr><tr><td> + </td><td>None</td><td>tbd</td></tr><tr><td> <a href="#domain">Domain</a> </td><td>No</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> attributes and child - elements</td><td>Yes</td><td>tbd</td></tr><tr><td> + elements</td><td>tbd</td></tr><tr><td> <a href="#Disambiguation">Disambiguation</a> - </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>None</td><td>Not applicable</td><td>tbd</td></tr><tr><td> + </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>None</td><td>tbd</td></tr><tr><td> <a href="#LocaleFilter">Locale Filter</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td> <code>localeFilterList="*"</code> </td><td>Textual content of element, <em>including</em> attributes and child - elements</td><td>Yes</td><td>tbd</td></tr><tr><td> + elements</td><td>tbd</td></tr><tr><td> <a href="#externalresource">External Resource</a> - </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td>Not applicable</td><td>tbd</td></tr><tr><td> + </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td>tbd</td></tr><tr><td> <a href="#target-pointer">Target Pointer</a> - </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td>Not applicable</td><td>tbd</td></tr><tr><td> + </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td>tbd</td></tr><tr><td> <a href="#idvalue">Id Value</a> - </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td>Not applicable</td><td>tbd</td></tr><tr><td> + </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td>tbd</td></tr><tr><td> <a href="#preservespace">Preserve Space</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td> <code>default</code> </td><td>Textual content of element, <em>including</em> attributes and child - elements</td><td>Yes</td><td>tbd</td></tr><tr><td> + elements</td><td>tbd</td></tr><tr><td> <a href="#lqissue">Localization Quality Issue</a> - </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> child elements, but excluding attributes</td><td>Yes</td><td>tbd</td></tr><tr><td> + </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> child elements, but excluding attributes</td><td>tbd</td></tr><tr><td> <a href="#lqprecis">Localization Quality Précis</a> - </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> child elements, but excluding attributes</td><td>Yes</td><td>tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3449" id="d3e3449"></a>Example 24: Defaults, inheritance and overriding behavior of data categories</div><p>In this example, the content of all the <code>data</code> elements is translatable because the + </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> child elements, but excluding attributes</td><td>tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3487" id="d3e3487"></a>Example 24: Defaults, inheritance and overriding behavior of data categories</div><p>In this example, the content of all the <code>data</code> elements is translatable because the default for the <a href="#trans-datacat">Translate</a> data category in elements is "yes". The content of <code>revision</code> and <a class="itsmarkup" href="#locNote">locNote</a> is not translatable because the default is overridden by the local <code>its:translate="no"</code> @@ -1363,7 +1368,7 @@ <body> <msg id="NotFound">Cannot find {0} on {1}.</msg> </body> -</myRes></pre></div><p>[Source file: <a href="examples/xml/EX-locNoteRef-attribute-1.xml">examples/xml/EX-locNoteRef-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3934" id="d3e3934"></a>Example 31: The <a class="itsmarkup" href="#locNoteRule.attributes">locNoteRefPointer</a> attribute</div><p>The <a class="itsmarkup" href="#locNoteRule.attributes">locNoteRefPointer</a> attribute contains a <a href="#selectors">relative +</myRes></pre></div><p>[Source file: <a href="examples/xml/EX-locNoteRef-attribute-1.xml">examples/xml/EX-locNoteRef-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3972" id="d3e3972"></a>Example 31: The <a class="itsmarkup" href="#locNoteRule.attributes">locNoteRefPointer</a> attribute</div><p>The <a class="itsmarkup" href="#locNoteRule.attributes">locNoteRefPointer</a> attribute contains a <a href="#selectors">relative selector</a> pointing to a node that holds the URI referring to the location of the note.</p><div class="exampleInner"><pre> <dataFile @@ -1385,7 +1390,7 @@ itself.</p></li><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteRef">locNoteRef</a> attribute that contains a URI referring to the location of the localization note.</p></li></ul></li><li><p>An optional <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteType">locNoteType</a> attribute with the value "description" or "alert". If the <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteType">locNoteType</a> attribute is not present, the type of localization note will be - assumed to be "description". </p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3996" id="d3e3996"></a>Example 32: The <a href="#locNote-datacat">Localization Note</a> data category expressed + assumed to be "description". </p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4034" id="d3e4034"></a>Example 32: The <a href="#locNote-datacat">Localization Note</a> data category expressed locally</div><div class="exampleInner"><pre> <msgList xmlns:its="http://www.w3.org/2005/11/its" xml:space="preserve" @@ -1399,7 +1404,7 @@ its:locNote="%1\$s is the original text's date in the format YYYY-MM-DD HH:MM always in GMT"> <value>Translated from English content dated <span id="version-info">%1\$s</span> GMT.</value> </data> -</msgList></pre></div><p>[Source file: <a href="examples/xml/EX-locNote-selector-2.xml">examples/xml/EX-locNote-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4009" id="d3e4009"></a>Example 33: The <a href="#locNote-datacat">Localization Note</a> data category expressed +</msgList></pre></div><p>[Source file: <a href="examples/xml/EX-locNote-selector-2.xml">examples/xml/EX-locNote-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4047" id="d3e4047"></a>Example 33: The <a href="#locNote-datacat">Localization Note</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre><!DOCTYPE html>
 <html lang="en"> <head> @@ -1449,7 +1454,7 @@ "no".</p></li><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#termRule.attributes">termInfoPointer</a> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node that holds the terminology information.</p></li><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef">termInfoRef</a> attribute that contains a URI referring to the resource providing information about the term.</p></li><li><p>A <a class="itsmarkup" href="#termRule.attributes">termInfoRefPointer</a> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node that holds - the URI referring to the location of the terminology information.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4248" id="d3e4248"></a>Example 34: Usage of the <a class="itsmarkup" href="#termRule.attributes">termInfoPointer</a> attribute</div><div class="exampleInner"><pre> + the URI referring to the location of the terminology information.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4286" id="d3e4286"></a>Example 34: Usage of the <a class="itsmarkup" href="#termRule.attributes">termInfoPointer</a> attribute</div><div class="exampleInner"><pre> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1460,7 +1465,7 @@ structure, between the implied author or some other addresser, and the fiction.</gloss> </p> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-1.xml">examples/xml/EX-terms-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4261" id="d3e4261"></a>Example 35: Usage of the <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef">termInfoRef</a> attribute</div><div class="exampleInner"><pre> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-1.xml">examples/xml/EX-terms-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4299" id="d3e4299"></a>Example 35: Usage of the <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef">termInfoRef</a> attribute</div><div class="exampleInner"><pre> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1471,7 +1476,7 @@ structure, between the implied author or some other addresser, and the fiction.</gloss> </p> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-2.xml">examples/xml/EX-terms-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4274" id="d3e4274"></a>Example 36: Usage of the <a class="itsmarkup" href="#termRule.attributes">termInfoRefPointer</a> attribute</div><div class="exampleInner"><pre> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-2.xml">examples/xml/EX-terms-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4312" id="d3e4312"></a>Example 36: Usage of the <a class="itsmarkup" href="#termRule.attributes">termInfoRefPointer</a> attribute</div><div class="exampleInner"><pre> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1560,7 +1565,7 @@ xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:dirRule dir="rtl" selector="//*[@direction='rtlText']"/> </its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-2.xml">examples/xml/EX-dir-selector-2.xml</a>]</p></div><p id="directionality-local">LOCAL: The following local markup is available for the <a href="#directionality">Directionality</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.dir">dir</a> attribute with the value "ltr", "rtl", - "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4619" id="d3e4619"></a>Example 41: The <a href="#directionality">Directionality</a> data category expressed + "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4657" id="d3e4657"></a>Example 41: The <a href="#directionality">Directionality</a> data category expressed locally</div><p>On the first <code>quote</code> element, the <code>its:dir="rtl"</code> attribute indicates a right-to-left content.</p><div class="exampleInner"><pre> <text @@ -1571,7 +1576,7 @@ its:dir="rtl"><span dir="rtl">نشاط التدويل، W3C</span></quote> means <quote>Internationalization Activity, W3C</quote>.</par> </body> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-3.xml">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4643" id="d3e4643"></a>Example 42: The <a href="#directionality">Directionality</a> data category expressed locally +</text></pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-3.xml">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4681" id="d3e4681"></a>Example 42: The <a href="#directionality">Directionality</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre><!DOCTYPE html>
 <html lang="en"> <head> @@ -1710,7 +1715,7 @@ <h4><a href="#contents"><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="within-text-implementation" id="within-text-implementation"></a>6.8.2 Implementation</h4><p>The <a href="#elements-within-text">Elements Within Text</a> data category can be expressed with global rules, or locally on an individual element. There is no inheritance. The default is that elements are not within text.</p><p id="withintext-global">GLOBAL: The <a class="itsmarkup" href="#withinTextRule">withinTextRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector">selector</a> attribute. It contains an <a href="#selectors">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#att.local.no-ns.attribute.withinText">withinText</a> attribute with the value "yes", - "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e5324" id="d3e5324"></a>Example 46: Specifying elements within text with a <a class="itsmarkup" href="#withinTextRule">withinTextRule</a> element</div><div class="exampleInner"><pre> + "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e5362" id="d3e5362"></a>Example 46: Specifying elements within text with a <a class="itsmarkup" href="#withinTextRule">withinTextRule</a> element</div><div class="exampleInner"><pre> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:withinTextRule withinText="yes" selector="//b | //em | //i"/> @@ -2742,7 +2747,7 @@ <a href="#selectors">relative selector</a> pointing to a node with the exact same semantics as <a class="itsmarkup" href="#att.locqualityprecis.attribute.locQualityPrecisProfileRef">locQualityPrecisProfileRef</a>.</p></li></ul></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>The attributes <a class="itsmarkup" href="#locQualityPrecisRule.attributes">locQualityPrecisScorePointer</a>, <a class="itsmarkup" href="#locQualityPrecisRule.attributes">locQualityPrecisThresholdPointer</a>, and <a class="itsmarkup" href="#locQualityPrecisRule.attributes">locQualityPrecisProfileRefPointer</a> 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"></a>Example 76: The <a href="#lqprecis">Localization Quality Précis</a> data category expressed globally in XML</div><p>The following example shows how to us the <a class="itsmarkup" href="#locQualityPrecisRule">locQualityPrecisRule</a> element to specify the score, + 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"></a>Example 76: The <a href="#lqprecis">Localization Quality Précis</a> data category expressed globally in XML</div><p>The following example shows how to use the <a class="itsmarkup" href="#locQualityPrecisRule">locQualityPrecisRule</a> element to specify the score, threshold and profile for a document.</p><div class="exampleInner"><pre> <doc xmlns:its="http://www.w3.org/2005/11/its" > @@ -2756,7 +2761,7 @@ </its:rules> </header> <para>This is an example</para> -</doc></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityPrecis-global-1.xml">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"></a>Example 77: Using pointers to map the <a href="#lqprecis">Localization Quality Précis</a> data category in XML</div><p>The following example shows how to us the <a class="itsmarkup" href="#locQualityPrecisRule.attributes">locQualityPrecisVotePointer</a>, <a class="itsmarkup" href="#locQualityPrecisRule.attributes">locQualityPrecisThresholdPointer</a> +</doc></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityPrecis-global-1.xml">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"></a>Example 77: Using pointers to map the <a href="#lqprecis">Localization Quality Précis</a> data category in XML</div><p>The following example shows how the <a class="itsmarkup" href="#locQualityPrecisRule.attributes">locQualityPrecisVotePointer</a>, <a class="itsmarkup" href="#locQualityPrecisRule.attributes">locQualityPrecisThresholdPointer</a> and <a class="itsmarkup" href="#locQualityPrecisRule.attributes">locQualityPrecisProfileRefPointer</a> can be used to map the data category to an equivalent markup.</p><div class="exampleInner"><pre> <doc xmlns:its="http://www.w3.org/2005/11/its" > @@ -2771,7 +2776,7 @@ </its:rules> </header> <para>This is not popular</para> -</doc></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityPrecis-global-2.xml">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"></a>Example 78: The <a href="#lqprecis">Localization Quality Précis</a> data category expressed globally in HTML</div><p>The following example shows how to us the <a class="itsmarkup" href="#locQualityPrecisRule">locQualityPrecisRule</a> element to specify the score, +</doc></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityPrecis-global-2.xml">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"></a>Example 78: The <a href="#lqprecis">Localization Quality Précis</a> data category expressed globally in HTML</div><p>The following example shows how to use the <a class="itsmarkup" href="#locQualityPrecisRule">locQualityPrecisRule</a> element to specify the score, threshold and profile for an HTML document.</p><div class="exampleInner"><pre> <html lang="en"> <head> @@ -3265,7 +3270,7 @@ <h2><a href="#contents"><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="its-schematron-constraints" id="its-schematron-constraints"></a>F Checking ITS Markup Constraints With Schematron (Non-Normative)</h2><p> <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">[Schematron]</a> document allows for validating some of these - constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9765" id="d3e9765"></a>Example 82: Testing constraints in ITS markup</div><div class="exampleInner"><pre> + constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9803" id="d3e9803"></a>Example 82: Testing constraints in ITS markup</div><div class="exampleInner"><pre> <sch:schema xmlns:sch="http://www.ascc.net/xml/schematron" > <!-- Schematron document to test constraints for global and local ITS markup. @@ -3332,12 +3337,14 @@ <em>This section is informative.</em> </p><p>The following <a title="Namespace-based Validation Dispatching Language (NVDL)" href="#nvdl">[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="d3e9787" id="d3e9787"></a>Example 83: NVDL schema for ITS</div><div class="exampleInner"><pre><rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"> <namespace + attributes of host language are ignored during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9825" id="d3e9825"></a>Example 83: NVDL schema for ITS</div><div class="exampleInner"><pre><rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"> <namespace ns="http://www.w3.org/2005/11/its"> <validate schema="its-elements.rng"/> </namespace> <namespace ns="http://www.w3.org/2005/11/its" match="attributes"> <validate schema="its-attributes.rng"/> </namespace> <anyNamespace> <allow/> </anyNamespace> </rules></pre></div><p> [Source file: <a href="schemas/its.nvdl">its.nvdl</a>]</p></div><p>The NVDL schema depends on the following two schemas:</p><span class="editor-note">[Ed. note: These schemas need to be provided in an updated draft.]</span><ul><li><p>RELAX NG schema for ITS elements</p></li><li><p>RELAX NG schema for ITS attributes</p></li></ul></div><div class="div1"> -<h2><a href="#contents"><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"></a>H Revision Log (Non-Normative)</h2><p id="changelog-since-20120731">The following log records major changes that have been made to this +<h2><a href="#contents"><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"></a>H Revision Log (Non-Normative)</h2><p id="changelog-since-20120829">The following log records major changes that have been made to this + document since the <a href="http://www.w3.org/TR/2012/WD-its20-20120829/">ITS 2.0 Working Draft + 29 August 2012</a>.</p><ol class="depth1"><li><p>Addition of a <a class="itsmarkup" href="#att.locqualityprecis.attribute.locQualityPrecisVote">locQualityPrecisVote</a> attribute and a <a class="itsmarkup" href="#locQualityPrecisRule.attributes">locQualityPrecisVotePointer</a> attribute to <a class="section-ref" href="#lqprecis">Section 6.19: Localization Quality Précis</a>.</p></li><li><p>A <a href="#its-information_versus_content">clarification</a> of ITS data category information and processing of content in <a class="section-ref" href="#datacategories-defaults-etc">Section 6.1: Position, Defaults, Inheritance and Overriding of Data Categories</a>.</p></li></ol><p id="changelog-since-20120731">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-20120731/">ITS 2.0 Working Draft 31 July 2012</a>.</p><ol class="depth1"><li><p>Added <a class="section-ref" href="#Disambiguation">Section 6.10: Disambiguation</a>.</p></li><li><p>Added <a class="section-ref" href="#preservespace">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#idvalue">Section 6.16: Id Value</a>.</p></li><li><p>Added support for different query language and reworked whole XPath and CSS Selectors integration.</p></li><li><p>Added examples to <a class="section-ref" href="#externalresource">Section 6.14: External Resource</a>.</p></li><li><p>Simplified <a class="section-ref" href="#LocaleFilter">Section 6.11: Locale Filter</a>.</p></li><li><p>Added a note about HTML5 and the attributes <a class="itsmarkup" href="#att.local.no-ns.attribute.dir">dir</a> and <a class="itsmarkup" href="#att.local.no-ns.attribute.translate">translate</a> to <a class="section-ref" href="#selection-local">Section 5.2.3: Local Selection in an XML Document</a>.</p></li><li><p>Added definition of <a class="itsmarkup" href="#param">param</a> element to <a class="section-ref" href="#selection-global">Section 5.2.1: Global, Rule-based Selection</a>.</p></li><li><p>Added <a class="section-ref" href="#target-pointer">Section 6.15: Target Pointer</a>.</p></li><li><p>Original Ruby markup model changed to HTML5 Ruby model.</p></li><li><p>Updated references.</p></li><li><p>Added <a class="section-ref" href="#preservespace">Sction 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#lqissue">Section 6.18: Localization Quality Issue</a> and the related <a class="section-ref" href="#lqissue-typevalues">Appendix B: Values for the Localization Quality Issue Type</a>.</p></li><li><p>Added <a class="section-ref" href="#lqprecis">Section 6.19: Localization Quality Précis</a>.</p></li><li><p>Added a placeholder <a class="section-ref" href="#mt-confidence">Section 6.20: MT Confidence</a>.</p></li></ol><p id="changelog-since-20120626">The following log records major changes that have been made to this
Received on Friday, 31 August 2012 12:38:39 UTC