- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 15 Sep 2012 22:43:53 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version In directory hutz:/tmp/cvs-serv14938/TR-version Modified Files: Overview.html Log Message: Small fix in HTML5 processing and dir example Index: Overview.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version/Overview.html,v retrieving revision 1.42 retrieving revision 1.43 diff -u -d -r1.42 -r1.43 --- Overview.html 15 Sep 2012 06:00:31 -0000 1.42 +++ Overview.html 15 Sep 2012 22:43:50 -0000 1.43 @@ -485,16 +485,16 @@ <code>EX-translateRule-html5-1.xml</code> The <code>rel</code> attribute identifies the ITS specific link relation <code>its-rules</code>.</p><div class="exampleInner"><pre><!DOCTYPE html>
 -<html lang="en"> - <head> - <meta charset="utf-8"><meta> - <title>Translate flag global rules example</title> - <link href="EX-translateRule-html5-1.xml" rel="its-rules"><link> - </head> - <body> - <p>This sentence should be translated, but code names like the <code>span</code> element should not be translated.</p> - </body> -</html></pre></div><p>[Source file: <a href="examples/html5/EX-translate-html5-global-1.html">examples/html5/EX-translate-html5-global-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-html5-global-1-rules-file" id="EX-translate-html5-global-1-rules-file"></a>Example 9: ITS rules file linked from HTML5</div><p>The rules file linked in <a href="#EX-translate-html5-global-1">Example 8</a>.</p><div class="exampleInner"><pre> + <html> + <head> + <meta charset=utf-8> + <title>Translate flag global rules example</title> + <link href="EX-translateRule-html5-1.xml" rel="its-rules"></link> + </head> + <body> + <p>This sentence should be translated, but code names like the <code>span</code> element should not be translated.</p> + </body> + </html></pre></div><p>[Source file: <a href="examples/html5/EX-translate-html5-global-1.html">examples/html5/EX-translate-html5-global-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-html5-global-1-rules-file" id="EX-translate-html5-global-1-rules-file"></a>Example 9: ITS rules file linked from HTML5</div><p>The rules file linked in <a href="#EX-translate-html5-global-1">Example 8</a>.</p><div class="exampleInner"><pre> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:translateRule translate="no" selector="//h:code"/> @@ -1120,12 +1120,16 @@ default namespace (as declared by <code>xmlns</code>) is not part of this set.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2442" id="d3e2442"></a>Example 16: XPath expressions with namespaces</div><p>The <code>term</code> element from the TEI is in a namespace <code>http://www.tei-c.org/ns/1.0</code>. </p><div class="exampleInner"><pre> +<!-- Definitions for TEI --> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:tei="http://www.tei-c.org/ns/1.0" version="2.0"> <its:termRule selector="//tei:term" term="yes"/> </its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-selection-global-1.xml">examples/xml/EX-selection-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2460" id="d3e2460"></a>Example 17: XPath expressions without namespaces</div><p>The <code>term</code> element from DocBook V4.5 is in no namespace.</p><div class="exampleInner"><pre> +<!-- Definitions for DocBook --> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:termRule selector="//term" term="yes"/> @@ -1530,16 +1534,16 @@ </messages></pre></div><p>[Source file: <a href="examples/xml/EX-translate-selector-2.xml">examples/xml/EX-translate-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-html5" id="EX-translate-html5"></a>Example 27: The <a href="#trans-datacat">Translate</a> data category expressed locally in HTML5</div><p>The local <code>translate="no"</code> attribute specifies that the content of <code>span</code> must not be translated.</p><div class="exampleInner"><pre><!DOCTYPE html>
 -<html lang="en"> - <head> - <meta charset="utf-8"><meta> - <title>Translate flag test: Default</title> - </head> - <body> - <p>The <span translate="no">World Wide Web Consortium</span> is - 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"> + <html> + <head> + <meta charset=utf-8> + <title>Translate flag test: Default</title> + </head> + <body> + <p>The <span translate="no">World Wide Web Consortium</span> is + 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 attribute, and so appears in HTML files without the its- prefix, unlike other ITS data categories like <code>localizationNote</code> and @@ -1684,15 +1688,15 @@ </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="d3e4104" id="d3e4104"></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> - <meta charset="utf-8"><meta> - <title>LocNote test: Default</title> - </head> - <body> - <p>This is a <span its-loc-note="Check with terminology engineer" its-loc-note-type="alert">motherboard</span>.</p> - </body> -</html></pre></div><p>[Source file: <a href="examples/html5/EX-locNote-html5-local-1.html">examples/html5/EX-locNote-html5-local-1.html</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>It is generally recommended to avoid using attributes to store + <html lang="en"> + <head> + <meta charset=utf-8> + <title>LocNote test: Default</title> + </head> + <body> + <p>This is a <span its-loc-note="Check with terminology engineer" its-loc-note-type="alert">motherboard</span>.</p> + </body> + </html></pre></div><p>[Source file: <a href="examples/html5/EX-locNote-html5-local-1.html">examples/html5/EX-locNote-html5-local-1.html</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>It is generally recommended to avoid using attributes to store text, however, in this specific case, the need to provide the notes without interfering with the structure of the host document is outweighing the drawbacks of using an attribute.</p></div></div><div class="div3"> @@ -1792,16 +1796,16 @@ </body> </book></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-4.xml">examples/xml/EX-terms-selector-4.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-term-local-html-1" id="EX-term-local-html-1"></a>Example 38: The <a href="#terminology">Terminology</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre><!DOCTYPE html>
 -<html lang="en"> - <head> - <meta charset="utf-8"><meta> - <title>Terminology test: default</title> - </head> - <body> - <p>We need a new <span its-term="yes">motherboard</span> - </p> - </body> -</html></pre></div><p>[Source file: <a href="examples/html5/EX-term-html5-local-1.html">examples/html5/EX-term-html5-local-1.html</a>]</p></div></div><div class="div3"> + <html lang="en"> + <head> + <meta charset=utf-8> + <title>Terminology test: default</title> + </head> + <body> + <p>We need a new <span its-term="yes">motherboard</span> + </p> + </body> + </html></pre></div><p>[Source file: <a href="examples/html5/EX-term-html5-local-1.html">examples/html5/EX-term-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="terminology-markup" id="terminology-markup"></a>6.4.3 Markup Declarations for Terminology</h4><dl><dt class="label">termRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="termRule" id="termRule"/>[63] </td><td><code>termRule</code></td><td> ::= </td><td><code> element its:termRule { termRule.content, <a href="#termRule.attributes">termRule.attributes</a> }</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="termRule.content" id="termRule.content"/>[64] </td><td><code>termRule.content</code></td><td> ::= </td><td><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="termRule.attributes" id="termRule.attributes"/>[65] </td><td><code>termRule.attributes</code></td><td> ::= </td><td><code> <a href="#att.selector.attributes">att.selector.attributes</a>, @@ -1882,16 +1886,16 @@ </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="d3e4741" id="d3e4741"></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> - <meta charset="utf-8"><meta> - <title>Dir test: Default</title> - </head> - <body> - <p>In Arabic, the title <quote xml:lang="ar" dir="rtl">نشاط التدويل، W3C</quote> - 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"> + <html lang="en"> + <head> + <meta charset=utf-8> + <title>Dir test: Default</title> + </head> + <body> + <p>In Arabic, the title <quote dir="rtl" lang="ar">نشاط التدويل، W3C</quote> + 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 require the its- prefix used by most data categories in HTML5 representations.</p></div><dl><dt class="label">dirRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="dirRule" id="dirRule"/>[72] </td><td><code>dirRule</code></td><td> ::= </td><td><code> element its:dirRule { dirRule.content, <a href="#dirRule.attributes">dirRule.attributes</a> }</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="dirRule.content" id="dirRule.content"/>[73] </td><td><code>dirRule.content</code></td><td> ::= </td><td><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="dirRule.attributes" id="dirRule.attributes"/>[74] </td><td><code>dirRule.attributes</code></td><td> ::= </td><td><code> @@ -2066,15 +2070,15 @@ </body> </text></pre></div><p>[Source file: <a href="examples/xml/EX-within-text-local-1.xml">examples/xml/EX-within-text-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-within-text-local-html5-1" id="EX-within-text-local-html5-1"></a>Example 48: The <a href="#trans-datacat">Elements Within Text</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre><!DOCTYPE html>
 -<html lang="en"> - <head> - <meta charset="utf-8"><meta> - <title>Within text test: Default</title> - </head> - <body> - <p>Text with <span its-within-text="yes">bold</span>.</p> - </body> -</html></pre></div><p>[Source file: <a href="examples/html5/EX-within-text-local-html5-1.html">examples/html5/EX-within-text-local-html5-1.html</a>]</p></div></div><div class="div3"> + <html> + <head> + <meta charset=utf-8> + <title>Within text test: Default</title> + </head> + <body> + <p>Text with <span its-within-text="yes">bold</span>.</p> + </body> + </html></pre></div><p>[Source file: <a href="examples/html5/EX-within-text-local-html5-1.html">examples/html5/EX-within-text-local-html5-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="within-text-markup" id="within-text-markup"></a>6.8.3 Markup Declarations for Elements Within Text</h4><dl><dt class="label">withinTextRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="withinTextRule" id="withinTextRule"/>[97] </td><td><code>withinTextRule</code></td><td> ::= </td><td><code> element its:withinTextRule { @@ -2288,22 +2292,24 @@ collection.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-disambiguation-html5-local-1" id="EX-disambiguation-html5-local-1"></a>Example 52: Local mixed usage of <a class="itsmarkup" href="#att.disambiguation.attribute.entityTypeSourceRef">entityTypeSourceRef</a>, <code>enttiyTypeRef</code>, <a class="itsmarkup" href="#att.disambiguation.attribute.disambigSourceRef">disambigSourceRef</a>, <a class="itsmarkup" href="#att.disambiguation.attribute.disambigIdentRef">disambigIdentRef</a> in HTML.</div><div class="exampleInner"><pre><!DOCTYPE html>
 -<html lang="en"> - <head> - <meta charset="utf-8"><meta> - <title>Entity: Local Test</title> - </head> - <body> - <p> - <span - its-entity-type-source-ref="http://nerd.eurecom.fr/ontology" - its-entity-type-ident-ref="http:/nerd.eurecom.fr/ontology#Place" - its-disambig-source-ref="http://dbpedia.org/" - its-disambig-ident-ref="http://dbpedia.org/resource/Dublin" - its-disambig-type="entity">Dublin</span> is the <span its-disambig-source-ref="http://www.w3.org/2006/03/wn/wn20/rdf/wordnet-synset.rdf" - its-disambig-ident-ref="http://www.w3.org/2006/03/wn/wn20/instances/worsense-capital-noun-3" its-disambig-type="lexicalConcept">capital</span> of Ireland.</p> - </body> -</html></pre></div><p>[Source file: <a href="examples/html5/EX-disambiguation-html5-local-1.html">examples/html5/EX-disambiguation-html5-local-1.html</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>While the <a class="itsmarkup" href="#att.disambiguation.attribute.entityTypeSourceRef">entityTypeSourceRef</a> attribute allows for an + <html lang="en"> + <head> + <meta charset=utf-8> + <title>Entity: Local Test</title> + </head> + <body> + <p> + <span + its-disambig-ident-ref="http://dbpedia.org/resource/Dublin" + its-disambig-source-ref="http://dbpedia.org/" + its-disambig-type="entity" + its-entity-type-ident-ref="http:/nerd.eurecom.fr/ontology#Place" + its-entity-type-source-ref="http://nerd.eurecom.fr/ontology">Dublin</span> is the <span + its-disambig-ident-ref="http://www.w3.org/2006/03/wn/wn20/instances/worsense-capital-noun-3" + its-disambig-source-ref="http://www.w3.org/2006/03/wn/wn20/rdf/wordnet-synset.rdf" + its-disambig-type="lexicalConcept">capital</span> of Ireland.</p> + </body> + </html></pre></div><p>[Source file: <a href="examples/html5/EX-disambiguation-html5-local-1.html">examples/html5/EX-disambiguation-html5-local-1.html</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>While the <a class="itsmarkup" href="#att.disambiguation.attribute.entityTypeSourceRef">entityTypeSourceRef</a> attribute allows for an arbitrary domain of entity types, the implementors are encouraged to use an existing repository of entity types as long as they satisfy their requirements. For example, the Named Entity Recognition and @@ -2318,30 +2324,28 @@ <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>See <a href="#EX-disambiguation-html5-rdfa-companion-document">Example 54</a> for the companion document with the mapping data.</p><div class="exampleInner"><pre><!DOCTYPE html>
 -<html - xmlns:its="http://www.w3.org/2005/11/its" lang="en"> - <head> - <meta charset="utf-8"><meta> - <title>Entity: Local Test</title> - </head> - <body prefix="its: http://www.w3.org/2005/11/its"> - <p> - <span resource="http://dbpedia.org/resource/Dublin" typeof="http:/nerd.eurecom.fr/ontology#Place" property="name">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 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>, + <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 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 - xmlns:its="http://www.w3.org/2005/11/its" lang="en"> - <head> - <meta charset="utf-8"><meta> - <title>Entity: Local Test</title> - </head> - <body prefix="its: http://www.w3.org/2005/11/its"> - <p> - <span resource="http://dbpedia.org/resource/Dublin" typeof="http:/nerd.eurecom.fr/ontology#Place" property="name">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"> + <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"> <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 { @@ -2527,21 +2531,21 @@ <its:externalResourceRefRule selector="//html:video/@src" externalResourceRefPointer="."/> <its:externalResourceRefRule selector="//html:video/@poster" externalResourceRefPointer="."/> </its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-externalresource-2.xml">examples/xml/EX-externalresource-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-externalresource-html5-1" id="EX-externalresource-html5-1"></a>Example 60: An HTML5 document that can be used for <a href="#EX-externalresource-2">Example 59</a>.</div><div class="exampleInner"><pre><!DOCTYPE html>
 -<html lang="en"> - <head> - <meta charset="utf-8"><meta> - <title>Video element example</title> - </head> - <body> - <video - width="640" - height="360" - src="http://www.example.com/video/v2.mp" - poster="video-image.png"> - <p>If your browser doesn't support the <code>video</code> element, you can <a href="http://www.example.com/video/v2.mp">download the video</a> instead.</p> - </video> - </body> -</html></pre></div><p>[Source file: <a href="examples/html5/EX-externalresource-html5-1.html">examples/html5/EX-externalresource-html5-1.html</a>]</p></div></div><div class="div3"> + <html lang="en"> + <head> + <meta charset=utf-8> + <title>Video element example</title> + </head> + <body> + <video + height="360" + poster="video-image.png" + src="http://www.example.com/video/v2.mp" + width="640"> + <p>If your browser doesn't support the <code>video</code> element, you can <a href="http://www.example.com/video/v2.mp">download the video</a> instead.</p> + </video> + </body> + </html></pre></div><p>[Source file: <a href="examples/html5/EX-externalresource-html5-1.html">examples/html5/EX-externalresource-html5-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="externalresource-markup" id="externalresource-markup"></a>6.14.3 Markup Declarations for External Resource</h4><dl><dt class="label">externalResourceRefRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="externalResourceRefRule" id="externalResourceRefRule"/>[127] </td><td><code>externalResourceRefRule</code></td><td> ::= </td><td><code> element its:externalResourceRefRule { @@ -2869,10 +2873,9 @@ (<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"><meta> + <head> <meta charset=utf-8> <title>Example</title> - <link href="EX-locQualityIssueRule-html5-global.xml" rel="its-rules"><link> + <link href="EX-locQualityIssueRule-html5-global.xml" rel="its-rules"></link> </head> <body> <p> @@ -3026,30 +3029,31 @@ content to markup and holds a <code>loc-quality-issues-ref</code> attribute that points to a special <code>span</code> element where the issues are listed within a set of other special - <code>span</code> elements.</p><div class="exampleInner"><pre> -<html> - <head> - <title>Test</title> - <script type="text/javascript" src="qaissues.js"><script> - <style type="text/css">.qaissue { background-color: yellow; } </style> - </head> - <body onload="addqaissueattrs()"> - <p> - <span its-loc-quality-issues-ref="#lq1">c'es</span> le contenu</p> - <span its-loc-quality-issues="its-loc-quality-issues" id="lq1"> - <span - its-loc-quality-issue="its-loc-quality-issue" - its-loc-quality-issue-type="typographical" - its-loc-quality-issue-coment="Sentence without capitalization" - its-loc-quality-issue-severity="30"><span> - <span - its-loc-quality-issue="its-loc-quality-issue" - its-loc-quality-issue-type="misspelling" - its-loc-quality-issue-coment="'c'es' is unknown. Could be 'c'est'" - its-loc-quality-issue-severity="50"><span> - </span> - </body> -</html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-local-2.html">examples/html5/EX-locQualityIssue-html5-local-2.html</a>]</p></div><span class="editor-note">[Ed. note: TODO for above: Finalize how HTML its-loc-quality-issues and + <code>span</code> elements.</p><div class="exampleInner"><pre><!DOCTYPE html>
 + <html> + <head> + <meta charset=utf-8> + <title>Test</title> + <script src="qaissues.js" type="text/javascript"></script> + <style type="text/css">.qaissue { background-color: yellow; } </style> + </head> + <body onload="addqaissueattrs()"> + <p> + <span its-loc-quality-issues-ref="#lq1">c'es</span> le contenu</p> + <span id="lq1" its-loc-quality-issues="its-loc-quality-issues"> + <span + its-loc-quality-issue="its-loc-quality-issue" + its-loc-quality-issue-coment="Sentence without capitalization" + its-loc-quality-issue-severity="30" + its-loc-quality-issue-type="typographical"></span> + <span + its-loc-quality-issue="its-loc-quality-issue" + its-loc-quality-issue-coment="'c'es' is unknown. Could be 'c'est'" + its-loc-quality-issue-severity="50" + its-loc-quality-issue-type="misspelling"></span> + </span> + </body> + </html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-local-2.html">examples/html5/EX-locQualityIssue-html5-local-2.html</a>]</p></div><span class="editor-note">[Ed. note: TODO for above: Finalize how HTML its-loc-quality-issues and its-loc-quality-issue should be defined.]</span></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="lqissue-markup" id="lqissue-markup"></a>6.18.3 Markup Declarations for Localization Quality Issue</h4><span class="editor-note">[Ed. note: TODO: update to proper declaration and add markup for HTML.]</span><dl><dt class="label">locQualityIssueRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="locQualityIssueRule" id="locQualityIssueRule"/>[139] </td><td><code>locQualityIssueRule</code></td><td> ::= </td><td><code> @@ -3305,10 +3309,9 @@ <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"><meta> + <head> <meta charset=utf-8> <title>Example</title> - <link href="EX-locQualityPrecisRule-html5-global.xml" rel="its-rules"><link> + <link href="EX-locQualityPrecisRule-html5-global.xml" rel="its-rules"></link> </head> <body> <p>This is an example.</p> @@ -3496,8 +3499,7 @@ 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"><meta> + <head> <meta charset=utf-8> <title>Example</title> </head> <body> @@ -3608,8 +3610,7 @@ 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"><meta> + <head> <meta charset=utf-8> <title>Example</title> </head> <body>
Received on Saturday, 15 September 2012 22:43:56 UTC