- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 04 Oct 2012 16:25:42 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version In directory hutz:/tmp/cvs-serv23987/TR-version Modified Files: Overview.html Log Message: Fixed domain example for html, see http://lists.w3.org/Archives/Public/public-multilingualweb-lt/2012Sep/0158.html Index: Overview.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version/Overview.html,v retrieving revision 1.52 retrieving revision 1.53 diff -u -d -r1.52 -r1.53 --- Overview.html 4 Oct 2012 12:28:39 -0000 1.52 +++ Overview.html 4 Oct 2012 16:25:40 -0000 1.53 @@ -178,7 +178,7 @@ </div> <div class="toc2">6.22 <a href="#storagesize">Storage Size</a><div class="toc3">6.22.1 <a href="#storagesize-definition">Definition</a></div> <div class="toc3">6.22.2 <a href="#storagesize-implementation">Implementation</a></div> -<div class="toc3">6.22.3 <a href="#storagesize-markup">Markup Declarations for Allowed Characters</a></div> +<div class="toc3">6.22.3 <a href="#storagesize-markup">Markup Declarations for Storage Size</a></div> </div> </div> </div> @@ -2199,11 +2199,11 @@ mapping, they are regarded as ordinary string values.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-domain-1" id="EX-domain-1"></a>Example 49: The <a class="itsmarkup" href="#domainRule">domainRule</a> element</div><p>The <a class="itsmarkup" href="#domainRule">domainRule</a> element expresses that the content of the HTML <code>body</code> element is in the domain expressed by the HTML <code>meta</code> element with the <code>name</code> attribute, - value <code>DC.Subject</code>. The <a class="itsmarkup" href="#domainRule.attributes">domainPointer</a> + value <code>keywords</code>. The <a class="itsmarkup" href="#domainRule.attributes">domainPointer</a> attribute points to that <code>meta</code> element.</p><div class="exampleInner"><pre> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> - <its:domainRule selector="/html/body" domainPointer="/html/head/meta[@name='DC.subject']/@content"/> + <its:domainRule selector="/html/body" domainPointer="/html/head/meta[@name='keywords']/@content"/> </its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-domain-1.xml">examples/xml/EX-domain-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-domain-2" id="EX-domain-2"></a>Example 50: The <a class="itsmarkup" href="#domainRule">domainRule</a> element</div><p>The <a class="itsmarkup" href="#domainRule">domainRule</a> element expresses that the content of the HTML <code>body</code> element is in the domain expressed by associated values. The <a class="itsmarkup" href="#domainRule.attributes">domainPointer</a> attribute points to @@ -2214,12 +2214,12 @@ machine translation system.</p><div class="exampleInner"><pre> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> - <its:domainRule selector="/html/body" domainPointer="/html/head/meta[@name='DC.subject']/@content" + <its:domainRule selector="/html/body" domainPointer="/html/head/meta[@name='dcterms.subject']/@content" domainMapping="automotive auto, medical medicine, 'criminal law' law, 'property law' law"/> </its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-domain-2.xml">examples/xml/EX-domain-2.xml</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>In source content, if available, it is recommended to use dublin core subject as the metadata term for domain information. In HTML, this can be achieved via a <code>meta</code> element with the - <code>name="DC.subject"</code> attribute.</p><p>In the area of machine translation (e.g. machine translation systems + <code>name="keywords"</code> attribute or <code>name="dcterms.subject"</code> attribute.</p><p>In the area of machine translation (e.g. machine translation systems or systems harvesting content for machine translation training), there is no agreed upon set of value sets for domain. Nevertheless it is recommended to use a small set of values both in source @@ -3825,7 +3825,7 @@ <p contenteditable=true id=139 its-storage-size=25>Dominican Replubic</p> </body> </html></pre></div><p>[Source file: <a href="examples/html5/EX-storageSize-html5-local-1.html">examples/html5/EX-storageSize-html5-local-1.html</a>]</p></div></div><div class="div3"> -<h4><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="storagesize-markup" id="storagesize-markup"></a>6.22.3 Markup Declarations for Allowed Characters</h4><dl><dt class="label">storageSizeRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="storageSizeRule" id="storageSizeRule"/>[190] </td><td><code>storageSizeRule</code></td><td> ::= </td><td><code> +<h4><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="storagesize-markup" id="storagesize-markup"></a>6.22.3 Markup Declarations for Storage Size</h4><dl><dt class="label">storageSizeRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="storageSizeRule" id="storageSizeRule"/>[190] </td><td><code>storageSizeRule</code></td><td> ::= </td><td><code> element its:storageSizeRule { storageSizeRule.content, @@ -4388,7 +4388,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
							-- Schematron" href="#schematron">[Schematron]</a> document allows for - validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11120" id="d3e11120"></a>Example 94: Testing constraints in ITS markup</div><div class="exampleInner"><pre> + validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11123" id="d3e11123"></a>Example 94: Testing constraints in ITS markup</div><div class="exampleInner"><pre> <sch:schema xmlns:sch="http://www.ascc.net/xml/schematron" > <!-- Schematron document to test constraints for global and local ITS markup. @@ -4456,7 +4456,7 @@ </p><p>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="d3e11142" id="d3e11142"></a>Example 95: NVDL schema for ITS</div><div class="exampleInner"><pre><rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"> + during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11145" id="d3e11145"></a>Example 95: NVDL schema for ITS</div><div class="exampleInner"><pre><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
Received on Thursday, 4 October 2012 16:25:49 UTC