W3C home > Mailing lists > Public > public-multilingualweb-lt-commits@w3.org > October 2012

its20 CVS commit

From: Yves Savourel via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 11 Oct 2012 03:09:28 +0000
To: public-multilingualweb-lt-commits@w3.org
Message-Id: <E1TM99M-0000lE-ID@lionel-hutz.w3.org>
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory hutz:/tmp/cvs-serv2748

Modified Files:
	its20.html its20.odd 
Log Message:
Fixed example, updated change log.

Index: its20.odd
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -d -r1.178 -r1.179
--- its20.odd	10 Oct 2012 18:40:15 -0000	1.178
+++ its20.odd	11 Oct 2012 03:09:26 -0000	1.179
@@ -4224,22 +4224,23 @@
 							That is with the <emph>dot-all</emph> option set.</p>
 						<p>Example of expressions (shown as XML source):</p>
 						<list type="unordered">
-							<item><code>[abc]</code> : allows the characters 'a', 'b' and
+							<item><code>"[abc]"</code> : allows the characters 'a', 'b' and
 								'c'.</item>
-							<item><code>[a-c]</code> : allows the characters 'a', 'b' and
+							<item><code>"[a-c]"</code> : allows the characters 'a', 'b' and
 								'c'.</item>
-							<item><code>[a-zA-Z]</code> : allows the characters from 'a' to 'z' and
+							<item><code>"[a-zA-Z]"</code> : allows the characters from 'a' to 'z' and
 								from 'A' to 'Z'.</item>
-							<item><code>[^[abc]</code> : allows any characters except 'a', 'b', and
+							<item><code>"[^abc]"</code> : allows any characters except 'a', 'b', and
 								'c'.</item>
-							<item><code>[^&amp;#x0061-c]</code> : allows any characters except 'a',
+							<item><code>"[^&amp;#x0061;-c]"</code> : allows any characters except 'a',
 								'b', and 'c'.</item>
-							<item><code>\w</code> : allows any character except the set of
+							<item><code>"\w"</code> : allows any character except the set of
 								"punctuation", "separator" and "other" characters.</item>
-							<item><code>[&amp;#x20;-&amp;#x1ffff;-[&amp;lt;>:&amp;quot;\\/|\?*]]</code>
+							<item><code>"[&amp;#x20;-&amp;#x1ffff;-[&amp;lt;>:&amp;quot;\\/|\?*]]"</code>
 								: allows only the characters valid for Windows file names.</item>
-							<item><code>.</code> : allows any character.</item>
-							<item><code>[a-&amp;#x00ff;-[\s]]</code> : allows all characters between
+							<item><code>"."</code> : allows any character.</item>
+							<item><code>""</code> : allows no character.</item>
+							<item><code>"[a-&amp;#x00ff;-[\s]]"</code> : allows all characters between
 								U+0061 and U+00FF except the characters SPACE (U+0020), TABULATION
 								(U+0009), CARRIAGE RETURN (U+000D) and LINE FEED (U+000F).</item>
 						</list>
@@ -5243,6 +5244,7 @@
 							table</ref>.</p></item>
 					<item><p>Added new kind of user to <ptr target="#potential-users" type="specref"/>.</p></item>
 					<item><p>Added the algorithm to obtain the value of the <ref target="#domain">Domain</ref> data category.</p></item>
+					<item><p>Updated the <ref target="#allowedchars">Allowed Characters</ref> data category for the empty string case and the way to define "allow any characters"..</p></item>
 					
 				</list>
 				<p xml:id="changelog-since-20120731">The following log records major changes that

Index: its20.html
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -d -r1.181 -r1.182
--- its20.html	10 Oct 2012 18:40:15 -0000	1.181
+++ its20.html	11 Oct 2012 03:09:26 -0000	1.182
@@ -125,7 +125,7 @@
 </div>
 </div>
 <div class="toc1">7 <a href="#html5-markup" shape="rect">Using ITS Markup in HTML5</a><div class="toc2">7.1 <a href="#html5-local-attributes" shape="rect">Mapping of Local Data Categories to HTML5</a></div>
-<div class="toc2">7.2 <a href="#d3e7590" shape="rect">Inline Global Rules in HTML5</a></div>
+<div class="toc2">7.2 <a href="#d3e7595" shape="rect">Inline Global Rules in HTML5</a></div>
 </div>
 <div class="toc1">8 <a href="#xhtml5-markup" shape="rect">Using ITS Markup in XHTML</a></div>
 </div>
@@ -3055,14 +3055,14 @@
 							expression. That is, each character in the selected content <a href="#rfc-keywords" shape="rect">MUST</a> be included in the set specified
 							by the regular expression.</p><p>The regular expression is a character class construct as defined in the
 							section <a href="http://www.w3.org/TR/xmlschema-2/#charcter-classes" shape="rect">Character Classes</a> of XML Schema <a title="XML&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;Schema Part 2: Datatypes Second Edition" href="#xmlschema2" shape="rect">[XML Schema Part 2]</a>, with the assumption that the <code>.</code> metacharacter matches also CARRIAGE RETURN (U+000D) and LINE FEED (U+000F).
-							That is with the <em>dot-all</em> option set.</p><p>Example of expressions (shown as XML source):</p><ul><li><p><code>[abc]</code> : allows the characters 'a', 'b' and
-								'c'.</p></li><li><p><code>[a-c]</code> : allows the characters 'a', 'b' and
-								'c'.</p></li><li><p><code>[a-zA-Z]</code> : allows the characters from 'a' to 'z' and
-								from 'A' to 'Z'.</p></li><li><p><code>[^[abc]</code> : allows any characters except 'a', 'b', and
-								'c'.</p></li><li><p><code>[^&amp;#x0061-c]</code> : allows any characters except 'a',
-								'b', and 'c'.</p></li><li><p><code>\w</code> : allows any character except the set of
-								"punctuation", "separator" and "other" characters.</p></li><li><p><code>[&amp;#x20;-&amp;#x1ffff;-[&amp;lt;&gt;:&amp;quot;\\/|\?*]]</code>
-								: allows only the characters valid for Windows file names.</p></li><li><p><code>.</code> : allows any character.</p></li><li><p><code>[a-&amp;#x00ff;-[\s]]</code> : allows all characters between
+							That is with the <em>dot-all</em> option set.</p><p>Example of expressions (shown as XML source):</p><ul><li><p><code>"[abc]"</code> : allows the characters 'a', 'b' and
+								'c'.</p></li><li><p><code>"[a-c]"</code> : allows the characters 'a', 'b' and
+								'c'.</p></li><li><p><code>"[a-zA-Z]"</code> : allows the characters from 'a' to 'z' and
+								from 'A' to 'Z'.</p></li><li><p><code>"[^abc]"</code> : allows any characters except 'a', 'b', and
+								'c'.</p></li><li><p><code>"[^&amp;#x0061;-c]"</code> : allows any characters except 'a',
+								'b', and 'c'.</p></li><li><p><code>"\w"</code> : allows any character except the set of
+								"punctuation", "separator" and "other" characters.</p></li><li><p><code>"[&amp;#x20;-&amp;#x1ffff;-[&amp;lt;&gt;:&amp;quot;\\/|\?*]]"</code>
+								: allows only the characters valid for Windows file names.</p></li><li><p><code>"."</code> : allows any character.</p></li><li><p><code>""</code> : allows no character.</p></li><li><p><code>"[a-&amp;#x00ff;-[\s]]"</code> : allows all characters between
 								U+0061 and U+00FF except the characters SPACE (U+0020), TABULATION
 								(U+0009), CARRIAGE RETURN (U+000D) and LINE FEED (U+000F).</p></li></ul></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="allowedchars-implementation" id="allowedchars-implementation" shape="rect"/>6.21.2 Implementation</h4><p>The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category
@@ -3193,7 +3193,7 @@
 &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:storageSizeRule selector="//field" storageSizePointer="@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;
@@ -3243,7 +3243,7 @@
  &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></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="html5-markup" id="html5-markup" shape="rect"/>7 Using ITS Markup in HTML5</h2><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="html5-local-attributes" id="html5-local-attributes" shape="rect"/>7.1 Mapping of Local Data Categories to HTML5</h3><span class="editor-note">[Ed. note: camelCase -&gt; its-*; special mapping of @lang, @translate and @dir]</span><span class="editor-note">[Ed. note: Case sensitivity]</span></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="d3e7590" id="d3e7590" shape="rect"/>7.2 Inline Global Rules in HTML5</h3><span class="editor-note">[Ed. note: Constraints on using rules inside script]</span></div></div><div class="div1">
+<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="d3e7595" id="d3e7595" shape="rect"/>7.2 Inline Global Rules in HTML5</h3><span class="editor-note">[Ed. note: Constraints on using rules inside script]</span></div></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="xhtml5-markup" id="xhtml5-markup" shape="rect"/>8 Using ITS Markup in XHTML</h2><span class="editor-note">[Ed. note: Guidance about using camelCase/its-camel-case w/respect to DOM representation and consistency with HTML parsing]</span><span class="editor-note">[Ed. note: Guidance about inline global rules]</span></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">
@@ -3579,7 +3579,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="d3e8583" id="d3e8583" shape="rect"/>Example 94: 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="d3e8588" id="d3e8588" shape="rect"/>Example 94: 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.
@@ -3647,7 +3647,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="d3e8605" id="d3e8605" shape="rect"/>Example 95: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve">
+					during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e8610" id="d3e8610" shape="rect"/>Example 95: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve">
 &lt;nvdl:rules
   xmlns:nvdl="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0" &gt;
  &lt;nvdl:namespace ns="http://www.w3.org/2005/11/its"&gt;
@@ -3673,7 +3673,7 @@
 						about informative mappings of <a href="#lqissue-typevalues" shape="rect">Values for
 							the Localization Quality Issue Type</a> to the <a href="http://www.w3.org/International/its/wiki/Tool_specific_mappings" shape="rect">ITS IG wiki</a>.</p></li><li><p>Added a <a href="#its-conformance-2-3" shape="rect">conformance clause</a>
 							about HTML5 versus XML processing.</p></li><li><p>Added links to XML and HTML5 examples to the <a href="#datacategories-overview" shape="rect">data category overview
-							table</a>.</p></li><li><p>Added new kind of user to <a class="section-ref" href="#potential-users" shape="rect">Section 1.3.1: Potential Users of ITS</a>.</p></li><li><p>Added the algorithm to obtain the value of the <a href="#domain" shape="rect">Domain</a> data category.</p></li></ol><p id="changelog-since-20120731">The following log records major changes that
+							table</a>.</p></li><li><p>Added new kind of user to <a class="section-ref" href="#potential-users" shape="rect">Section 1.3.1: Potential Users of ITS</a>.</p></li><li><p>Added the algorithm to obtain the value of the <a href="#domain" shape="rect">Domain</a> data category.</p></li><li><p>Updated the <a href="#allowedchars" shape="rect">Allowed Characters</a> data category for the empty string case and the way to define "allow any characters"..</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 <code>dir</code> and
Received on Thursday, 11 October 2012 03:09:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:38 UTC