- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 20 Sep 2012 09:12:25 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version In directory hutz:/tmp/cvs-serv12915/TR-version Modified Files: Overview.html Log Message: Updated syntax of HTML5 examples. Added links to various XML/HTML5 examples from data category overview table to test suite. Another small conformance clause fix Index: Overview.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version/Overview.html,v retrieving revision 1.50 retrieving revision 1.51 diff -u -d -r1.50 -r1.51 --- Overview.html 20 Sep 2012 04:28:09 -0000 1.50 +++ Overview.html 20 Sep 2012 09:12:23 -0000 1.51 @@ -906,7 +906,7 @@ <em>2-3:</em> If an application claims to process ITS markup implementing the conformance clauses 2-1, 2-2 and 2-3, it <a href="#rfc-keywords">MUST</a> process that markup with HTML5 or with XML documents.</p></li></ul><p id="its-processing-conformance-claims">Statements related to this conformance type <a href="#rfc-keywords">MUST</a> list all <a href="#def-datacat">data categories</a> they implement, and for each <a href="#def-datacat">data category</a> which type of selection - they support, and whether they support processing of XML and / or HTML5.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The above conformance clauses are directly reflected in the <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html">ITS 2.0 test suite</a>. All tests specify which data category is processed (clause 2-1); they are relevant for (clause 2-1-1) global or local selection, or both; they require the processing of defaults and precedence of selections (clauses 2-1-2 and 2-1-3); for each data category there are tests with linked rules (2-2); and all types of tests are given for XML and HTML5 content (clause 2-3). Implementors are encouraged to organize their documentation in a similar way, so that users of ITS 2.0 easily can understand the processing capabilities availably.</p></div><span class="editor-note">[Ed. note: Need to update link to test suite once the test suite is moved.]</span></div></div><div class="div1"> + they support, and whether they support processing of XML and / or HTML5.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The above conformance clauses are directly reflected in the <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#">ITS 2.0 test suite</a>. All tests specify which data category is processed (clause 2-1); they are relevant for (clause 2-1-1) global or local selection, or both; they require the processing of defaults and precedence of selections (clauses 2-1-2 and 2-1-3); for each data category there are tests with linked rules (2-2); and all types of tests are given for XML and HTML5 content (clause 2-3). Implementors are encouraged to organize their documentation in a similar way, so that users of ITS 2.0 easily can understand the processing capabilities availably.</p></div><span class="editor-note">[Ed. note: Need to update link to test suite once the test suite is moved.]</span></div></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="its-processing" id="its-processing"></a>5 Processing of ITS information</h2><p> <em>This section is normative.</em> </p><div class="div2"> @@ -1390,67 +1390,122 @@ element nested in <code>source</code> is not available in a specific <code>target</code> element. Nevertheless, an application is free to use the complete content of <code>source</code>, including - <code>span</code>, and e.g. present it to a translator.</p></li></ul></div><table border="1" width="100%"><thead><tr><td>Data category</td><td>Local Usage</td><td>Global, rule-based selection</td><td>Global adding of information</td><td>Global pointing to existing information</td><td>Default Values</td><td>Inheritance for elements nodes</td><td>HTML5 examples</td></tr></thead><tbody><tr><td> + <code>span</code>, and e.g. present it to a translator.</p></li></ul></div><a name="datacategories-overview" id="datacategories-overview"></a><table border="1" width="100%"><thead><tr><td>Data category</td><td>Local Usage</td><td>Global, rule-based selection</td><td>Global adding of information</td><td>Global pointing to existing information</td><td>Default Values</td><td>Inheritance for elements nodes</td><td>XML examples</td><td>HTML5 examples</td></tr></thead><tbody><tr><td> <a href="#trans-datacat">Translate</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td> <code>translate="yes"</code> for elements, and <code>translate="no"</code> for attributes</td><td>Textual content of element, <em>including</em> content of - child elements, but <em>excluding</em> attributes</td><td>tbd</td></tr><tr><td> + child elements, but <em>excluding</em> attributes</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#translate-local-host">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#translate-global-linked">global</a> + </td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#translate-in-host-element">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#translate-global-linked2">global</a> + </td></tr><tr><td> <a href="#locNote-datacat">Localization Note</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> content of - child elements, but <em>excluding</em> attributes</td><td>tbd</td></tr><tr><td> + child elements, but <em>excluding</em> attributes</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#locnote-local-note">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#locnote-global-note">global</a> + </td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#locnote-local-note2">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#locnote-global-note2">global</a> + </td></tr><tr><td> <a href="#terminology">Terminology</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td> <code>term="no"</code> - </td><td>None</td><td>tbd</td></tr><tr><td> + </td><td>None</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#term-local-host">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#term-global-inforef">global</a> + </td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#term-local-host2">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#term-global-inforef2">global</a> + </td></tr><tr><td> <a href="#directionality">Directionality</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td> <code>dir="ltr"</code> </td><td>Textual content of element, <em>including</em> attributes and - child elements</td><td>tbd</td></tr><tr><td> + child elements</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#dir-local-host2">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#dir-global-embedded">global</a> + </td><td>tbd</td></tr><tr><td> <a href="#ruby-annotation">Ruby</a> - </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>None</td><td>tbd</td></tr><tr><td> + </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>None</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#ruby-local">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#ruby-global-embedded">global</a> + </td><td>tbd</td></tr><tr><td> <a href="#language-information">Language Information</a> </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> attributes and - child elements</td><td>tbd</td></tr><tr><td> + child elements</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#lang-global-embedded">global</a> + </td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#lang-global-linked">global</a> + </td></tr><tr><td> <a href="#elements-within-text">Elements Within Text</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td> <code>withinText="no"</code> - </td><td>None</td><td>tbd</td></tr><tr><td> + </td><td>None</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#withintext-local-in-host-element">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#withintext-global-embedded">global</a> + </td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#withintext-local-in-host-element2">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#withintext-global-linked2">global</a> + </td></tr><tr><td> <a href="#domain">Domain</a> </td><td>No</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> attributes and - child elements</td><td>tbd</td></tr><tr><td> + child elements</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#domain-global-embedded-domainPointer">global</a> + </td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#domain-global-domainPointer2">global</a> + </td></tr><tr><td> <a href="#Disambiguation">Disambiguation</a> - </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>None</td><td>tbd</td></tr><tr><td> + </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>None</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#disamb-local-in-host-element">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#disamb-global-embedded-entityTypeRef">global</a> + </td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#disamb-local-in-host">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#disamb-global-linked2">global</a> + </td></tr><tr><td> <a href="#LocaleFilter">Locale Filter</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td> <code>localeFilterList="*"</code> </td><td>Textual content of element, <em>including</em> attributes and - child elements</td><td>tbd</td></tr><tr><td> + child elements</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#localefilter-local-in-host-element">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#localefilter-global-embedded">global</a> + </td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#localefilter-local-in-host-element2">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#localefilter-global-linked2">global</a> + </td></tr><tr><td> <a href="#externalresource">External Resource</a> - </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td>tbd</td></tr><tr><td> + </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#exresource-global-embedded-linked">global</a> + </td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#exresource-global-linked2">global</a> + </td></tr><tr><td> <a href="#target-pointer">Target Pointer</a> - </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td>tbd</td></tr><tr><td> + </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#targetpointer-global-embedded">global</a> + </td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#targetpointer-global-linked2">global</a> + </td></tr><tr><td> <a href="#idvalue">Id Value</a> - </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td>tbd</td></tr><tr><td> + </td><td>No</td><td>Yes</td><td>No</td><td>Yes</td><td>None</td><td>None</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#idvalue-global-embedded">global</a> + </td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#idvalue-global-linked2">global</a> + </td></tr><tr><td> <a href="#preservespace">Preserve Space</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td> <code>default</code> </td><td>Textual content of element, <em>including</em> attributes and - child elements</td><td>tbd</td></tr><tr><td> + child elements</td><td> + <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#preservespace-local-in-host-element">local</a>, <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#preservespace-global-embedded">global</a> + </td><td> + <a href="#preserve-space-and-html5">n/a</a> + </td></tr><tr><td> <a href="#lqissue">Localization Quality Issue</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> child elements, - but excluding attributes</td><td>tbd</td></tr><tr><td> + but excluding attributes</td><td>tbd</td><td>tbd</td></tr><tr><td> <a href="#lqprecis">Localization Quality Précis</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> child elements, - but excluding attributes</td><td>tbd</td></tr><tr><td> + but excluding attributes</td><td>tbd</td><td>tbd</td></tr><tr><td> + <a href="#mtconfidence">MT Confidence</a> + </td><td>Yes</td><td>Yes</td><td>Yes</td><td>No</td><td>None</td><td>Textual content of element, <em>including</em> child elements, + but excluding attributes</td><td>tbd</td><td>tbd</td></tr><tr><td> <a href="#allowedchars">Allowed Characters</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td>None</td><td>Textual content of element, <em>including</em> child elements, - but excluding attributes</td><td>tbd</td></tr><tr><td> + but excluding attributes</td><td>tbd</td><td>tbd</td></tr><tr><td> <a href="#storagesize">Storage Size</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td> <code>its:storageEncoding="UTF-8"</code> - </td><td>None</td><td>tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3573" id="d3e3573"></a>Example 24: Defaults, inheritance and overriding behavior of data + </td><td>None</td><td>tbd</td><td>tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3759" id="d3e3759"></a>Example 24: Defaults, inheritance and overriding behavior of data categories</div><p>In this example, the content of all the <code>data</code> elements is translatable because the default for the <a href="#trans-datacat">Translate</a> data category in elements is "yes". The content of <code>revision</code> and <a class="itsmarkup" href="#locNote">locNote</a> is not translatable @@ -1539,7 +1594,7 @@ </head> <body> <p>The <span translate=no>World Wide Web Consortium</span> is - making the World Web Web worldwide!</p> + making the World Web Web worldwide!</p> </body> </html></pre></div><p>[Source file: <a href="examples/html5/EX-translate-html5-local-1.html">examples/html5/EX-translate-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="translatability-markup" id="translatability-markup"></a>6.2.3 Markup Declarations for Translate</h4><span class="editor-note">[Ed. note: The following note may need some finessing]</span><div class="note"><p class="prefix"><b>Note:</b></p><p>Note: <code>translate</code> has been adopted as a native HTML5 @@ -1646,7 +1701,7 @@ <body> <msg id="NotFound">Cannot find {0} on {1}.</msg> </body> -</myRes></pre></div><p>[Source file: <a href="examples/xml/EX-locNoteRef-attribute-1.xml">examples/xml/EX-locNoteRef-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4064" id="d3e4064"></a>Example 31: The <a class="itsmarkup" href="#locNoteRule.attributes">locNoteRefPointer</a> attribute</div><p>The <a class="itsmarkup" href="#locNoteRule.attributes">locNoteRefPointer</a> attribute contains a <a href="#selectors">relative selector</a> pointing to a node +</myRes></pre></div><p>[Source file: <a href="examples/xml/EX-locNoteRef-attribute-1.xml">examples/xml/EX-locNoteRef-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4250" id="d3e4250"></a>Example 31: The <a class="itsmarkup" href="#locNoteRule.attributes">locNoteRefPointer</a> attribute</div><p>The <a class="itsmarkup" href="#locNoteRule.attributes">locNoteRefPointer</a> attribute contains a <a href="#selectors">relative selector</a> pointing to a node that holds the URI referring to the location of the note.</p><div class="exampleInner"><pre> <dataFile xmlns:its="http://www.w3.org/2005/11/its" > @@ -1670,7 +1725,7 @@ contains a URI referring to the location of the localization note.</p></li></ul></li><li><p>An optional <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteType">locNoteType</a> attribute with the value "description" or "alert". If the <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteType">locNoteType</a> attribute is not present, the - type of localization note will be assumed to be"description". </p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4126" id="d3e4126"></a>Example 32: The <a href="#locNote-datacat">Localization Note</a> data + type of localization note will be assumed to be"description". </p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4312" id="d3e4312"></a>Example 32: The <a href="#locNote-datacat">Localization Note</a> data category expressed locally</div><div class="exampleInner"><pre> <msgList xmlns:its="http://www.w3.org/2005/11/its" xml:space="preserve" @@ -1684,7 +1739,7 @@ its:locNote="%1\$s is the original text's date in the format YYYY-MM-DD HH:MM always in GMT"> <value>Translated from English content dated <span id="version-info">%1\$s</span> GMT.</value> </data> -</msgList></pre></div><p>[Source file: <a href="examples/xml/EX-locNote-selector-2.xml">examples/xml/EX-locNote-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4139" id="d3e4139"></a>Example 33: The <a href="#locNote-datacat">Localization Note</a> data +</msgList></pre></div><p>[Source file: <a href="examples/xml/EX-locNote-selector-2.xml">examples/xml/EX-locNote-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4325" id="d3e4325"></a>Example 33: The <a href="#locNote-datacat">Localization Note</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre><!DOCTYPE html>
 <html lang=en> <head> @@ -1744,7 +1799,7 @@ term.</p></li><li><p>A <a class="itsmarkup" href="#termRule.attributes">termInfoRefPointer</a> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node that holds the URI referring to the - location of the terminology information.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4378" id="d3e4378"></a>Example 34: Usage of the <a class="itsmarkup" href="#termRule.attributes">termInfoPointer</a> attribute</div><div class="exampleInner"><pre> + location of the terminology information.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4564" id="d3e4564"></a>Example 34: Usage of the <a class="itsmarkup" href="#termRule.attributes">termInfoPointer</a> attribute</div><div class="exampleInner"><pre> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1755,7 +1810,7 @@ structure, between the implied author or some other addresser, and the fiction.</gloss> </p> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-1.xml">examples/xml/EX-terms-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4391" id="d3e4391"></a>Example 35: Usage of the <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef">termInfoRef</a> attribute</div><div class="exampleInner"><pre> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-1.xml">examples/xml/EX-terms-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4577" id="d3e4577"></a>Example 35: Usage of the <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef">termInfoRef</a> attribute</div><div class="exampleInner"><pre> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1766,7 +1821,7 @@ structure, between the implied author or some other addresser, and the fiction.</gloss> </p> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-2.xml">examples/xml/EX-terms-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4404" id="d3e4404"></a>Example 36: Usage of the <a class="itsmarkup" href="#termRule.attributes">termInfoRefPointer</a> attribute</div><div class="exampleInner"><pre> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-2.xml">examples/xml/EX-terms-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4590" id="d3e4590"></a>Example 36: Usage of the <a class="itsmarkup" href="#termRule.attributes">termInfoRefPointer</a> attribute</div><div class="exampleInner"><pre> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1871,7 +1926,7 @@ available for the <a href="#directionality">Directionality</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.dir">dir</a> attribute with the value "ltr", "rtl", "lro" or - "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4752" id="d3e4752"></a>Example 41: The <a href="#directionality">Directionality</a> data + "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4938" id="d3e4938"></a>Example 41: The <a href="#directionality">Directionality</a> data category expressed locally</div><p>On the first <code>quote</code> element, the <code>its:dir="rtl"</code> attribute indicates a right-to-left content.</p><div class="exampleInner"><pre> <text @@ -1882,7 +1937,7 @@ its:dir="rtl"><span dir="rtl">نشاط التدويل، W3C</span></quote> means <quote>Internationalization Activity, W3C</quote>.</par> </body> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-3.xml">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4776" id="d3e4776"></a>Example 42: The <a href="#directionality">Directionality</a> data +</text></pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-3.xml">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4962" id="d3e4962"></a>Example 42: The <a href="#directionality">Directionality</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre><!DOCTYPE html>
 <html lang=en> <head> @@ -1891,7 +1946,7 @@ </head> <body> <p>In Arabic, the title <quote dir=rtl lang=ar>نشاط التدويل، W3C</quote> - means <quote>Internationalization Activity, W3C</quote>.</p> + means <quote>Internationalization Activity, W3C</quote>.</p> </body> </html></pre></div><p>[Source file: <a href="examples/html5/EX-dir-html5-local-1.html">examples/html5/EX-dir-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="directionality-markup" id="directionality-markup"></a>6.5.3 Markup Declarations for Directionality</h4><div class="note"><p class="prefix"><b>Note:</b></p><p>Note: <code>dir</code> is a native HTML5 data category and so does not @@ -2049,7 +2104,7 @@ within text.</p><p id="withintext-global">GLOBAL: The <a class="itsmarkup" href="#withinTextRule">withinTextRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector">selector</a> attribute. It contains an <a href="#selectors">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#att.local.no-ns.attribute.withinText">withinText</a> attribute with the value - "yes", "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e5460" id="d3e5460"></a>Example 46: Specifying elements within text with a <a class="itsmarkup" href="#withinTextRule">withinTextRule</a> + "yes", "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e5646" id="d3e5646"></a>Example 46: Specifying elements within text with a <a class="itsmarkup" href="#withinTextRule">withinTextRule</a> element</div><div class="exampleInner"><pre> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> @@ -2195,8 +2250,7 @@ levels. For instance, the level of lexical concepts disambiguates individual word surface forms, the level of ontology concepts disambiguates into deeper semantics, and the entity disambiguation - works on the level of concrete instances. For instance, the word - "<span class="quote">City</span>" in "<span class="quote">I am going to the City</span>" may + works on the level of concrete instances. For instance, the word"<span class="quote">City</span>" in "<span class="quote">I am going to the City</span>" may be disambiguated in one of the WordNet synsets that can be represented by "<span class="quote">city</span>", an RDF ontology concept of a City that could represent a subclass of a PopulatedPlace, or the @@ -2334,17 +2388,12 @@ </body> </html></pre></div><p>[Source file: <a href="examples/html5/EX-disambiguation-html5-rdfa.html">examples/html5/EX-disambiguation-html5-rdfa.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-disambiguation-html5-rdfa-companion-document" id="EX-disambiguation-html5-rdfa-companion-document"></a>Example 54: Local mixed usage of <a class="itsmarkup" href="#att.disambiguation.attribute.entityTypeSourceRef">entityTypeSourceRef</a>, <a class="itsmarkup" href="#disambiguationRule.attributes">entityTypeRef</a>, <a class="itsmarkup" href="#att.disambiguation.attribute.disambigSourceRef">disambigSourceRef</a>, - <a class="itsmarkup" href="#att.disambiguation.attribute.disambigIdentRef">disambigIdentRef</a> in HTML+RDFa Lite</div><p>Companion document, having the mapping data for <a href="#EX-disambiguation-html5-rdfa">Example 53</a>.</p><div class="exampleInner"><pre><!DOCTYPE html>
 - <html lang=en> - <head> - <meta charset=utf-8> - <title>Entity: Local Test</title> - </head> - <body prefix="its: http://www.w3.org/2005/11/its"> - <p> - <span property=name resource=http://dbpedia.org/resource/Dublin typeof=http:/nerd.eurecom.fr/ontology#Place>Dublin</span> is the capital of Ireland.</p> - </body> - </html></pre></div><p>[Source file: <a href="examples/html5/EX-disambiguation-html5-rdfa.html">examples/html5/EX-disambiguation-html5-rdfa.html</a>]</p></div></div><div class="div3"> + <a class="itsmarkup" href="#att.disambiguation.attribute.disambigIdentRef">disambigIdentRef</a> in HTML+RDFa Lite</div><p>Companion document, having the mapping data for <a href="#EX-disambiguation-html5-rdfa">Example 53</a>.</p><div class="exampleInner"><pre> +<its:rules + xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:disambiguationRule selector="//*[@typeof]" entityTypeRefPointer="@typeof"/> + <its:disambiguationRule selector="//*[@resource]" disambigIdentRefPointer="@resource"/> +</its:rules></pre></div><p>[Source file: <a href="examples/html5/EX-disambiguation-html5-rdfa.xml">examples/html5/EX-disambiguation-html5-rdfa.xml</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="Disambiguation-markup" id="Disambiguation-markup"></a>6.10.3 Markup Declarations for Disambiguation</h4><dl><dt class="label">disambiguationRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="disambiguationRule" id="disambiguationRule"/>[107] </td><td><code>disambiguationRule</code></td><td> ::= </td><td><code> element its:disambiguationRule { @@ -2713,7 +2762,7 @@ <code>xml:space</code> attribute. For elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, <em>including</em> child elements and - attributes.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The <a href="#preservespace">Preserve Space</a> data category + attributes.</p><div class="note"><p class="prefix"><b>Note:</b></p><p id="preserve-space-and-html5">The <a href="#preservespace">Preserve Space</a> data category is not applicable to HTML5 documents because <code>xml:space</code> (and by extension <a href="#preservespace">Preserve Space</a>) has no effect in documents parsed as text/html.</p></div><p id="preservespace-global">GLOBAL: The <a class="itsmarkup" href="#preserveSpaceRule">preserveSpaceRule</a> @@ -2870,18 +2919,18 @@ </doc></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-global-2.xml">examples/xml/EX-locQualityIssue-global-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-html5-global" id="EX-locQualityIssue-html5-global"></a>Example 69: Annotating an issue in HTML5 with <a class="itsmarkup" href="#locQualityIssueRule">locQualityIssueRule</a> element</div><p>The <a class="itsmarkup" href="#locQualityIssueRule">locQualityIssueRule</a> element resides in a separate file (<a href="#EX-locQualityIssueRule-html5-global">Example 70</a>) that associates the issue information with a selected span of - content in the HTML document.</p><div class="exampleInner"><pre> -<html lang=en> - <head> - <meta charset=utf-8> - <title>Example</title> - <link href=EX-locQualityIssueRule-html5-global.xml rel=its-rules> - </head> - <body> - <p> - <span id=q1>this</span> is an example.</p> - </body> -</html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-global.html">examples/html5/EX-locQualityIssue-html5-global.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssueRule-html5-global" id="EX-locQualityIssueRule-html5-global"></a>Example 70: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-locQualityIssue-html5-global">Example 69</a>:</p><div class="exampleInner"><pre> + content in the HTML document.</p><div class="exampleInner"><pre><!DOCTYPE html>
 + <html lang=en> + <head> + <meta charset=utf-8> + <title>Example</title> + <link href=EX-locQualityIssueRule-html5-global.xml rel=its-rules> + </head> + <body> + <p> + <span id=q1>this</span> is an example.</p> + </body> + </html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-global.html">examples/html5/EX-locQualityIssue-html5-global.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssueRule-html5-global" id="EX-locQualityIssueRule-html5-global"></a>Example 70: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-locQualityIssue-html5-global">Example 69</a>:</p><div class="exampleInner"><pre> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:locQualityIssueRule @@ -2938,40 +2987,41 @@ its:locQualityIssueComment="Sentence without capitalization" its:locQualityIssueSeverity="50">this</span> is an example</para> </doc></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityIssue-local-1.xml">examples/xml/EX-locQualityIssue-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-html5-local-1" id="EX-locQualityIssue-html5-local-1"></a>Example 72: Annotating an issue in HTML with local inline markup</div><p>In this example several spans of content are associated with a - quality issue.</p><div class="exampleInner"><pre> -<html lang=en> - <head> - <title>Telharmonium 1897</title> - <style type=text/css> - [its-loc-quality-issue-type]{ - background-color:yellow; - margin:2px; - } - [its-loc-quality-issue-severity = "100"]{ - border: 2px solid red; - } - </style> - </head> - <body> - <h1>Telharmonium (1897)</h1> - <p> - <span - its-loc-quality-issue-profile-ref=http://example.org/qaMovel/v1 - its-loc-quality-issue-type=inconsistent-entities - its-loc-quality-issue-comment="Should be Thomas Cahill." - its-loc-quality-issue-severity=100 - data-mytool-qacode=named_entity_not_found>Christian Bale</span>(1867–1934) conceived of an instrument that could transmit its sound - from a power plant for hundreds of miles to listeners over telegraph wiring. Beginning in - 1889 the sound quality of regular telephone concerts was very poor on account of the buzzing - generated by carbon-granule microphones. As a result Cahill decided to set a new standard in - perfection of sound <span - its-loc-quality-issue-profile-ref=grammar - its-loc-quality-issue-type=spelling - its-loc-quality-issue-severity=50 - its-loc-quality-issue-comment="should be "quality"">qulaity</span> with his instrument, a standard that would not only satisfy listeners but that - would overcome all the flaws of traditional instruments.</p> - </body> -</html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-local-1.html">examples/html5/EX-locQualityIssue-html5-local-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-local-2" id="EX-locQualityIssue-local-2"></a>Example 73: Annotating an issue in XML with local standoff markup</div><p>The following example shows a document using local standoff markup to + quality issue.</p><div class="exampleInner"><pre><!DOCTYPE html>
 + <html lang=en> + <head> + <meta charset=utf-8> + <title>Telharmonium 1897</title> + <style type=text/css> + [its-loc-quality-issue-type]{ + background-color:yellow; + margin:2px; + } + [its-loc-quality-issue-severity = "100"]{ + border: 2px solid red; + } + </style> + </head> + <body> + <h1>Telharmonium (1897)</h1> + <p> + <span + data-mytool-qacode=named_entity_not_found + its-loc-quality-issue-comment="Should be Thomas Cahill." + its-loc-quality-issue-profile-ref=http://example.org/qaMovel/v1 + its-loc-quality-issue-severity=100 + its-loc-quality-issue-type=inconsistent-entities>Christian Bale</span>(1867–1934) conceived of an instrument that could transmit its sound + from a power plant for hundreds of miles to listeners over telegraph wiring. Beginning in + 1889 the sound quality of regular telephone concerts was very poor on account of the buzzing + generated by carbon-granule microphones. As a result Cahill decided to set a new standard in + perfection of sound <span + its-loc-quality-issue-comment="should be 'quality'" + its-loc-quality-issue-profile-ref=grammar + its-loc-quality-issue-severity=50 + its-loc-quality-issue-type=spelling>qulaity</span> with his instrument, a standard that would not only satisfy listeners but that + would overcome all the flaws of traditional instruments.</p> + </body> + </html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-local-1.html">examples/html5/EX-locQualityIssue-html5-local-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityIssue-local-2" id="EX-locQualityIssue-local-2"></a>Example 73: Annotating an issue in XML with local standoff markup</div><p>The following example shows a document using local standoff markup to encode several issues. The <code>mrk</code> element delimits the content to markup and holds a <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssuesRef">locQualityIssuesRef</a> attribute that points to the <a class="itsmarkup" href="#locQualityIssues">locQualityIssues</a> element where @@ -3307,17 +3357,17 @@ </doc></pre></div><p>[Source file: <a href="examples/xml/EX-locQualityPrecis-global-2.xml">examples/xml/EX-locQualityPrecis-global-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecis-html5-global" id="EX-locQualityPrecis-html5-global"></a>Example 78: The <a href="#lqprecis">Localization Quality Précis</a> data category expressed globally in HTML</div><p>The following example shows how to use the <a class="itsmarkup" href="#locQualityPrecisRule">locQualityPrecisRule</a> element to specify the score, - threshold and profile for an HTML document.</p><div class="exampleInner"><pre> -<html lang=en> - <head> - <meta charset=utf-8> - <title>Example</title> - <link href=EX-locQualityPrecisRule-html5-global.xml rel=its-rules> - </head> - <body> - <p>This is an example.</p> - </body> -</html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityPrecis-html5-global.html">examples/html5/EX-locQualityPrecis-html5-global.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecisRule-html5-global" id="EX-locQualityPrecisRule-html5-global"></a>Example 79: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-locQualityPrecis-html5-global">Example 78</a>:</p><div class="exampleInner"><pre> + threshold and profile for an HTML document.</p><div class="exampleInner"><pre><!DOCTYPE html>
 + <html lang=en> + <head> + <meta charset=utf-8> + <title>Example</title> + <link href=EX-locQualityPrecisRule-html5-global.xml rel=its-rules> + </head> + <body> + <p>This is an example.</p> + </body> + </html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityPrecis-html5-global.html">examples/html5/EX-locQualityPrecis-html5-global.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locQualityPrecisRule-html5-global" id="EX-locQualityPrecisRule-html5-global"></a>Example 79: External rule document associated with an HTML5 document</div><p>This document is used in <a href="#EX-locQualityPrecis-html5-global">Example 78</a>:</p><div class="exampleInner"><pre> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:locQualityPrecisRule @@ -3356,23 +3406,23 @@ category expressed locally in HTML</div><p>The <a class="itsmarkup" href="#att.locqualityprecis.html5.attribute.its-loc-quality-precis-score">its-loc-quality-precis-score</a>, <a class="itsmarkup" href="#att.locqualityprecis.html5.attribute.its-loc-quality-precis-threshold">its-loc-quality-precis-threshold</a> and <a class="itsmarkup" href="#att.locqualityprecis.html5.attribute.its-loc-quality-precis-profile-ref">its-loc-quality-precis-profile-ref</a> are used to score - the quality of the document.</p><div class="exampleInner"><pre> -<html - lang=en - its-loc-quality-precis-score=100 - its-loc-quality-precis-threshold=95 - its-loc-quality-precis-profile-ref=http://example.org/qaModel/v13> - <head> - <title>Rikki-tikki-tavi</title> - </head> - <body> - <p>This is the story of the great war that Rikki-tikki-tavi fought single-handed, - through the bath-rooms of the big bungalow in Segowlee cantonment. Darzee, the - Tailorbird, helped him, and Chuchundra, the musk-rat, who never comes out into - the middle of the floor, but always creeps round by the wall, gave him advice, - but Rikki-tikki did the real fighting.</p> - </body> -</html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityPrecis-html5-local.html">examples/html5/EX-locQualityPrecis-html5-local.html</a>]</p></div></div><div class="div3"> + the quality of the document.</p><div class="exampleInner"><pre><!DOCTYPE html>
 + <html + its-loc-quality-precis-profile-ref=http://example.org/qaModel/v13 + its-loc-quality-precis-score=100 + its-loc-quality-precis-threshold=95 + lang=en> + <head> + <title>Rikki-tikki-tavi</title> + </head> + <body> + <p>This is the story of the great war that Rikki-tikki-tavi fought single-handed, + through the bath-rooms of the big bungalow in Segowlee cantonment. Darzee, the + Tailorbird, helped him, and Chuchundra, the musk-rat, who never comes out into + the middle of the floor, but always creeps round by the wall, gave him advice, + but Rikki-tikki did the real fighting.</p> + </body> + </html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityPrecis-html5-local.html">examples/html5/EX-locQualityPrecis-html5-local.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="lqprecis-markup" id="lqprecis-markup"></a>6.19.3 Markup Declarations for Localization Quality Issue</h4><dl><dt class="label">locQualityPrecisRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="locQualityPrecisRule" id="locQualityPrecisRule"/>[159] </td><td><code>locQualityPrecisRule</code></td><td> ::= </td><td><code> element its:locQualityPrecisRule { @@ -3588,18 +3638,18 @@ category expressed locally in HTML</div><p>The local <a class="itsmarkup" href="#att.allowedchars.html5.attribute.its-allowed-characters">its-allowed-characters</a> attribute specifies that the translated content of element <code>code</code> must not contain the characters other than 'a' to 'z' in any case and the characters - underscore and minus.</p><div class="exampleInner"><pre> -<html lang=en> - <head> - <meta charset=utf-8> - <title>Example</title> - </head> - <body> - <p>Login names can only use letters from A to Z (upper or lowercase) - and the character underscore (_) and minus (-). - For example: <code its-allowed-characters=[a-zA-Z_\-]>Huck_Finn</code>.</p> - </body> -</html></pre></div><p>[Source file: <a href="examples/html5/EX-allowedCharacters-html5-local-1.html">examples/html5/EX-allowedCharacters-html5-local-1.html</a>]</p></div></div><div class="div3"> + underscore and minus.</p><div class="exampleInner"><pre><!DOCTYPE html>
 + <html lang=en> + <head> + <meta charset=utf-8> + <title>Example</title> + </head> + <body> + <p>Login names can only use letters from A to Z (upper or lowercase) + and the character underscore (_) and minus (-). + For example: <code its-allowed-characters=[a-zA-Z_\-]>Huck_Finn</code>.</p> + </body> + </html></pre></div><p>[Source file: <a href="examples/html5/EX-allowedCharacters-html5-local-1.html">examples/html5/EX-allowedCharacters-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="allowedchars-markup" id="allowedchars-markup"></a>6.21.3 Markup Declarations for Allowed Characters</h4><dl><dt class="label">allowedCharactersRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="allowedCharactersRule" id="allowedCharactersRule"/>[183] </td><td><code>allowedCharactersRule</code></td><td> ::= </td><td><code> element its:allowedCharactersRule { @@ -3706,18 +3756,18 @@ its:storageEncoding="UTF-16">CANCEL</var> </messages></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-local-1.xml">examples/xml/EX-storageSize-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-html5-local-1" id="EX-storageSize-html5-local-1"></a>Example 93: The <a href="#storagesize">Storage Size</a> data category expressed locally in HTML</div><p>The <a class="itsmarkup" href="#att.storagesize.html5.attribute.its-storage-size">its-storage-size</a> is used here to specify the maximum - number of bytes the two editable strings can have in UTF-8.</p><div class="exampleInner"><pre> -<html lang=en> - <head> - <meta charset=utf-8> - <title>Example</title> - </head> - <body> - <p>String to translate:</p> - <p id=123 contenteditable=true its-storage-size=25>Papua New-Guinea</p> - <p id=139 contenteditable=true 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"> + number of bytes the two editable strings can have in UTF-8.</p><div class="exampleInner"><pre><!DOCTYPE html>
 + <html lang=en> + <head> + <meta charset=utf-8> + <title>Example</title> + </head> + <body> + <p>String to translate:</p> + <p contenteditable=true id=123 its-storage-size=25>Papua New-Guinea</p> + <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> element its:storageSizeRule { @@ -4279,7 +4329,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="d3e10926" id="d3e10926"></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="d3e11112" id="d3e11112"></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. @@ -4347,7 +4397,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="d3e10948" id="d3e10948"></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="d3e11134" id="d3e11134"></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 @@ -4358,7 +4408,7 @@ 29 August 2012</a>.</p><ol class="depth1"><li><p>Added informative appendix mapping <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType">locQualityIssueType</a> values to tool-specific issue types</p></li><li><p>Addition of a <a class="itsmarkup" href="#att.locqualityprecis.attribute.locQualityPrecisVote">locQualityPrecisVote</a> attribute and a <a class="itsmarkup" href="#locQualityPrecisRule.attributes">locQualityPrecisVotePointer</a> attribute to <a class="section-ref" href="#lqprecis">Section 6.19: Localization Quality Précis</a>.</p></li><li><p>A <a href="#its-information_versus_content">clarification</a> of ITS - data category information and processing of content in <a class="section-ref" href="#datacategories-defaults-etc">Section 6.1: Position, Defaults, Inheritance and Overriding of Data Categories</a>.</p></li><li><p>Added <a class="section-ref" href="#allowedchars">Section 6.21: Allowed Characters</a>.</p></li><li><p>Added <a class="section-ref" href="#storagesize">Section 6.22: Storage Size</a>.</p></li><li><p>Added <a class="section-ref" href="#mtconfidence">Section 6.20: MT Confidence</a>.</p></li><li><p>Added <a href="#qa-issue-types-tool-specific-mappings">a note</a> about informative mappings of <a href="#lqissue-typevalues">Values for the Localization Quality Issue Type</a> to the <a href="http://www.w3.org/International/its/wiki/Tool_specific_mappings">ITS IG wiki</a>.</p></li><li><p>Added a <a href="#its-conformance-2-3">conformance clause</a> about HTML5 versus XML processing.</p></li></ol><p id="changelog-since-20120731">The following log records major changes that + data category information and processing of content in <a class="section-ref" href="#datacategories-defaults-etc">Section 6.1: Position, Defaults, Inheritance and Overriding of Data Categories</a>.</p></li><li><p>Added <a class="section-ref" href="#allowedchars">Section 6.21: Allowed Characters</a>.</p></li><li><p>Added <a class="section-ref" href="#storagesize">Section 6.22: Storage Size</a>.</p></li><li><p>Added <a class="section-ref" href="#mtconfidence">Section 6.20: MT Confidence</a>.</p></li><li><p>Added <a href="#qa-issue-types-tool-specific-mappings">a note</a> about informative mappings of <a href="#lqissue-typevalues">Values for the Localization Quality Issue Type</a> to the <a href="http://www.w3.org/International/its/wiki/Tool_specific_mappings">ITS IG wiki</a>.</p></li><li><p>Added a <a href="#its-conformance-2-3">conformance clause</a> about HTML5 versus XML processing.</p></li><li><p>Added links to XML and HTML5 examples to the <a href="#datacategories-overview">data category overvew table</a>.</p></li></ol><p id="changelog-since-20120731">The following log records major changes that have been made to this document since the <a href="http://www.w3.org/TR/2012/WD-its20-20120731/">ITS 2.0 Working Draft 31 July 2012</a>.</p><ol class="depth1"><li><p>Added <a class="section-ref" href="#Disambiguation">Section 6.10: Disambiguation</a>.</p></li><li><p>Added <a class="section-ref" href="#preservespace">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#idvalue">Section 6.16: Id Value</a>.</p></li><li><p>Added support for different query language and reworked whole XPath and CSS Selectors integration.</p></li><li><p>Added examples to <a class="section-ref" href="#externalresource">Section 6.14: External Resource</a>.</p></li><li><p>Simplified <a class="section-ref" href="#LocaleFilter">Section 6.11: Locale Filter</a>.</p></li><li><p>Added a note about HTML5 and the attributes <a class="itsmarkup" href="#att.local.no-ns.attribute.dir">dir</a> and
Received on Thursday, 20 September 2012 09:12:30 UTC