- From: Yves Savourel via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 02 Sep 2012 11:18:26 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory hutz:/tmp/cvs-serv11465
Modified Files:
its20.html its20.odd
Log Message:
Fixed reference to XML Schema part 2 for allowedCharacters
Index: its20.odd
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- its20.odd 1 Sep 2012 02:53:12 -0000 1.145
+++ its20.odd 2 Sep 2012 11:18:23 -0000 1.146
@@ -5154,8 +5154,9 @@
</list>
<p>The set of characters that are allowed is specified using a regular expression. That is, each character in the selected content
<ref target="#rfc-keywords">MUST</ref> be included in the set specified by the regular expression.</p>
- <p>The regular expression is a Character Class construct as defined in the Regular Expression syntax of XML Schema
- (http://www.w3.org/TR/xmlschema-2/#nt-charClass).</p>
+ <p>The regular expression is a character class construct as defined in the section
+ <ref target="http://www.w3.org/TR/xmlschema-2/#charcter-classes">Character Classes</ref> of XML Schema
+ <ptr target="#xmlschema2" type="bibref" />.</p>
<p>Example of expressions (shown as XML source):</p>
<list type="unordered">
<item><code>[abc]</code> : allows the characters 'a', 'b' and 'c'.</item>
@@ -5372,6 +5373,14 @@
http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/</ref>. The latest version of <ref
type="xspecref" target="http://www.w3.org/TR/xmlschema-1/">XML Schema</ref> is available at
http://www.w3.org/TR/xmlschema-1/.</bibl>
+ <bibl xml:id="xmlschema2" n="XML Schema Part 2">Paul V. Biron, Ashok Malhotra. <title>
+ <ref target="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/">XML Schema Part 2:
+ Datatypes Second Edition</ref>
+ </title>. W3C Recommendation 28 October 2004. Available at <ref
+ target="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/">
+ http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/</ref>. The latest version of <ref
+ type="xspecref" target="http://www.w3.org/TR/xmlschema-2/">XML Schema</ref> is available at
+ http://www.w3.org/TR/xmlschema-2/.</bibl>
<bibl xml:id="xpath" n="XPath 1.0">James Clark. <title>
<ref target="http://www.w3.org/TR/1999/REC-xpath-19991116/">XML Path Language (XPath)
Version 1.0</ref>
Index: its20.html
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- its20.html 1 Sep 2012 13:58:33 -0000 1.145
+++ its20.html 2 Sep 2012 11:18:23 -0000 1.146
@@ -2850,8 +2850,9 @@
<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="allowedchars" id="allowedchars" shape="rect"/>6.21 Allowed Characters</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="allowedchars-definition" id="allowedchars-definition" shape="rect"/>6.21.1 Definition</h4><p>The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category is used to specify what characters are allowed in a given
content.</p><p>This data category can be used for various purposes, including the following examples:</p><ul><li><p>Limit the characters which may be used in the UI of a game because of some special font restrictions.</p></li><li><p>Prevent illegal characters to be entered for text content that are file or directory names.</p></li><li><p>Control what characters can be used when translating examples of login name in a content.</p></li></ul><p>The set of characters that are allowed is specified using a regular 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 Regular Expression syntax of XML Schema
- (http://www.w3.org/TR/xmlschema-2/#nt-charClass).</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>[^&#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>[&#x20;-&#x1ffff;-[&lt;>:&quot;\\/|\?*]]</code> : allows only the characters valid for Windows
+ <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 Schema Part 2:
								Datatypes Second Edition" href="#xmlschema2" shape="rect">[XML Schema Part 2]</a>.</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>[^&#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>[&#x20;-&#x1ffff;-[&lt;>:&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-&#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 can be expressed with global rules, or locally
@@ -2948,7 +2949,10 @@
Mendelsohn. <a href="http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/" shape="rect"><cite>XML Schema Part 1:
Structures Second Edition</cite></a>. W3C Recommendation 28 October 2004. Available at <a href="http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/" shape="rect">
http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/</a>. The latest version of <a href="http://www.w3.org/TR/xmlschema-1/" shape="rect">XML Schema</a> is available at
- http://www.w3.org/TR/xmlschema-1/.</dd><dt class="label"><a name="xpath" id="xpath" shape="rect"/>XPath 1.0</dt><dd>James Clark. <a href="http://www.w3.org/TR/1999/REC-xpath-19991116/" shape="rect"><cite>XML Path Language (XPath)
+ http://www.w3.org/TR/xmlschema-1/.</dd><dt class="label"><a name="xmlschema2" id="xmlschema2" shape="rect"/>XML Schema Part 2</dt><dd>Paul V. Biron, Ashok Malhotra. <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/" shape="rect"><cite>XML Schema Part 2:
+ Datatypes Second Edition</cite></a>. W3C Recommendation 28 October 2004. Available at <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/" shape="rect">
+ http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/</a>. The latest version of <a href="http://www.w3.org/TR/xmlschema-2/" shape="rect">XML Schema</a> is available at
+ http://www.w3.org/TR/xmlschema-2/.</dd><dt class="label"><a name="xpath" id="xpath" shape="rect"/>XPath 1.0</dt><dd>James Clark. <a href="http://www.w3.org/TR/1999/REC-xpath-19991116/" shape="rect"><cite>XML Path Language (XPath)
Version 1.0</cite></a>. W3C Recommendation 16 November 1999. Available at <a href="http://www.w3.org/TR/1999/REC-xpath-19991116/" shape="rect">
http://www.w3.org/TR/1999/REC-xpath-19991116/</a>. The latest version of <a href="http://www.w3.org/TR/xpath/" shape="rect">XPath 1.0</a> is available at
http://www.w3.org/TR/xpath/ .</dd></dl></div><div class="div1">
@@ -3326,7 +3330,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="d3e10168" id="d3e10168" 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="d3e10185" id="d3e10185" shape="rect"/>Example 86: 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.
@@ -3393,7 +3397,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="d3e10190" id="d3e10190" shape="rect"/>Example 87: 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="d3e10207" id="d3e10207" shape="rect"/>Example 87: 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 11:18:27 UTC