- From: Yves Savourel via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 02 Sep 2012 23:47:20 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory hutz:/tmp/cvs-serv13428 Modified Files: its20.html its20.odd Log Message: Chnaged storageSize to no inheritence. Index: its20.odd =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v retrieving revision 1.147 retrieving revision 1.148 diff -u -d -r1.147 -r1.148 --- its20.odd 2 Sep 2012 14:37:34 -0000 1.147 +++ its20.odd 2 Sep 2012 23:47:17 -0000 1.148 @@ -2185,7 +2185,7 @@ <cell>Yes</cell> <cell>Yes</cell> <cell><code>its:storageSizeEncoding="UTF-8"</code></cell> - <cell>Textual content of element, <emph>including</emph> child elements, but excluding attributes</cell> + <cell>None</cell> <cell>tbd</cell> </row> </table> @@ -5307,8 +5307,7 @@ <div xml:id="storagesize-implementation"> <head>Implementation</head> <p>The <ref target="#storagesize">Storage Size</ref> data category can be expressed with global rules, or locally - on individual elements. For elements, the data category information <ref target="#def-inheritance">inherits</ref> to the - textual content of the element, <emph>including</emph> child elements, but <emph>excluding</emph> attributes.</p> + on individual elements. There is no inheritence. The default value of the character set encoding is UTF-8.</p> <p xml:id="storagesize-global">GLOBAL: The <gi>storageSizeRule</gi> element contains the following:</p> <list type="unordered"> <item><p>A required <att>selector</att> attribute. It contains an <ref target="#selectors">absolute selector</ref> which Index: its20.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v retrieving revision 1.147 retrieving revision 1.148 diff -u -d -r1.147 -r1.148 --- its20.html 2 Sep 2012 14:37:34 -0000 1.147 +++ its20.html 2 Sep 2012 23:47:17 -0000 1.148 @@ -1187,7 +1187,7 @@ <a href="#storagesize" shape="rect">Storage Size</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>its:storageSizeEncoding="UTF-8"</code> - </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="d3e3538" id="d3e3538" 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">None</td><td rowspan="1" colspan="1">tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3535" id="d3e3535" 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> @@ -1355,7 +1355,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="d3e4029" id="d3e4029" 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="d3e4026" id="d3e4026" 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 @@ -1377,7 +1377,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="d3e4091" id="d3e4091" 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="d3e4088" id="d3e4088" 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" @@ -1391,7 +1391,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="d3e4104" id="d3e4104" 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="d3e4101" id="d3e4101" 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> @@ -1441,7 +1441,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="d3e4343" id="d3e4343" 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="d3e4340" id="d3e4340" 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"> @@ -1452,7 +1452,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="d3e4356" id="d3e4356" 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="d3e4353" id="d3e4353" 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"> @@ -1463,7 +1463,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="d3e4369" id="d3e4369" 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="d3e4366" id="d3e4366" 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"> @@ -1552,7 +1552,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="d3e4717" id="d3e4717" 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="d3e4714" id="d3e4714" 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 @@ -1563,7 +1563,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="d3e4741" id="d3e4741" 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="d3e4738" id="d3e4738" 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> @@ -1702,7 +1702,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="d3e5425" id="d3e5425" 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="d3e5422" id="d3e5422" 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"/> @@ -2937,8 +2937,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="storagesize-definition" id="storagesize-definition" shape="rect"/>6.22.1 Definition</h4><p>The <a href="#storagesize" shape="rect">Storage Size</a> data category is used to specify the maximum storage size of a given content.</p><p>This data category can be used for various purposes, including the following examples:</p><ul><li><p>Verify during translation if a string fits into a fixed-size database field.</p></li><li><p>Control the size of a string that is stored in a fixed-size memory buffer at run-time.</p></li></ul><p>The storage size is expressed in bytes and is provided along with the character set encoding used to store the content.</p></div><div class="div3"> <h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="storagesize-implementation" id="storagesize-implementation" shape="rect"/>6.22.2 Implementation</h4><p>The <a href="#storagesize" shape="rect">Storage Size</a> data category can be expressed with global rules, or locally - on individual elements. For elements, the data category information <a href="#def-inheritance" shape="rect">inherits</a> to the - textual content of the element, <em>including</em> child elements, but <em>excluding</em> attributes.</p><p id="storagesize-global">GLOBAL: The <a class="itsmarkup" href="#storageSizeRule" shape="rect">storageSizeRule</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 + on individual elements. There is no inheritence. The default value of the character set encoding is UTF-8.</p><p id="storagesize-global">GLOBAL: The <a class="itsmarkup" href="#storageSizeRule" shape="rect">storageSizeRule</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>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.storagesize.attribute.storageSize" shape="rect">storageSize</a> attribute. It contains the maximum number of bytes the text of the selected node is allowed in storage.</p></li><li><p>A <a class="itsmarkup" href="#storageSizeRule.attributes" shape="rect">storageSizePointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as <a class="itsmarkup" href="#att.storagesize.attribute.storageSize" shape="rect">storageSize</a>.</p></li></ul></li><li><p>None or exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.storagesize.attribute.storageSizeEncoding" shape="rect">storageSizeEncoding</a> attribute. It contains the name of the character set encoding used @@ -3428,7 +3427,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="d3e10520" id="d3e10520" shape="rect"/>Example 90: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"> + constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e10508" id="d3e10508" shape="rect"/>Example 90: 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. @@ -3495,7 +3494,7 @@ <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="d3e10542" id="d3e10542" shape="rect"/>Example 91: 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="d3e10530" id="d3e10530" shape="rect"/>Example 91: 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>
Received on Sunday, 2 September 2012 23:47:22 UTC