- From: Arle Lommel via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 17 Aug 2012 09:20:31 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory hutz:/tmp/cvs-serv13907
Modified Files:
its20.html its20.odd
Log Message:
added note requested by Yves about preserveSpace not applying to HTML5 documents
Index: its20.odd
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- its20.odd 17 Aug 2012 08:11:04 -0000 1.110
+++ its20.odd 17 Aug 2012 09:20:28 -0000 1.111
@@ -3837,6 +3837,9 @@
<head>Implementation</head>
<p>The <ref target="preservespace">Preserve Space</ref> data category can be expressed with
global rules, or locally using the <att>xml:space</att> attribute.</p>
+ <note><p>The <ref target="preservespace">Preserve Space</ref> data category is not applicable to
+ HTML5 documents as space preservation has no effect in documents posted as
+ text/html.</p></note>
<p>GLOBAL: The <gi>preserveSpaceRule</gi> element contains the following:</p>
<list type="unordered">
@@ -3847,19 +3850,20 @@
<exemplum xml:id="EX-perservespace-global-1">
<head>The <ref target="preservespace">Preserve Space</ref> data category expressed
globally</head>
- <p>The preserveSpaceRule element specifies that whitespace in all
- verse elements must be treated literally.</p>
+ <p>The preserveSpaceRule element specifies that whitespace in all verse elements must be
+ treated literally.</p>
<egXML xmlns="http://www.tei-c.org/ns/Examples"
target="examples/xml/EX-preservespace-global-1.xml" />
</exemplum>
-
+
<p>LOCAL: The <att>xml:space</att> attribute, as defined in section 2.10 of <ptr
- target="#xml10spec" type="bibref" />, maps exactly to the Preserve Space data category.</p>
+ target="#xml10spec" type="bibref" />, maps exactly to the Preserve Space data
+ category.</p>
<exemplum xml:id="EX-perservespace-local-1">
<head>The <ref target="preservespace">Preserve Space</ref> data category expressed
locally</head>
- <p>The standard <att>xml:space</att> attribute specifies that the whitespace
- in the verse element must be treated literally.</p>
+ <p>The standard <att>xml:space</att> attribute specifies that the whitespace in the verse
+ element must be treated literally.</p>
<egXML xmlns="http://www.tei-c.org/ns/Examples"
target="examples/xml/EX-preservespace-local-1.xml" />
</exemplum>
Index: its20.html
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- its20.html 17 Aug 2012 08:11:04 -0000 1.111
+++ its20.html 17 Aug 2012 09:20:28 -0000 1.112
@@ -2045,9 +2045,11 @@
"default" and "preserve" and carry the same meaning as the corresponding values of the
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 <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">
+ global rules, or locally using the <code>xml:space</code> attribute.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The <a href="preservespace" shape="rect">Preserve Space</a> data category is not applicable to
+ HTML5 documents as space preservation has no effect in documents posted as
+ text/html.</p></div><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
xmlns:its="http://www.w3.org/2005/11/its" >
<info>
@@ -2062,9 +2064,10 @@
All mimsy were the borogoves,
And the mome raths outgrabe.
</verse>
-</book></pre></div><p>[Source file: <a href="examples/xml/EX-preservespace-global-1.xml" shape="rect">examples/xml/EX-preservespace-global-1.xml</a>]</p></div><p>LOCAL: The <code>xml:space</code> attribute, as defined in section 2.10 of <a title="Extensible Markup Language (XML)
								1.0 (Fourth Edition)" href="#xml10spec" shape="rect">[XML 1.0]</a>, maps exactly to the Preserve Space data category.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-perservespace-local-1" id="EX-perservespace-local-1" shape="rect"/>Example 62: The <a href="preservespace" shape="rect">Preserve Space</a> data category expressed
- locally</div><p>The standard <code>xml:space</code> attribute specifies that the whitespace
- in the verse element must be treated literally.</p><div class="exampleInner"><pre xml:space="preserve">
+</book></pre></div><p>[Source file: <a href="examples/xml/EX-preservespace-global-1.xml" shape="rect">examples/xml/EX-preservespace-global-1.xml</a>]</p></div><p>LOCAL: The <code>xml:space</code> attribute, as defined in section 2.10 of <a title="Extensible Markup Language (XML)
								1.0 (Fourth Edition)" href="#xml10spec" shape="rect">[XML 1.0]</a>, maps exactly to the Preserve Space data
+ category.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-perservespace-local-1" id="EX-perservespace-local-1" shape="rect"/>Example 62: The <a href="preservespace" shape="rect">Preserve Space</a> data category expressed
+ locally</div><p>The standard <code>xml:space</code> attribute specifies that the whitespace in the verse
+ element must be treated literally.</p><div class="exampleInner"><pre xml:space="preserve">
<book
xmlns:its="http://www.w3.org/2005/11/its"
its:version="2.0">
@@ -2347,7 +2350,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="d3e7385" id="d3e7385" 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="d3e7391" id="d3e7391" 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.
@@ -2414,7 +2417,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="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
+ attributes of host language are ignored during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e7413" id="d3e7413" 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 09:21:16 UTC