- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 04 Oct 2012 16:25:41 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory hutz:/tmp/cvs-serv23987 Modified Files: its20.html its20.odd Log Message: Fixed domain example for html, see http://lists.w3.org/Archives/Public/public-multilingualweb-lt/2012Sep/0158.html Index: its20.odd =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v retrieving revision 1.168 retrieving revision 1.169 diff -u -d -r1.168 -r1.169 --- its20.odd 4 Oct 2012 16:02:19 -0000 1.168 +++ its20.odd 4 Oct 2012 16:25:39 -0000 1.169 @@ -4010,7 +4010,7 @@ <p>The <gi>domainRule</gi> 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 <att>domainPointer</att> + value <code>keywords</code>. The <att>domainPointer</att> attribute points to that <code>meta</code> element.</p> <egXML xmlns="http://www.tei-c.org/ns/Examples" target="examples/xml/EX-domain-1.xml"/> @@ -4032,7 +4032,7 @@ <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> + <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 Index: its20.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v retrieving revision 1.171 retrieving revision 1.172 diff -u -d -r1.171 -r1.172 --- its20.html 4 Oct 2012 16:02:19 -0000 1.171 +++ its20.html 4 Oct 2012 16:25:39 -0000 1.172 @@ -2159,11 +2159,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" shape="rect"/>Example 49: The <a class="itsmarkup" href="#domainRule" shape="rect">domainRule</a> element</div><p>The <a class="itsmarkup" href="#domainRule" shape="rect">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" shape="rect">domainPointer</a> + value <code>keywords</code>. The <a class="itsmarkup" href="#domainRule.attributes" shape="rect">domainPointer</a> attribute points to that <code>meta</code> element.</p><div class="exampleInner"><pre xml:space="preserve"> <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" shape="rect">examples/xml/EX-domain-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-domain-2" id="EX-domain-2" shape="rect"/>Example 50: The <a class="itsmarkup" href="#domainRule" shape="rect">domainRule</a> element</div><p>The <a class="itsmarkup" href="#domainRule" shape="rect">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" shape="rect">domainPointer</a> attribute points to @@ -2174,12 +2174,12 @@ machine translation system.</p><div class="exampleInner"><pre xml:space="preserve"> <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" shape="rect">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> 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 @@ -4348,7 +4348,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" shape="rect">[Schematron]</a> document allows for - validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11120" id="d3e11120" shape="rect"/>Example 94: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"> + validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11123" id="d3e11123" shape="rect"/>Example 94: 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. @@ -4416,7 +4416,7 @@ </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="d3e11142" id="d3e11142" shape="rect"/>Example 95: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><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" shape="rect"/>Example 95: 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
Received on Thursday, 4 October 2012 16:25:46 UTC