its20 CVS commit

Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory hutz:/tmp/cvs-serv32093

Modified Files:
	its20.html its20.odd 
Log Message:
Added the storageSize data category.

Index: its20.odd
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -d -r1.146 -r1.147
--- its20.odd	2 Sep 2012 11:18:23 -0000	1.146
+++ its20.odd	2 Sep 2012 14:37:34 -0000	1.147
@@ -2176,6 +2176,18 @@
 							<cell>Textual content of element, <emph>including</emph> child elements, but excluding attributes</cell>
 							<cell>tbd</cell>
 						</row>
+						<row>
+							<cell>
+								<ref target="#storagesize">Storage Size</ref>
+							</cell>
+							<cell>Yes</cell>
+							<cell>Yes</cell>
+							<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>tbd</cell>
+						</row>
 					</table>
 
 					<exemplum>
@@ -5277,7 +5289,167 @@
 						</specGrp>
 						
 					</div>
-					
+				</div>
+
+				<div xml:id="storagesize">
+					<head>Storage Size</head>
+					<div xml:id="storagesize-definition">
+						<head>Definition</head>
+						<p>The <ref target="#storagesize">Storage Size</ref> 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>
+						<list type="unordered">
+							<item>Verify during translation if a string fits into a fixed-size database field.</item>
+							<item>Control the size of a string that is stored in a fixed-size memory buffer at run-time.</item>
+						</list>
+						<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 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>
+						<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
+								selects the nodes to which this rule applies.</p></item>
+							<item><p>Exactly one of the following:</p>
+								<list type="unordered">
+									<item><p>A <att>storageSize</att> attribute. It contains the maximum number of bytes the text of the selected node
+										is allowed in storage.</p></item>
+									<item><p>A <att>storageSizePointer</att> attribute that contains a <ref target="#selectors">relative 
+										selector</ref> pointing to a node with the exact same semantics as <att>storageSize</att>.</p></item>
+								</list>	
+							</item>
+							<item><p>None or exactly one of the following:</p>
+								<list type="unordered">
+									<item><p>A <att>storageSizeEncoding</att> attribute. It contains the name of the character set encoding used
+										to calculate the number of bytes of the selected text. The name <ref target="#rfc-keywords">MUST</ref> be
+										one of the names or aliases listed in the <ref target="http://www.iana.org/assignments/character-sets">IANA Character 
+										Sets registry</ref> <ptr target="#ianacharsets" type="bibref" />. The default value is "UTF-8".</p></item>
+									<item><p>A <att>storageSizeEncodingPointer</att> attribute that contains a <ref target="#selectors">relative 
+										selector</ref> pointing to a node with the exact same semantics as <att>storageSizeEncoding</att>.</p></item>
+								</list>	
+							</item>
+						</list>
+						<exemplum xml:id="EX-storageSize-global-1">
+							<head>The <ref target="#storagesize">Storage Size</ref> data category expressed globally in XML</head>
+							<p>The <gi>storageSizeRule</gi> element is used to specify that, when encoded in ISO-8859-1, the content of the
+								<gi>country</gi> element must not be more than 25 bytes. The name "Papouasie-Nouvelle-Guinée" is
+								25 character long and fits because all characters in ISO-8859-1 are encoded as a single byte.</p>
+							<egXML xmlns="http://www.tei-c.org/ns/Examples"
+								target="examples/xml/EX-storageSize-global-1.xml" />
+						</exemplum>
+						<exemplum xml:id="EX-storageSize-global-2">
+							<head>Mapping the <ref target="#storagesize">Storage Size</ref> data category in XML</head>
+							<p>The <gi>storageSizePointer</gi> attribute is used to map the non-ITS attribute <att>max</att> to the same
+								functionality as <att>storageSize</att>. There is no character set encoding specified, so the default UTF-8
+								is assumed. Note that, while the name "Papouasie-Nouvelle-Guinée" is 25 character long, the character 'é' is
+								encoded into two bytes in UTF-8. Therefore this name is one byte too long to fit in its storage destination.</p>
+							<egXML xmlns="http://www.tei-c.org/ns/Examples"
+								target="examples/xml/EX-storageSize-global-2.xml" />
+						</exemplum>
+						
+						<p xml:id="storagesize-local">LOCAL: the following local markup is available for the <ref target="#storagesize">Storage
+							Size</ref> data category:</p>
+						<list type="unordered">
+							<item><p>A <att>storageSize</att> attribute. It contains the maximum number of bytes the text of the selected node
+								is allowed in storage.</p></item>
+							<item><p>An optional <att>storageSizeEncoding</att> attribute. It contains the name of the character set encoding used
+								to calculate the number of bytes of the selected text. The name <ref target="#rfc-keywords">MUST</ref> be
+								one of the names or aliases listed in the <ref target="http://www.iana.org/assignments/character-sets">IANA Character
+								Sets registry</ref> <ptr target="#ianacharsets" type="bibref" />. The default value is "UTF-8".</p></item>
+						</list>
+						<exemplum xml:id="EX-storageSize-local-1">
+							<head>The <ref target="#storagesize">Storage Size</ref> data category expressed locally in XML</head>
+							<p>The <att>storageSize</att> attribute allows to specify different the maximum storage sizes throughout the document.</p>
+							<egXML xmlns="http://www.tei-c.org/ns/Examples"
+								target="examples/xml/EX-storageSize-local-1.xml" />
+						</exemplum>
+						<exemplum xml:id="EX-storageSize-html5-local-1">
+							<head>The <ref target="#storagesize">Storage Size</ref> data category expressed locally in HTML</head>
+							<p>The <att>its-storage-size</att> is used here to specify the maximum number of bytes the two editable strings can have in UTF-8.</p>
+							<egXML xmlns="http://www.tei-c.org/ns/Examples"
+								target="examples/html5/EX-storageSize-html5-local-1.html" />
+						</exemplum>
+					</div>
+					<div xml:id="storagesize-markup">
+						<head>Markup Declarations for Allowed Characters</head>
+						<specGrp xml:id="spec-its-storagesize">
+							<elementSpec ident="storageSizeRule" ns="http://www.w3.org/2005/11/its">
+								<desc>Rule about the <ref target="#storagesize">Storage size</ref> data category.</desc>
+								<classes>
+									<memberOf key="att.selector" />
+								</classes>
+								<content>
+									<rng:empty />
+								</content>
+								<attList>
+									<attDef ident="storageSize" usage="opt">
+										<desc>TODO</desc>
+										<datatype>
+											<rng:data type="integer" />
+										</datatype>
+									</attDef>
+									<attDef ident="storageSizePointer" usage="opt">
+										<desc>TODO</desc>
+										<datatype>
+											<rng:data type="string" />
+										</datatype>
+									</attDef>
+									<attDef ident="storageSizeEncoding" usage="opt">
+										<desc>TODO</desc>
+										<datatype>
+											<rng:data type="string" />
+										</datatype>
+									</attDef>
+									<attDef ident="storageSizeEncodingPointer" usage="opt">
+										<desc>TODO</desc>
+										<datatype>
+											<rng:data type="string" />
+										</datatype>
+									</attDef>
+								</attList>
+							</elementSpec>
+							<classSpec ident="att.storagesize" type="atts">
+								<attList>
+									<attDef ident="storageSize" usage="opt"
+										ns="http://www.w3.org/2005/11/its">
+										<desc>TODO</desc>
+										<datatype>
+											<rng:data type="integer" />
+										</datatype>
+									</attDef>
+									<attDef ident="storageSizeEncoding" usage="opt"
+										ns="http://www.w3.org/2005/11/its">
+										<desc>TODO</desc>
+										<datatype>
+											<rng:data type="string" />
+										</datatype>
+									</attDef>
+								</attList>
+							</classSpec>
+							<classSpec ident="att.storagesize.html5" type="atts">
+								<attList>
+									<attDef ident="its-storage-size" usage="opt"
+										ns="http://www.w3.org/1999/xhtml">
+										<desc>TODO</desc>
+										<datatype>
+											<rng:data type="integer" />
+										</datatype>
+									</attDef>
+									<attDef ident="its-storage-size-encoding" usage="opt"
+										ns="http://www.w3.org/1999/xhtml">
+										<desc>TODO</desc>
+										<datatype>
+											<rng:data type="string" />
+										</datatype>
+									</attDef>
+								</attList>
+							</classSpec>
+						</specGrp>
+						
+					</div>
 				</div>
 				
 			</div>
@@ -5310,6 +5482,9 @@
 								Languages</ref>
 						</title>, September 2009. Available at <ref target="http://www.rfc-editor.org/rfc/bcp/bcp47.txt"
 							> http://www.rfc-editor.org/rfc/bcp/bcp47.txt</ref>.</bibl>
+					<bibl xml:id="ianacharsets" n="IANA Character Sets"><title>
+						<ref target="http://www.iana.org/assignments/character-sets">Character Sets</ref>
+					</title> Available at <ref target="http://www.iana.org/assignments/character-sets">http://www.iana.org/assignments/character-sets</ref>.</bibl>
 					<bibl xml:id="qa-framework" n="QAFRAMEWORK">Karl Dubost, Lynne Rosental, Dominique Hazaël-Massieux,
 						Lofton Henderson. <title>
 							<ref target="http://www.w3.org/TR/2005/REC-qaframe-spec-20050817/">QA Framework:
@@ -6072,6 +6247,7 @@
 					<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>
 					<item>Added <ptr type="specref" target="#allowedchars"/>.</item>
+					<item>Added <ptr type="specref" target="#storagesize"/>.</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

Index: its20.html
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -d -r1.146 -r1.147
--- its20.html	2 Sep 2012 11:18:23 -0000	1.146
+++ its20.html	2 Sep 2012 14:37:34 -0000	1.147
@@ -130,6 +130,10 @@
 <div class="toc3">6.21.2 <a href="#allowedchars-implementation" shape="rect">Implementation</a></div>
 <div class="toc3">6.21.3 <a href="#allowedchars-markup" shape="rect">Markup Declarations for Allowed Characters</a></div>
 </div>
+<div class="toc2">6.22 <a href="#storagesize" shape="rect">Storage Size</a><div class="toc3">6.22.1 <a href="#storagesize-definition" shape="rect">Definition</a></div>
+<div class="toc3">6.22.2 <a href="#storagesize-implementation" shape="rect">Implementation</a></div>
+<div class="toc3">6.22.3 <a href="#storagesize-markup" shape="rect">Markup Declarations for Allowed Characters</a></div>
+</div>
 </div>
 </div>
 <h3><a name="appendices" id="appendices" shape="rect"/>Appendices</h3><div class="toc1">A <a href="#normative-references" shape="rect">References</a></div>
@@ -1179,7 +1183,11 @@
                         <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">tbd</td></tr><tr><td rowspan="1" colspan="1">
                         <a href="#allowedchars" shape="rect">Allowed Characters</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">tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3512" id="d3e3512" 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><tr><td rowspan="1" colspan="1">
+                        <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
 							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>
@@ -1347,7 +1355,7 @@
  &lt;body&gt;
   &lt;msg id="NotFound"&gt;Cannot find {0} on {1}.&lt;/msg&gt;
  &lt;/body&gt;
-&lt;/myRes&gt;</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="d3e4003" id="d3e4003" 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
+&lt;/myRes&gt;</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
 									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">
 &lt;dataFile
@@ -1369,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="d3e4065" id="d3e4065" 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="d3e4091" id="d3e4091" 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">
 &lt;msgList
   xmlns:its="http://www.w3.org/2005/11/its"  xml:space="preserve"
@@ -1383,7 +1391,7 @@
    its:locNote="%1\$s is the original text's date in the format YYYY-MM-DD HH:MM always in GMT"&gt;
   &lt;value&gt;Translated from English content dated &lt;span id="version-info"&gt;%1\$s&lt;/span&gt; GMT.&lt;/value&gt;
  &lt;/data&gt;
-&lt;/msgList&gt;</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="d3e4078" id="d3e4078" shape="rect"/>Example 33: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed
+&lt;/msgList&gt;</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
 								locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve">&lt;!DOCTYPE html&gt;&#xD;
 &lt;html lang="en"&gt;
  &lt;head&gt;
@@ -1433,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="d3e4317" id="d3e4317" 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="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">
 &lt;text
   xmlns:its="http://www.w3.org/2005/11/its" &gt;
  &lt;its:rules version="2.0"&gt;
@@ -1444,7 +1452,7 @@
   structure, between the implied author or some other addresser,
   and the fiction.&lt;/gloss&gt;
  &lt;/p&gt;
-&lt;/text&gt;</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="d3e4330" id="d3e4330" 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">
+&lt;/text&gt;</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">
 &lt;text
   xmlns:its="http://www.w3.org/2005/11/its" &gt;
  &lt;its:rules version="2.0"&gt;
@@ -1455,7 +1463,7 @@
   structure, between the implied author or some other addresser,
   and the fiction.&lt;/gloss&gt;
  &lt;/p&gt;
-&lt;/text&gt;</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="d3e4343" id="d3e4343" 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">
+&lt;/text&gt;</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">
 &lt;text
   xmlns:its="http://www.w3.org/2005/11/its" &gt;
  &lt;its:rules version="2.0"&gt;
@@ -1544,7 +1552,7 @@
   xmlns:its="http://www.w3.org/2005/11/its"  version="2.0"&gt;
  &lt;its:dirRule dir="rtl" selector="//*[@direction='rtlText']"/&gt;
 &lt;/its:rules&gt;</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="d3e4691" id="d3e4691" 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="d3e4717" id="d3e4717" 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">
 &lt;text
@@ -1555,7 +1563,7 @@
      its:dir="rtl"&gt;<span dir="rtl">نشاط التدويل، W3C</span>&lt;/quote&gt;
      means &lt;quote&gt;Internationalization Activity, W3C&lt;/quote&gt;.&lt;/par&gt;
  &lt;/body&gt;
-&lt;/text&gt;</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="d3e4715" id="d3e4715" shape="rect"/>Example 42: The <a href="#directionality" shape="rect">Directionality</a> data category expressed locally
+&lt;/text&gt;</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
 								in HTML5</div><div class="exampleInner"><pre xml:space="preserve">&lt;!DOCTYPE html&gt;&#xD;
 &lt;html lang="en"&gt;
  &lt;head&gt;
@@ -1694,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="d3e5399" id="d3e5399" 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="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">
 &lt;its:rules
   xmlns:its="http://www.w3.org/2005/11/its"  version="2.0"&gt;
  &lt;its:withinTextRule withinText="yes" selector="//b | //em | //i"/&gt;
@@ -2924,9 +2932,99 @@
    
                                  <a href="#att.allowedchars.html5.attribute.its-allowed-characters" shape="rect">att.allowedchars.html5.attribute.its-allowed-characters</a>
                               </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.allowedchars.html5.attribute.its-allowed-characters" id="att.allowedchars.html5.attribute.its-allowed-characters" shape="rect"/>[178]   </td><td rowspan="1" colspan="1"><code>att.allowedchars.html5.attribute.its-allowed-characters</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code>
-   attribute its-allowed-characters { string }?</code></td></tr></tbody></table></dd></dl></div></div></div></div><div class="back"><div class="div1">
+   attribute its-allowed-characters { string }?</code></td></tr></tbody></table></dd></dl></div></div><div class="div2">
+<h3><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="storagesize" id="storagesize" shape="rect"/>6.22 Storage Size</h3><div class="div3">
+<h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="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
+								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
+										to calculate the number of bytes of the selected text. The name <a href="#rfc-keywords" shape="rect">MUST</a> be
+										one of the names or aliases listed in the <a href="http://www.iana.org/assignments/character-sets" shape="rect">IANA Character 
+										Sets registry</a>
+                              <a title="Character Sets" href="#ianacharsets" shape="rect">[IANA Character Sets]</a>. The default value is "UTF-8".</p></li><li><p>A <a class="itsmarkup" href="#storageSizeRule.attributes" shape="rect">storageSizeEncodingPointer</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.storageSizeEncoding" shape="rect">storageSizeEncoding</a>.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-global-1" id="EX-storageSize-global-1" shape="rect"/>Example 86: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed globally in XML</div><p>The <a class="itsmarkup" href="#storageSizeRule" shape="rect">storageSizeRule</a> element is used to specify that, when encoded in ISO-8859-1, the content of the
+								<code>country</code> element must not be more than 25 bytes. The name "Papouasie-Nouvelle-Guinée" is
+								25 character long and fits because all characters in ISO-8859-1 are encoded as a single byte.</p><div class="exampleInner"><pre xml:space="preserve">
+&lt;db
+  xmlns:its="http://www.w3.org/2005/11/its" &gt;
+ &lt;its:rules version="2.0"&gt;
+  &lt;its:storageSizeRule selector="//country" storageSize="25"
+    its:storageSizeEncoding="ISO-8859-1"/&gt;
+ &lt;/its:rules&gt;
+ &lt;data&gt;
+  &lt;country id="123"&gt;Papouasie-Nouvelle-Guinée&lt;/country&gt;
+  &lt;country id="139"&gt;République Dominicaine&lt;/country&gt;
+ &lt;/data&gt;
+&lt;/db&gt;</pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-global-1.xml" shape="rect">examples/xml/EX-storageSize-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-global-2" id="EX-storageSize-global-2" shape="rect"/>Example 87: Mapping the <a href="#storagesize" shape="rect">Storage Size</a> data category in XML</div><p>The <code>storageSizePointer</code> attribute is used to map the non-ITS attribute <code>max</code> to the same
+								functionality as <a class="itsmarkup" href="#att.storagesize.attribute.storageSize" shape="rect">storageSize</a>. There is no character set encoding specified, so the default UTF-8
+								is assumed. Note that, while the name "Papouasie-Nouvelle-Guinée" is 25 character long, the character 'é' is
+								encoded into two bytes in UTF-8. Therefore this name is one byte too long to fit in its storage destination.</p><div class="exampleInner"><pre xml:space="preserve">
+&lt;fields
+  xmlns:its="http://www.w3.org/2005/11/its" &gt;
+ &lt;its:rules version="2.0"&gt;
+  &lt;its:storageSizeRule selector="//country" storageSizePointer="//field/@max"/&gt;
+ &lt;/its:rules&gt;
+ &lt;field type="country" id="123" max="25"&gt;Papouasie-Nouvelle-Guinée&lt;/field&gt;
+ &lt;field type="country" id="139" max="25"&gt;République Dominicaine&lt;/field&gt;
+&lt;/fields&gt;</pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-global-2.xml" shape="rect">examples/xml/EX-storageSize-global-2.xml</a>]</p></div><p id="storagesize-local">LOCAL: the following local markup is available for the <a href="#storagesize" shape="rect">Storage
+							Size</a> data category:</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>An optional <a class="itsmarkup" href="#att.storagesize.attribute.storageSizeEncoding" shape="rect">storageSizeEncoding</a> attribute. It contains the name of the character set encoding used
+								to calculate the number of bytes of the selected text. The name <a href="#rfc-keywords" shape="rect">MUST</a> be
+								one of the names or aliases listed in the <a href="http://www.iana.org/assignments/character-sets" shape="rect">IANA Character
+								Sets registry</a>
+                        <a title="Character Sets" href="#ianacharsets" shape="rect">[IANA Character Sets]</a>. The default value is "UTF-8".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-local-1" id="EX-storageSize-local-1" shape="rect"/>Example 88: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed locally in XML</div><p>The <a class="itsmarkup" href="#att.storagesize.attribute.storageSize" shape="rect">storageSize</a> attribute allows to specify different the maximum storage sizes throughout the document.</p><div class="exampleInner"><pre xml:space="preserve">
+&lt;messages
+  xmlns:its="http://www.w3.org/2005/11/its" 
+  its:version="2.0"&gt;
+ &lt;var num="panelA1_Continue"
+   its:storageSize="8" storageEncoding="UTF-16"&gt;CONTINUE&lt;/var&gt;
+ &lt;var num="panelA1_Stop"
+   its:storageSize="8" storageEncoding="UTF-16"&gt;STOP&lt;/var&gt;
+ &lt;var num="panelB5_Cancel"
+   its:storageSize="12" storageEncoding="UTF-16"&gt;CANCEL&lt;/var&gt;
+&lt;/messages&gt;</pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-local-1.xml" shape="rect">examples/xml/EX-storageSize-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-html5-local-1" id="EX-storageSize-html5-local-1" shape="rect"/>Example 89: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed locally in HTML</div><p>The <a class="itsmarkup" href="#att.storagesize.html5.attribute.its-storage-size" shape="rect">its-storage-size</a> is used here to specify the maximum number of bytes the two editable strings can have in UTF-8.</p><div class="exampleInner"><pre xml:space="preserve">
+&lt;html lang="en"&gt;
+ &lt;head&gt;
+  &lt;meta charset="utf-8"&gt;&lt;meta&gt;
+  &lt;title&gt;Example&lt;/title&gt;
+ &lt;/head&gt;
+ &lt;body&gt;
+  &lt;p&gt;String to translate:&lt;/p&gt;
+  &lt;p id="123" contenteditable="true" its-storage-size="25"&gt;Papua New-Guinea&lt;/p&gt;
+  &lt;p id="139" contenteditable="true" its-storage-size="25"&gt;Dominican Replubic&lt;/p&gt;
+ &lt;/body&gt;
+&lt;/html&gt;</pre></div><p>[Source file: <a href="examples/html5/EX-storageSize-html5-local-1.html" shape="rect">examples/html5/EX-storageSize-html5-local-1.html</a>]</p></div></div><div class="div3">
+<h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="storagesize-markup" id="storagesize-markup" shape="rect"/>6.22.3 Markup Declarations for Allowed Characters</h4><dl><dt class="label">storageSizeRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="storageSizeRule" id="storageSizeRule" shape="rect"/>[179]   </td><td rowspan="1" colspan="1"><code>storageSizeRule</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code>
+   element its:storageSizeRule
+   {
+      storageSizeRule.content,
+      <a href="#storageSizeRule.attributes" shape="rect">storageSizeRule.attributes</a>
+   }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="storageSizeRule.content" id="storageSizeRule.content" shape="rect"/>[180]   </td><td rowspan="1" colspan="1"><code>storageSizeRule.content</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="storageSizeRule.attributes" id="storageSizeRule.attributes" shape="rect"/>[181]   </td><td rowspan="1" colspan="1"><code>storageSizeRule.attributes</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code>
+   
+                                 <a href="#att.selector.attributes" shape="rect">att.selector.attributes</a>,
+   attribute storageSize { xsd:integer }?,
+   attribute storageSizePointer { string }?,
+   attribute storageSizeEncoding { string }?,
+   attribute storageSizeEncodingPointer { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.storagesize" id="att.storagesize" shape="rect"/>att.storagesize</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.attributes" id="att.storagesize.attributes" shape="rect"/>[182]   </td><td rowspan="1" colspan="1"><code>att.storagesize.attributes</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code>
+   
+                                 <a href="#att.storagesize.attribute.storageSize" shape="rect">att.storagesize.attribute.storageSize</a>,
+   <a href="#att.storagesize.attribute.storageSizeEncoding" shape="rect">att.storagesize.attribute.storageSizeEncoding</a>
+                              </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.attribute.storageSize" id="att.storagesize.attribute.storageSize" shape="rect"/>[183]   </td><td rowspan="1" colspan="1"><code>att.storagesize.attribute.storageSize</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code>
+   attribute its:storageSize { xsd:integer }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.attribute.storageSizeEncoding" id="att.storagesize.attribute.storageSizeEncoding" shape="rect"/>[184]   </td><td rowspan="1" colspan="1"><code>att.storagesize.attribute.storageSizeEncoding</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code>
+   attribute its:storageSizeEncoding { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.storagesize.html5" id="att.storagesize.html5" shape="rect"/>att.storagesize.html5</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.html5.attributes" id="att.storagesize.html5.attributes" shape="rect"/>[185]   </td><td rowspan="1" colspan="1"><code>att.storagesize.html5.attributes</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code>
+   
+                                 <a href="#att.storagesize.html5.attribute.its-storage-size" shape="rect">att.storagesize.html5.attribute.its-storage-size</a>,
+   <a href="#att.storagesize.html5.attribute.its-storage-size-encoding" shape="rect">att.storagesize.html5.attribute.its-storage-size-encoding</a>
+                              </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.html5.attribute.its-storage-size" id="att.storagesize.html5.attribute.its-storage-size" shape="rect"/>[186]   </td><td rowspan="1" colspan="1"><code>att.storagesize.html5.attribute.its-storage-size</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code>
+   attribute its-storage-size { xsd:integer }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.html5.attribute.its-storage-size-encoding" id="att.storagesize.html5.attribute.its-storage-size-encoding" shape="rect"/>[187]   </td><td rowspan="1" colspan="1"><code>att.storagesize.html5.attribute.its-storage-size-encoding</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code>
+   attribute its-storage-size-encoding { string }?</code></td></tr></tbody></table></dd></dl></div></div></div></div><div class="back"><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="normative-references" id="normative-references" shape="rect"/>A References</h2><dl><dt class="label"><a name="bcp47" id="bcp47" shape="rect"/>BCP47</dt><dd>Addison Phillips, Mark Davis. <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt" shape="rect"><cite>Tags for Identifying
-								Languages</cite></a>, September 2009. Available at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt" shape="rect"> http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>.</dd><dt class="label"><a name="qa-framework" id="qa-framework" shape="rect"/>QAFRAMEWORK</dt><dd>Karl Dubost, Lynne Rosental, Dominique Hazaël-Massieux,
+								Languages</cite></a>, September 2009. Available at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt" shape="rect"> http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>.</dd><dt class="label"><a name="ianacharsets" id="ianacharsets" shape="rect"/>IANA Character Sets</dt><dd>
+               <a href="http://www.iana.org/assignments/character-sets" shape="rect"><cite>Character Sets</cite></a> Available at <a href="http://www.iana.org/assignments/character-sets" shape="rect">http://www.iana.org/assignments/character-sets</a>.</dd><dt class="label"><a name="qa-framework" id="qa-framework" shape="rect"/>QAFRAMEWORK</dt><dd>Karl Dubost, Lynne Rosental, Dominique Hazaël-Massieux,
 						Lofton Henderson. <a href="http://www.w3.org/TR/2005/REC-qaframe-spec-20050817/" shape="rect"><cite>QA Framework:
 								Specification Guidelines</cite></a>. W3C Recommendation 17 August 2005. Available at <a href="http://www.w3.org/TR/2005/REC-qaframe-spec-20050817/" shape="rect">
 							http://www.w3.org/TR/2005/REC-qaframe-spec-20050817/</a>. The latest version of <a href="http://www.w3.org/TR/qaframe-spec/" shape="rect">QAFRAMEWORK</a> is available at
@@ -3330,7 +3428,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="d3e10185" id="d3e10185" shape="rect"/>Example 86: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve">
+					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">
 &lt;sch:schema
   xmlns:sch="http://www.ascc.net/xml/schematron" &gt;
 &lt;!-- Schematron document to test constraints for global and local ITS markup.
@@ -3397,14 +3495,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="d3e10207" id="d3e10207" shape="rect"/>Example 87: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve">&lt;rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"&gt; &lt;namespace
+					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">&lt;rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"&gt; &lt;namespace
 						ns="http://www.w3.org/2005/11/its"&gt; &lt;validate schema="its-elements.rng"/&gt;
 						&lt;/namespace&gt; &lt;namespace ns="http://www.w3.org/2005/11/its" match="attributes"&gt;
 						&lt;validate schema="its-attributes.rng"/&gt; &lt;/namespace&gt; &lt;anyNamespace&gt;
 						&lt;allow/&gt; &lt;/anyNamespace&gt; &lt;/rules&gt;</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-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><li><p>Added <a class="section-ref" href="#allowedchars" shape="rect">Section 6.21: Allowed Characters</a>.</p></li></ol><p id="changelog-since-20120731">The following log records major changes that have been made to this
+						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><li><p>Added <a class="section-ref" href="#allowedchars" shape="rect">Section 6.21: Allowed Characters</a>.</p></li><li><p>Added <a class="section-ref" href="#storagesize" shape="rect">Section 6.22: Storage Size</a>.</p></li></ol><p id="changelog-since-20120731">The followinglog 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 Sunday, 2 September 2012 14:37:40 UTC