- From: Arle Lommel via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 17 Aug 2012 08:11:06 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory hutz:/tmp/cvs-serv30089 Modified Files: its20.html its20.odd Log Message: Fixed some typos and removed not in preserveSpace. Markup declaration may be complete (someone needs to check) Index: its20.odd =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v retrieving revision 1.109 retrieving revision 1.110 diff -u -d -r1.109 -r1.110 --- its20.odd 17 Aug 2012 08:06:52 -0000 1.109 +++ its20.odd 17 Aug 2012 08:11:04 -0000 1.110 @@ -3832,8 +3832,6 @@ should be handled in content. The possible values for the Preserve Space data category are "default" and "preserve" and carry the same meaning as the corresponding values of the xml:space attribute. The default value is "default".</p> - <note><p>The declarations section needs to be reviewed by someone with more experience here than I - have.</p></note> </div> <div xml:id="preservespace-implementation"> <head>Implementation</head> @@ -3869,7 +3867,7 @@ <div xml:id="preservespace-markup"> <head>Markup Declarations for Preserve Space</head> <specGrp xml:id="spec-its-preservespace"> - <elementSpec ident="prserveSpaceRule" ns="http://www.w3.org/2005/11/its"> + <elementSpec ident="preserveSpaceRule" ns="http://www.w3.org/2005/11/its"> <desc>Rule about the <ref target="#preservespace">Preserve Space</ref> data category.</desc> <classes> Index: its20.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v retrieving revision 1.110 retrieving revision 1.111 diff -u -d -r1.110 -r1.111 --- its20.html 17 Aug 2012 08:06:52 -0000 1.110 +++ its20.html 17 Aug 2012 08:11:04 -0000 1.111 @@ -2043,10 +2043,9 @@ <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="preservespace-definition" id="preservespace-definition" shape="rect"/>6.17.1 Definition</h4><p>The <a href="preservespace" shape="rect">Preserve Space</a> data category indicates how whitespace should be handled in content. The possible values for the Preserve Space data category are "default" and "preserve" and carry the same meaning as the corresponding values of the - xml:space attribute. The default value is "default".</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The declarations section needs to be reviewed by someone with more experience here than I - have.</p></div></div><div class="div3"> + xml:space attribute. The default value is "default".</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="preservespace-implementation" id="preservespace-implementation" shape="rect"/>6.17.2 Implementation</h4><p>The <a href="preservespace" shape="rect">Preserve Space</a> data category can be expressed with - global rules, or locally using the <code>xml:space</code> attribute.</p><p>GLOBAL: The <code>preserveSpaceRule</code> 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="#prserveSpaceRule.attributes" shape="rect">space</a> attribute with the value "default" or "preserve".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-perservespace-global-1" id="EX-perservespace-global-1" shape="rect"/>Example 61: The <a href="preservespace" shape="rect">Preserve Space</a> data category expressed + global rules, or locally using the <code>xml:space</code> attribute.</p><p>GLOBAL: The <a class="itsmarkup" href="#preserveSpaceRule" shape="rect">preserveSpaceRule</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="#preserveSpaceRule.attributes" shape="rect">space</a> attribute with the value "default" or "preserve".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-perservespace-global-1" id="EX-perservespace-global-1" shape="rect"/>Example 61: The <a href="preservespace" shape="rect">Preserve Space</a> data category expressed globally</div><p>The preserveSpaceRule element specifies that whitespace in all verse elements must be treated literally.</p><div class="exampleInner"><pre xml:space="preserve"> <book @@ -2076,12 +2075,12 @@ And the mome raths outgrabe. </verse> </book></pre></div><p>[Source file: <a href="examples/xml/EX-preservespace-local-1.xml" shape="rect">examples/xml/EX-preservespace-local-1.xml</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="preservespace-markup" id="preservespace-markup" shape="rect"/>6.17.3 Markup Declarations for Preserve Space</h4><dl><dt class="label">prserveSpaceRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="prserveSpaceRule" id="prserveSpaceRule" shape="rect"/>[123] </td><td rowspan="1" colspan="1"><code>prserveSpaceRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> - element its:prserveSpaceRule +<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="preservespace-markup" id="preservespace-markup" shape="rect"/>6.17.3 Markup Declarations for Preserve Space</h4><dl><dt class="label">preserveSpaceRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="preserveSpaceRule" id="preserveSpaceRule" shape="rect"/>[123] </td><td rowspan="1" colspan="1"><code>preserveSpaceRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + element its:preserveSpaceRule { - prserveSpaceRule.content, - <a href="#prserveSpaceRule.attributes" shape="rect">prserveSpaceRule.attributes</a> - }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="prserveSpaceRule.content" id="prserveSpaceRule.content" shape="rect"/>[124] </td><td rowspan="1" colspan="1"><code>prserveSpaceRule.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="prserveSpaceRule.attributes" id="prserveSpaceRule.attributes" shape="rect"/>[125] </td><td rowspan="1" colspan="1"><code>prserveSpaceRule.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + preserveSpaceRule.content, + <a href="#preserveSpaceRule.attributes" shape="rect">preserveSpaceRule.attributes</a> + }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="preserveSpaceRule.content" id="preserveSpaceRule.content" shape="rect"/>[124] </td><td rowspan="1" colspan="1"><code>preserveSpaceRule.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="preserveSpaceRule.attributes" id="preserveSpaceRule.attributes" shape="rect"/>[125] </td><td rowspan="1" colspan="1"><code>preserveSpaceRule.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 space { "default" | "yes" }</code></td></tr></tbody></table></dd></dl></div></div></div></div><div class="back"><div class="div1"> @@ -2348,7 +2347,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"/>E 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="d3e7388" id="d3e7388" shape="rect"/>Example 63: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"> + constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e7385" id="d3e7385" shape="rect"/>Example 63: 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. @@ -2415,7 +2414,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="d3e7410" id="d3e7410" shape="rect"/>Example 64: 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="d3e7407" id="d3e7407" shape="rect"/>Example 64: 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 Friday, 17 August 2012 08:11:08 UTC