its20 CVS commit

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

Modified Files:
	its20.html its20.odd 
Log Message:
Added lineBreakType attribute for Storage Size.

Index: its20.odd
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -d -r1.157 -r1.158
--- its20.odd	17 Sep 2012 11:09:46 -0000	1.157
+++ its20.odd	17 Sep 2012 14:53:23 -0000	1.158
@@ -6119,6 +6119,12 @@
 										<att>storageEncoding</att>.</p></item>
 								</list>
 							</item>
+							<item>
+								<p>An optional <att>lineBreakType</att> attribute. It indicates what type of line breaks the storage uses.
+									The possible values are: <code>cr</code> for CARRIAGE RETURN (U+000D), <code>lf</code> for LINE FEED (U+000A),
+									<code>crlf</code> for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A), or <code>nel</code> for NEXT LINE (U+0085).
+									The default value is <code>lf</code>.</p>
+							</item>
 						</list>
 						<exemplum xml:id="EX-storageSize-global-1">
 							<head>The <ref target="#storagesize">Storage Size</ref> data category
@@ -6160,6 +6166,12 @@
 										Character Sets registry</ref>
 									<ptr target="#ianacharsets" type="bibref"/>. The default value
 									is "UTF-8".</p></item>
+							<item>
+								<p>An optional <att>lineBreakType</att> attribute. It indicates what type of line breaks the storage uses.
+									The possible values are: <code>cr</code> for CARRIAGE RETURN (U+000D), <code>lf</code> for LINE FEED (U+000A),
+									<code>crlf</code> for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A), or <code>nel</code> for NEXT LINE (U+0085).
+									The default value is <code>lf</code>.</p>
+							</item>
 						</list>
 						<exemplum xml:id="EX-storageSize-local-1">
 							<head>The <ref target="#storagesize">Storage Size</ref> data category
@@ -6215,6 +6227,17 @@
 											<rng:data type="string"/>
 										</datatype>
 									</attDef>
+									<attDef ident="lineBreakType" usage="opt">
+										<desc>TODO</desc>
+										<datatype>
+											<rng:choice>
+												<rng:value>cr</rng:value>
+												<rng:value>lf</rng:value>
+												<rng:value>crlf</rng:value>
+												<rng:value>nel</rng:value>
+											</rng:choice>
+										</datatype>
+									</attDef>
 								</attList>
 							</elementSpec>
 							<classSpec ident="att.storagesize" type="atts">
@@ -6233,6 +6256,17 @@
 											<rng:data type="string"/>
 										</datatype>
 									</attDef>
+									<attDef ident="lineBreakType" usage="opt">
+										<desc>TODO</desc>
+										<datatype>
+											<rng:choice>
+												<rng:value>cr</rng:value>
+												<rng:value>lf</rng:value>
+												<rng:value>crlf</rng:value>
+												<rng:value>nel</rng:value>
+											</rng:choice>
+										</datatype>
+									</attDef>
 								</attList>
 							</classSpec>
 							<classSpec ident="att.storagesize.html5" type="atts">
@@ -6244,13 +6278,24 @@
 											<rng:data type="nonNegativeInteger"/>
 										</datatype>
 									</attDef>
-									<attDef ident="its-storage-size-encoding" usage="opt"
+									<attDef ident="its-storage-encoding" usage="opt"
 										ns="http://www.w3.org/1999/xhtml">
 										<desc>TODO</desc>
 										<datatype>
 											<rng:data type="string"/>
 										</datatype>
 									</attDef>
+									<attDef ident="its-line-break-type" usage="opt">
+										<desc>TODO</desc>
+										<datatype>
+											<rng:choice>
+												<rng:value>cr</rng:value>
+												<rng:value>lf</rng:value>
+												<rng:value>crlf</rng:value>
+												<rng:value>nel</rng:value>
+											</rng:choice>
+										</datatype>
+									</attDef>
 								</attList>
 							</classSpec>
 						</specGrp>

Index: its20.html
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- its20.html	17 Sep 2012 11:09:46 -0000	1.160
+++ its20.html	17 Sep 2012 14:53:23 -0000	1.161
@@ -3514,7 +3514,10 @@
 											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.storageEncoding" shape="rect">storageEncoding</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
+										<a class="itsmarkup" href="#att.storagesize.attribute.storageEncoding" shape="rect">storageEncoding</a>.</p></li></ul></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.lineBreakType" shape="rect">lineBreakType</a> attribute. It indicates what type of line breaks the storage uses.
+									The possible values are: <code>cr</code> for CARRIAGE RETURN (U+000D), <code>lf</code> for LINE FEED (U+000A),
+									<code>crlf</code> for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A), or <code>nel</code> for NEXT LINE (U+0085).
+									The default value is <code>lf</code>.</p></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"
@@ -3554,7 +3557,10 @@
 									or aliases listed in the <a href="http://www.iana.org/assignments/character-sets" shape="rect">IANA
 										Character Sets registry</a>
                         <a title="Character&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;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
+									is "UTF-8".</p></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.lineBreakType" shape="rect">lineBreakType</a> attribute. It indicates what type of line breaks the storage uses.
+									The possible values are: <code>cr</code> for CARRIAGE RETURN (U+000D), <code>lf</code> for LINE FEED (U+000A),
+									<code>crlf</code> for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A), or <code>nel</code> for NEXT LINE (U+0085).
+									The default value is <code>lf</code>.</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
@@ -3594,19 +3600,24 @@
    attribute storageSize { xsd:nonNegativeInteger }?,
    attribute storageSizePointer { string }?,
    attribute storageEncoding { string }?,
-   attribute storageEncodingPointer { 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>
+   attribute storageEncodingPointer { string }?,
+   attribute lineBreakType { "cr" | "lf" | "crlf" | "nel" }?</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.storageEncoding" shape="rect">att.storagesize.attribute.storageEncoding</a>
+   <a href="#att.storagesize.attribute.storageEncoding" shape="rect">att.storagesize.attribute.storageEncoding</a>,
+   <a href="#att.storagesize.attribute.lineBreakType" shape="rect">att.storagesize.attribute.lineBreakType</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:nonNegativeInteger }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.attribute.storageEncoding" id="att.storagesize.attribute.storageEncoding" shape="rect"/>[184]   </td><td rowspan="1" colspan="1"><code>att.storagesize.attribute.storageEncoding</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code>
-   attribute its:storageEncoding { 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>
+   attribute its:storageEncoding { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.attribute.lineBreakType" id="att.storagesize.attribute.lineBreakType" shape="rect"/>[185]   </td><td rowspan="1" colspan="1"><code>att.storagesize.attribute.lineBreakType</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code>
+   attribute lineBreakType { "cr" | "lf" | "crlf" | "nel" }?</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"/>[186]   </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:nonNegativeInteger }?</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">
+   <a href="#att.storagesize.html5.attribute.its-storage-encoding" shape="rect">att.storagesize.html5.attribute.its-storage-encoding</a>,
+   <a href="#att.storagesize.html5.attribute.its-line-break-type" shape="rect">att.storagesize.html5.attribute.its-line-break-type</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"/>[187]   </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:nonNegativeInteger }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.html5.attribute.its-storage-encoding" id="att.storagesize.html5.attribute.its-storage-encoding" shape="rect"/>[188]   </td><td rowspan="1" colspan="1"><code>att.storagesize.html5.attribute.its-storage-encoding</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code>
+   attribute its-storage-encoding { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.html5.attribute.its-line-break-type" id="att.storagesize.html5.attribute.its-line-break-type" shape="rect"/>[189]   </td><td rowspan="1" colspan="1"><code>att.storagesize.html5.attribute.its-line-break-type</code></td><td rowspan="1" colspan="1">   ::=   </td><td rowspan="1" colspan="1"><code>
+   attribute its-line-break-type { "cr" | "lf" | "crlf" | "nel" }?</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="ianacharsets" id="ianacharsets" shape="rect"/>IANA Character Sets</dt><dd>
@@ -4316,7 +4327,7 @@
             <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&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;-- Schematron" href="#schematron" shape="rect">[Schematron]</a> document allows for
-					validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11378" id="d3e11378" shape="rect"/>Example 90: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve">
+					validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11438" id="d3e11438" 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.
@@ -4384,7 +4395,7 @@
          </p><p>The following <a title="Namespace-based Validation&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;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="d3e11400" id="d3e11400" 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;
+					during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11460" id="d3e11460" 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

Received on Monday, 17 September 2012 14:53:32 UTC