- From: CVS User fsasaki <cvsmail@w3.org>
- Date: Fri, 30 Nov 2012 10:30:29 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version In directory gil:/tmp/cvs-serv5855/TR-version Modified Files: Overview.html Log Message: update to schema section, so that the generated html is valid --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version/Overview.html 2012/11/30 10:15:27 1.67 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version/Overview.html 2012/11/30 10:30:29 1.68 @@ -3341,7 +3341,8 @@ <h2><a href="#contents"><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-schemas" id="its-schemas"></a>D Schemas for ITS</h2><p>The following schemas define ITS elements and attributes and can be used as building blocks when you want to integrate ITS markup into your own XML vocabulary. You can see examples of such integration in <a href="http://www.w3.org/TR/xml-i18n-bp/">Best - Practices for XML Internationalization</a>.</p><p>The following schemas are provided:</p><span class="editor-note">[Ed. note: Add more comments into schemas once they are stable]</span><ul><li><p>The following <a title="Namespace-based Validation Dispatching Language
 (NVDL)" href="#nvdl">[NVDL]</a> document allows validation of ITS + Practices for XML Internationalization</a>.</p><p>The following four schemas are provided:</p><p> + <em>1. NVDL document</em>: The following <a title="Namespace-based Validation Dispatching Language
 (NVDL)" href="#nvdl">[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="its20.nvdl" id="its20.nvdl"></a>Example 96: NVDL schema for ITS</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> @@ -3355,7 +3356,8 @@ <strong class="hl-tag" style="color: #000096"><anyNamespace></strong> <strong class="hl-tag" style="color: #000096"><allow/></strong> <strong class="hl-tag" style="color: #000096"></anyNamespace></strong> -<strong class="hl-tag" style="color: #000096"></rules></strong></pre></div><p>[Source file: <a href="schemas/its20.nvdl">schemas/its20.nvdl</a>]</p></div></li><li><p>The NVDL schema depends on the following two schemas:</p><ul><li><p><div class="exampleOuter"><div class="exampleHeader"><a name="its20-elements.rng" id="its20-elements.rng"></a>Example 97: RELAX NG schema for ITS elements</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> +<strong class="hl-tag" style="color: #000096"></rules></strong></pre></div><p>[Source file: <a href="schemas/its20.nvdl">schemas/its20.nvdl</a>]</p></div><p> + <em>2. RELAX NG schema for elements and attributes</em>: The NVDL schema depends on the following two schemas: RELAX NG schema for ITS elements, and RELAX NG schema for all ITS local attributes.</p><div class="exampleOuter"><div class="exampleHeader"><a name="its20-elements.rng" id="its20-elements.rng"></a>Example 97: RELAX NG schema for ITS elements</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> <strong class="hl-tag" style="color: #000096"><grammar</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:a</span>=<span class="hl-value" style="color: #993300">"http://relaxng.org/ns/compatibility/annotations/1.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://relaxng.org/ns/structure/1.0"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><include</strong> <span class="hl-attribute" style="color: #F5844C">href</span>=<span class="hl-value" style="color: #993300">"its20.rng"</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"><define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-local.attributes"</span> <span class="hl-attribute" style="color: #F5844C">combine</span>=<span class="hl-value" style="color: #993300">"interleave"</span><strong class="hl-tag" style="color: #000096">></strong> @@ -3382,7 +3384,7 @@ <strong class="hl-tag" style="color: #000096"></choice></strong> <strong class="hl-tag" style="color: #000096"></start></strong> <strong class="hl-tag" style="color: #000096"></grammar></strong> -</pre></div><p>[Source file: <a href="schemas/its20-elements.rng">schemas/its20-elements.rng</a>]</p><p>(<a href="schemas/its20-elements.rnc">RELAX NG compact syntax version of schema</a>)</p></div></p></li><li><p><div class="exampleOuter"><div class="exampleHeader"><a name="its20-attributes.rng" id="its20-attributes.rng"></a>Example 98: RELAX NG schema for all ITS local attributes</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> +</pre></div><p>[Source file: <a href="schemas/its20-elements.rng">schemas/its20-elements.rng</a>]</p><p>(<a href="schemas/its20-elements.rnc">RELAX NG compact syntax version of schema</a>)</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="its20-attributes.rng" id="its20-attributes.rng"></a>Example 98: RELAX NG schema for all ITS local attributes</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> <strong class="hl-tag" style="color: #000096"><grammar</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://relaxng.org/ns/structure/1.0"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><include</strong> <span class="hl-attribute" style="color: #F5844C">href</span>=<span class="hl-value" style="color: #993300">"its20.rng"</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"><start></strong> @@ -3396,7 +3398,8 @@ <strong class="hl-tag" style="color: #000096"></group></strong> <strong class="hl-tag" style="color: #000096"></start></strong> <strong class="hl-tag" style="color: #000096"></grammar></strong> -</pre></div><p>[Source file: <a href="schemas/its20-attributes.rng">schemas/its20-attributes.rng</a>]</p><p>(<a href="schemas/its20-attributes.rnc">RELAX NG compact syntax version of schema</a>)</p></div></p></li></ul></li><li><p>All ITS elements and attributes referenced by previous two schemas are defined in +</pre></div><p>[Source file: <a href="schemas/its20-attributes.rng">schemas/its20-attributes.rng</a>]</p><p>(<a href="schemas/its20-attributes.rnc">RELAX NG compact syntax version of schema</a>)</p></div><p> + <em>3. Base RELAX NG schema for ITS</em>: All ITS elements and attributes referenced by previous two schemas are defined in the base RELAX NG schema for ITS. </p><div class="exampleOuter"><div class="exampleHeader"><a name="its20.rng" id="its20.rng"></a>Example 99: Base RELAX NG schema for ITS</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> <strong class="hl-tag" style="color: #000096"><grammar</strong> <span class="hl-attribute" style="color: #F5844C">ns</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:a</span>=<span class="hl-value" style="color: #993300">"http://relaxng.org/ns/compatibility/annotations/1.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:xlink</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xlink"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://relaxng.org/ns/structure/1.0"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2001/XMLSchema-datatypes"</span><strong lass="hl-tag" style="color: #000096">></strong> @@ -4956,7 +4959,8 @@ <strong class="hl-tag" style="color: #000096"></interleave></strong> <strong class="hl-tag" style="color: #000096"></define></strong> <strong class="hl-tag" style="color: #000096"></grammar></strong> -</pre></div><p>[Source file: <a href="schemas/its20.rng">schemas/its20.rng</a>]</p><p>(<a href="schemas/its20.rnc">RELAX NG compact syntax version of schema</a>)</p></div></li><li><p>All datatypes used in the base RELAX NG schema are defined the following schema. +</pre></div><p>[Source file: <a href="schemas/its20.rng">schemas/its20.rng</a>]</p><p>(<a href="schemas/its20.rnc">RELAX NG compact syntax version of schema</a>)</p></div><p> + <em>4. Data type definitions</em>: All datatypes used in the base RELAX NG schema are defined the following schema. </p><div class="exampleOuter"><div class="exampleHeader"><a name="its20-types.rng" id="its20-types.rng"></a>Example 100: RELAX NG schema with datatypes for ITS</div><div class="exampleInner"><pre><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> <strong class="hl-tag" style="color: #000096"><grammar</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:a</span>=<span class="hl-value" style="color: #993300">"http://relaxng.org/ns/compatibility/annotations/1.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://relaxng.org/ns/structure/1.0"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2001/XMLSchema-datatypes"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-version.type"</span><strong class="hl-tag" style="color: #000096">></strong> @@ -5271,7 +5275,7 @@ <strong class="hl-tag" style="color: #000096"><data</strong> <span class="hl-attribute" style="color: #F5844C">type</span>=<span class="hl-value" style="color: #993300">"string"</span> <span class="hl-attribute" style="color: #F5844C">datatypeLibrary</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"></define></strong> <strong class="hl-tag" style="color: #000096"></grammar></strong> -</pre></div><p>[Source file: <a href="schemas/its20-types.rng">schemas/its20-types.rng</a>]</p><p>(<a href="schemas/its20-types.rnc">RELAX NG compact syntax version of schema</a>)</p></div></li></ul><span class="editor-note">[Ed. note: W3C XML Schema will be provided later.]</span></div><div class="div1"> +</pre></div><p>[Source file: <a href="schemas/its20-types.rng">schemas/its20-types.rng</a>]</p><p>(<a href="schemas/its20-types.rnc">RELAX NG compact syntax version of schema</a>)</p></div><span class="editor-note">[Ed. note: W3C XML Schema will be provided later.]</span></div><div class="div1"> <h2><a href="#contents"><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="informative-references" id="informative-references"></a>E References (Non-Normative)</h2><dl><dt class="label"><a name="bidiarticle" id="bidiarticle"/>Bidi Article</dt><dd>Richard Ishida. <a href="http://www.w3.org/International/articles/inline-bidi-markup/"><cite>What you need to know about the bidi algorithm and inline markup</cite></a>. Article of the <a href="http://www.w3.org/International/">W3C Internationalization
Received on Friday, 30 November 2012 10:30:31 UTC