- 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 In directory hutz:/tmp/cvs-serv25701 Modified Files: its20.html its20.odd Log Message: Clarification about overridding, update of changelog Index: its20.odd =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v retrieving revision 1.141 retrieving revision 1.142 diff -u -d -r1.141 -r1.142 --- its20.odd 31 Aug 2012 11:46:57 -0000 1.141 +++ its20.odd 31 Aug 2012 12:38:29 -0000 1.142 @@ -1919,11 +1919,21 @@ of nodes and attributes related to these nodes or their child notes. The inheritance for the <ref target="#trans-datacat">Translate</ref> 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.</item> - <item><emph>Overriding</emph> 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 <ref target="#terminology">Terminology</ref> and the <ref - target="#ruby-annotation">Ruby</ref> data category.</item> - </list> + <item>For ITS data categories with inheritance, the information conveyed by the data category can be overridden. For example, a local <att>translate</att> attribute overrides the <ref target="#trans-datacat">Translate</ref> information conveyed by a global <gi>translateRule</gi>.</item></list> + <note><p xml:id="its-information_versus_content">An ITS application is free to decide what pieces of content it uses. For + example:</p> + <list type="unordered"> + + <item><ref target="#terminology">Terminology</ref> 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 <ref target="#terminology">Terminology</ref>. Nevertheless an ITS application can make use of the complete element, e.g. including attribute nodes etc. + </item> + <item>Using <ref target="#idvalue">Id value</ref>, 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 <ref target="#idvalue">ID value</ref> pertains only to the <code>p</code> element. It cannot be used to identify nested elements or attributes.</item><item>Using <ref target="#target-pointer">target pointer</ref>, selected <code>source</code> element have the ITS information that their + translation is available in a <code>target</code> element; see <ptr target="#EX-target-pointer-global-1" type="exref"/>. 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.</item> + </list> + </note> <table border="1" width="100%" diff="chg"> <row role="head"> <cell>Data category</cell> @@ -1934,7 +1944,6 @@ <cell>Global pointing to existing information</cell> <cell>Default Values</cell> <cell>Inheritance</cell> - <cell>Overriding</cell> <cell>HTML5 examples</cell> </row> <row> @@ -1950,7 +1959,6 @@ attributes</cell> <cell>Textual content of element, <emph>including</emph> content of child elements, but <emph>excluding</emph> attributes</cell> - <cell>Yes</cell> <cell>tbd</cell> </row> <row> @@ -1965,7 +1973,6 @@ <cell>None</cell> <cell>Textual content of element, <emph>including</emph> content of child elements, but <emph>excluding</emph> attributes</cell> - <cell>Yes</cell> <cell>tbd</cell> </row> <row> @@ -1979,7 +1986,6 @@ <cell>Yes</cell> <cell><code>term="no"</code></cell> <cell>None</cell> - <cell>Not applicable</cell> <cell>tbd</cell> </row> <row> @@ -1994,7 +2000,6 @@ <cell><code>dir="ltr"</code></cell> <cell>Textual content of element, <emph>including</emph> attributes and child elements</cell> - <cell>Yes</cell> <cell>tbd</cell> </row> <row> @@ -2008,7 +2013,6 @@ <cell>Yes</cell> <cell>None</cell> <cell>None</cell> - <cell>Not applicable</cell> <cell>tbd</cell> </row> <row> @@ -2023,7 +2027,6 @@ <cell>None</cell> <cell>Textual content of element, <emph>including</emph> attributes and child elements</cell> - <cell>Yes</cell> <cell>tbd</cell> </row> <row> @@ -2037,7 +2040,6 @@ <cell>No</cell> <cell><code>withinText="no"</code></cell> <cell>None</cell> - <cell>Not applicable</cell> <cell>tbd</cell> </row> <row> @@ -2052,7 +2054,6 @@ <cell>None</cell> <cell>Textual content of element, <emph>including</emph> attributes and child elements</cell> - <cell>Yes</cell> <cell>tbd</cell> </row> <row> @@ -2066,7 +2067,6 @@ <cell>Yes</cell> <cell>None</cell> <cell>None</cell> - <cell>Not applicable</cell> <cell>tbd</cell> </row> <row> @@ -2080,7 +2080,6 @@ <cell><code>localeFilterList="*"</code></cell> <cell>Textual content of element, <emph>including</emph> attributes and child elements</cell> - <cell>Yes</cell> <cell>tbd</cell> </row> <row> @@ -2094,7 +2093,6 @@ <cell>Yes</cell> <cell>None</cell> <cell>None</cell> - <cell>Not applicable</cell> <cell>tbd</cell> </row> <row> @@ -2108,7 +2106,6 @@ <cell>Yes</cell> <cell>None</cell> <cell>None</cell> - <cell>Not applicable</cell> <cell>tbd</cell> </row> <row> @@ -2122,7 +2119,6 @@ <cell>Yes</cell> <cell>None</cell> <cell>None</cell> - <cell>Not applicable</cell> <cell>tbd</cell> </row> @@ -2138,7 +2134,6 @@ <cell><code>default</code></cell> <cell>Textual content of element, <emph>including</emph> attributes and child elements</cell> - <cell>Yes</cell> <cell>tbd</cell> </row> @@ -2153,7 +2148,6 @@ <cell>Yes</cell> <cell>None</cell> <cell>Textual content of element, <emph>including</emph> child elements, but excluding attributes</cell> - <cell>Yes</cell> <cell>tbd</cell> </row> @@ -2167,7 +2161,6 @@ <cell>Yes</cell> <cell>None</cell> <cell>Textual content of element, <emph>including</emph> child elements, but excluding attributes</cell> - <cell>Yes</cell> <cell>tbd</cell> </row> @@ -5912,6 +5905,13 @@ </div> <div xml:id="revisionlog" type="inform"> <head>Revision Log</head> + <p xml:id="changelog-since-20120829">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-20120829/">ITS 2.0 Working Draft + 29 August 2012</ref>.</p> + <list type="ordered"> + <item>Addition of a <att>locQualityPrecisVote</att> attribute and a <att>locQualityPrecisVotePointer</att> attribute to <ptr target="#lqprecis" 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" target="#datacategories-defaults-etc"/>.</item> + </list> <p xml:id="changelog-since-20120731">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-20120731/">ITS 2.0 Working Draft 31 July 2012</ref>.</p> Index: its20.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v retrieving revision 1.140 retrieving revision 1.141 diff -u -d -r1.140 -r1.141 --- its20.html 31 Aug 2012 11:46:57 -0000 1.140 +++ its20.html 31 Aug 2012 12:38:27 -0000 1.141 @@ -1113,60 +1113,65 @@ mandates that elements are translatable, and attributes are not translatable if there is no <a class="itsmarkup" href="#translateRule" shape="rect">translateRule</a> element and no <a class="itsmarkup" href="#att.local.no-ns.attribute.translate" shape="rect">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" shape="rect">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" shape="rect">Terminology</a> and the <a href="#ruby-annotation" shape="rect">Ruby</a> data category.</p></li></ul><table border="1" width="100%"><thead><tr><td rowspan="1" colspan="1">Data category</td><td rowspan="1" colspan="1">Local Usage</td><td rowspan="1" colspan="1">Global, rule-based selection</td><td rowspan="1" colspan="1">Global adding of information</td><td rowspan="1" colspan="1">Global pointing to existing information</td><td rowspan="1" colspan="1">Default Values</td><td rowspan="1" colspan="1">Inheritance</td><td rowspan="1" colspan="1">Overriding</td><td rowspan="1" colspan="1">HTML5 examples</td></tr></thead><tbody><tr><td rowspan="1" colspan="1"> + 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" shape="rect">translate</a> attribute overrides the <a href="#trans-datacat" shape="rect">Translate</a> information conveyed by a global <a class="itsmarkup" href="#translateRule" shape="rect">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" shape="rect">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" shape="rect">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" shape="rect">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" shape="rect">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" shape="rect">target pointer</a>, selected <code>source</code> element have the ITS information that their + translation is available in a <code>target</code> element; see <a href="#EX-target-pointer-global-1" shape="rect">Example 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 rowspan="1" colspan="1">Data category</td><td rowspan="1" colspan="1">Local Usage</td><td rowspan="1" colspan="1">Global, rule-based selection</td><td rowspan="1" colspan="1">Global adding of information</td><td rowspan="1" colspan="1">Global pointing to existing information</td><td rowspan="1" colspan="1">Default Values</td><td rowspan="1" colspan="1">Inheritance</td><td rowspan="1" colspan="1">HTML5 examples</td></tr></thead><tbody><tr><td rowspan="1" colspan="1"> <a href="#trans-datacat" shape="rect">Translate</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"> <code>translate="yes"</code> for elements, and <code>translate="no"</code> for attributes</td><td rowspan="1" colspan="1">Textual content of element, <em>including</em> content of child elements, but - <em>excluding</em> attributes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + <em>excluding</em> attributes</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#locNote-datacat" shape="rect">Localization Note</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> content of child elements, but - <em>excluding</em> attributes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + <em>excluding</em> attributes</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#terminology" shape="rect">Terminology</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"> <code>term="no"</code> - </td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">Not applicable</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + </td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#directionality" shape="rect">Directionality</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"> <code>dir="ltr"</code> </td><td rowspan="1" colspan="1">Textual content of element, <em>including</em> attributes and child - elements</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + elements</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#ruby-annotation" shape="rect">Ruby</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">None</td><td rowspan="1" colspan="1">Not applicable</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + </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">None</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#language-information" shape="rect">Language Information</a> </td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">No</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> attributes and child - elements</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + elements</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#elements-within-text" shape="rect">Elements Within Text</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"> <code>withinText="no"</code> - </td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">Not applicable</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + </td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#domain" shape="rect">Domain</a> </td><td rowspan="1" colspan="1">No</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> attributes and child - elements</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + elements</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#Disambiguation" shape="rect">Disambiguation</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">None</td><td rowspan="1" colspan="1">Not applicable</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + </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">None</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#LocaleFilter" shape="rect">Locale Filter</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"> <code>localeFilterList="*"</code> </td><td rowspan="1" colspan="1">Textual content of element, <em>including</em> attributes and child - elements</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + elements</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#externalresource" shape="rect">External Resource</a> - </td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">Not applicable</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + </td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#target-pointer" shape="rect">Target Pointer</a> - </td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">Not applicable</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + </td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#idvalue" shape="rect">Id Value</a> - </td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">Not applicable</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + </td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#preservespace" shape="rect">Preserve Space</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"> <code>default</code> </td><td rowspan="1" colspan="1">Textual content of element, <em>including</em> attributes and child - elements</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + elements</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#lqissue" shape="rect">Localization Quality Issue</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">Yes</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> + </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">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#lqprecis" shape="rect">Localization Quality Précis</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">Yes</td><td rowspan="1" colspan="1">tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3449" id="d3e3449" shape="rect"/>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 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">tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3487" id="d3e3487" shape="rect"/>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" shape="rect">Translate</a> data category in elements is "yes". The content of <code>revision</code> and <a class="itsmarkup" href="#locNote" shape="rect">locNote</a> is not translatable because the default is overridden by the local <code>its:translate="no"</code> @@ -1334,7 +1339,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" shape="rect">examples/xml/EX-locNoteRef-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3934" id="d3e3934" shape="rect"/>Example 31: The <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a> attribute</div><p>The <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a> attribute contains a <a href="#selectors" shape="rect">relative +</myRes></pre></div><p>[Source file: <a href="examples/xml/EX-locNoteRef-attribute-1.xml" shape="rect">examples/xml/EX-locNoteRef-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3972" id="d3e3972" shape="rect"/>Example 31: The <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a> attribute</div><p>The <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a> attribute contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that holds the URI referring to the location of the note.</p><div class="exampleInner"><pre xml:space="preserve"> <dataFile @@ -1356,7 +1361,7 @@ itself.</p></li><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteRef" shape="rect">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" shape="rect">locNoteType</a> attribute with the value "description" or "alert". If the <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteType" shape="rect">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" shape="rect"/>Example 32: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed + assumed to be "description". </p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4034" id="d3e4034" shape="rect"/>Example 32: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed locally</div><div class="exampleInner"><pre xml:space="preserve"> <msgList xmlns:its="http://www.w3.org/2005/11/its" xml:space="preserve" @@ -1370,7 +1375,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" shape="rect">examples/xml/EX-locNote-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4009" id="d3e4009" shape="rect"/>Example 33: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed +</msgList></pre></div><p>[Source file: <a href="examples/xml/EX-locNote-selector-2.xml" shape="rect">examples/xml/EX-locNote-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4047" id="d3e4047" shape="rect"/>Example 33: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve"><!DOCTYPE html>
 <html lang="en"> <head> @@ -1420,7 +1425,7 @@ "no".</p></li><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoPointer</a> attribute that contains a <a href="#selectors" shape="rect">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" shape="rect">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" shape="rect">termInfoRefPointer</a> attribute that contains a <a href="#selectors" shape="rect">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" shape="rect"/>Example 34: Usage of the <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoPointer</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> + 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" shape="rect"/>Example 34: Usage of the <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoPointer</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1431,7 +1436,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" shape="rect">examples/xml/EX-terms-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4261" id="d3e4261" shape="rect"/>Example 35: Usage of the <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef" shape="rect">termInfoRef</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-1.xml" shape="rect">examples/xml/EX-terms-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4299" id="d3e4299" shape="rect"/>Example 35: Usage of the <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef" shape="rect">termInfoRef</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1442,7 +1447,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" shape="rect">examples/xml/EX-terms-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4274" id="d3e4274" shape="rect"/>Example 36: Usage of the <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoRefPointer</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-2.xml" shape="rect">examples/xml/EX-terms-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4312" id="d3e4312" shape="rect"/>Example 36: Usage of the <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoRefPointer</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1531,7 +1536,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" shape="rect">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" shape="rect">Directionality</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.dir" shape="rect">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" shape="rect"/>Example 41: The <a href="#directionality" shape="rect">Directionality</a> data category expressed + "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4657" id="d3e4657" shape="rect"/>Example 41: The <a href="#directionality" shape="rect">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 xml:space="preserve"> <text @@ -1542,7 +1547,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" shape="rect">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4643" id="d3e4643" shape="rect"/>Example 42: The <a href="#directionality" shape="rect">Directionality</a> data category expressed locally +</text></pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-3.xml" shape="rect">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4681" id="d3e4681" shape="rect"/>Example 42: The <a href="#directionality" shape="rect">Directionality</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve"><!DOCTYPE html>
 <html lang="en"> <head> @@ -1681,7 +1686,7 @@ <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="within-text-implementation" id="within-text-implementation" shape="rect"/>6.8.2 Implementation</h4><p>The <a href="#elements-within-text" shape="rect">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" shape="rect">withinTextRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> 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 <a class="itsmarkup" href="#att.local.no-ns.attribute.withinText" shape="rect">withinText</a> attribute with the value "yes", - "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e5324" id="d3e5324" shape="rect"/>Example 46: Specifying elements within text with a <a class="itsmarkup" href="#withinTextRule" shape="rect">withinTextRule</a> element</div><div class="exampleInner"><pre xml:space="preserve"> + "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e5362" id="d3e5362" shape="rect"/>Example 46: Specifying elements within text with a <a class="itsmarkup" href="#withinTextRule" shape="rect">withinTextRule</a> element</div><div class="exampleInner"><pre xml:space="preserve"> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:withinTextRule withinText="yes" selector="//b | //em | //i"/> @@ -3236,7 +3241,7 @@ <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="its-schematron-constraints" id="its-schematron-constraints" shape="rect"/>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" shape="rect">[Schematron]</a> document allows for validating some of these - constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9765" id="d3e9765" shape="rect"/>Example 82: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"> + constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9803" id="d3e9803" shape="rect"/>Example 82: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"> <sch:schema xmlns:sch="http://www.ascc.net/xml/schematron" > <!-- Schematron document to test constraints for global and local ITS markup. @@ -3303,12 +3308,14 @@ <em>This section is informative.</em> </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="d3e9787" id="d3e9787" shape="rect"/>Example 83: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><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" shape="rect"/>Example 83: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><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" shape="rect">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" 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"/>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" 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"/>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/" shape="rect">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" shape="rect">locQualityPrecisVote</a> attribute and a <a class="itsmarkup" href="#locQualityPrecisRule.attributes" shape="rect">locQualityPrecisVotePointer</a> attribute to <a class="section-ref" href="#lqprecis" shape="rect">Section 6.19: Localization Quality Précis</a>.</p></li><li><p>A <a href="#its-information_versus_content" shape="rect">clarification</a> of ITS data category information and processing of content in <a class="section-ref" href="#datacategories-defaults-etc" shape="rect">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/" shape="rect">ITS 2.0 Working Draft 31 July 2012</a>.</p><ol class="depth1"><li><p>Added <a class="section-ref" href="#Disambiguation" shape="rect">Section 6.10: Disambiguation</a>.</p></li><li><p>Added <a class="section-ref" href="#preservespace" shape="rect">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#idvalue" shape="rect">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" shape="rect">Section 6.14: External Resource</a>.</p></li><li><p>Simplified <a class="section-ref" href="#LocaleFilter" shape="rect">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" shape="rect">dir</a> and <a class="itsmarkup" href="#att.local.no-ns.attribute.translate" shape="rect">translate</a> to <a class="section-ref" href="#selection-local" shape="rect">Section 5.2.3: Local Selection in an XML Document</a>.</p></li><li><p>Added definition of <a class="itsmarkup" href="#param" shape="rect">param</a> element to <a class="section-ref" href="#selection-global" shape="rect">Section 5.2.1: Global, Rule-based Selection</a>.</p></li><li><p>Added <a class="section-ref" href="#target-pointer" shape="rect">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" shape="rect">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#lqissue" shape="rect">Section 6.18: Localization Quality Issue</a> and the related <a class="section-ref" href="#lqissue-typevalues" shape="rect">Appendix B: Values for the Localization Quality Issue Type</a>.</p></li><li><p>Added <a class="section-ref" href="#lqprecis" shape="rect">Section 6.19: Localization Quality Précis</a>.</p></li><li><p>Added a placeholder <a class="section-ref" href="#mt-confidence" shape="rect">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:34 UTC