- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 15 Sep 2012 21:47:11 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory hutz:/tmp/cvs-serv30214 Modified Files: build.xml its20.html its20.odd Log Message: action-203 publication pipeline now OK for HTML5 processing, some example now in HTML serialization Index: build.xml =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/build.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- build.xml 26 Jul 2012 06:34:42 -0000 1.7 +++ build.xml 15 Sep 2012 21:47:07 -0000 1.8 @@ -11,7 +11,10 @@ <path id="jing.classpath"> <pathelement location="tools/jing.jar"/> </path> - + <path id="parse-html5-class"> + <pathelement location="tools/run-html5.jar"/> + </path> + <!-- Run this before publication or if new people join the working group, put the output into its20.odd --> <target name="updateAcks"> <java fork="true" classname="net.sf.saxon.Transform"> @@ -34,6 +37,7 @@ <target name="odd2xmlspec" depends="validateOdd"> <java fork="true" classname="com.icl.saxon.StyleSheet"> <classpath refid="saxon1-0.classpath"/> + <classpath refid="parse-html5-class"/> <arg value="-o"/> <arg value="temp/its20-xmlspec.xml"/> <arg value="its20.odd"/> Index: its20.odd =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v retrieving revision 1.155 retrieving revision 1.156 diff -u -d -r1.155 -r1.156 --- its20.odd 10 Sep 2012 10:40:02 -0000 1.155 +++ its20.odd 15 Sep 2012 21:47:08 -0000 1.156 @@ -5245,7 +5245,7 @@ the issues are listed within a set of other special <code>span</code> elements.</p> <egXML xmlns="http://www.tei-c.org/ns/Examples" - target="examples/html5/EX-locQualityIssue-html5-local-2.html"/> + target="examples/html5/EX-locQualityIssue-html5-local-2.html" type="html5"/> </exemplum> <note type="ed">TODO for above: Finalize how HTML its-loc-quality-issues and its-loc-quality-issue should be defined.</note> Index: its20.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v retrieving revision 1.155 retrieving revision 1.156 diff -u -d -r1.155 -r1.156 --- its20.html 10 Sep 2012 10:40:02 -0000 1.155 +++ its20.html 15 Sep 2012 21:47:08 -0000 1.156 @@ -445,16 +445,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 xml:space="preserve"><!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" shape="rect">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" shape="rect"/>Example 9: ITS rules file linked from HTML5</div><p>The rules file linked in <a href="#EX-translate-html5-global-1" shape="rect">Example 8</a>.</p><div class="exampleInner"><pre xml:space="preserve"> + <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" shape="rect">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" shape="rect"/>Example 9: ITS rules file linked from HTML5</div><p>The rules file linked in <a href="#EX-translate-html5-global-1" shape="rect">Example 8</a>.</p><div class="exampleInner"><pre xml:space="preserve"> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:translateRule translate="no" selector="//h:code"/> @@ -1080,12 +1080,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" shape="rect"/>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 xml:space="preserve"> +<!-- 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" shape="rect">examples/xml/EX-selection-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2460" id="d3e2460" shape="rect"/>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 xml:space="preserve"> +<!-- Definitions for DocBook --> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:termRule selector="//term" term="yes"/> @@ -1490,16 +1494,16 @@ </messages></pre></div><p>[Source file: <a href="examples/xml/EX-translate-selector-2.xml" shape="rect">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" shape="rect"/>Example 27: The <a href="#trans-datacat" shape="rect">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 xml:space="preserve"><!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" shape="rect">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" shape="rect">examples/html5/EX-translate-html5-local-1.html</a>]</p></div></div><div class="div3"> <h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="translatability-markup" id="translatability-markup" shape="rect"/>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 @@ -1644,15 +1648,15 @@ </data> </msgList></pre></div><p>[Source file: <a href="examples/xml/EX-locNote-selector-2.xml" shape="rect">examples/xml/EX-locNote-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4104" id="d3e4104" shape="rect"/>Example 33: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve"><!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" shape="rect">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" shape="rect">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"> @@ -1752,16 +1756,16 @@ </body> </book></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-4.xml" shape="rect">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" shape="rect"/>Example 38: The <a href="#terminology" shape="rect">Terminology</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve"><!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" shape="rect">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" shape="rect">examples/html5/EX-term-html5-local-1.html</a>]</p></div></div><div class="div3"> <h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="terminology-markup" id="terminology-markup" shape="rect"/>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 rowspan="1" colspan="1"><a name="termRule" id="termRule" shape="rect"/>[63] </td><td rowspan="1" colspan="1"><code>termRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> element its:termRule { termRule.content, <a href="#termRule.attributes" shape="rect">termRule.attributes</a> }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="termRule.content" id="termRule.content" shape="rect"/>[64] </td><td rowspan="1" colspan="1"><code>termRule.content</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><coe> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="termRule.attributes" id="termRule.attributes" shape="rect"/>[65] </td><td rowspan="1" colspan="1"><code>termRule.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> <a href="#att.selector.attributes" shape="rect">att.selector.attributes</a>, @@ -1842,16 +1846,16 @@ </body> </text></pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-3.xml" shape="rect">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4741" id="d3e4741" shape="rect"/>Example 42: The <a href="#directionality" shape="rect">Directionality</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve"><!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" shape="rect">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">نشاط التدويل، 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" shape="rect">examples/html5/EX-dir-html5-local-1.html</a>]</p></div></div><div class="div3"> <h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="directionality-markup" id="directionality-markup" shape="rect"/>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 rowspan="1" colspan="1"><a name="dirRule" id="dirRule" shape="rect"/>[72] </td><td rowspan="1" colspan="1"><code>dirRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> element its:dirRule { dirRule.content, <a href="#dirRule.attributes" shape="rect">dirRule.attributes</a> }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="dirRule.content" id="dirRule.content" shape="rect"/>[73] </td><td rowspan="1" colspan="1"><code>dirRule.content</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="dirRule.attributes" id="dirRule.attributes" shape="rect"/>[74] </td><td rowspan="1" colspan="1"><code>dirRule.attributes</code></td><td rowspan="1" colspan="1"> ::= </d><td rowspan="1" colspan="1"><code> @@ -2026,15 +2030,15 @@ </body> </text></pre></div><p>[Source file: <a href="examples/xml/EX-within-text-local-1.xml" shape="rect">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" shape="rect"/>Example 48: The <a href="#trans-datacat" shape="rect">Elements Within Text</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve"><!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" shape="rect">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" shape="rect">examples/html5/EX-within-text-local-html5-1.html</a>]</p></div></div><div class="div3"> <h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="within-text-markup" id="within-text-markup" shape="rect"/>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 rowspan="1" colspan="1"><a name="withinTextRule" id="withinTextRule" shape="rect"/>[97] </td><td rowspan="1" colspan="1"><code>withinTextRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> element its:withinTextRule { @@ -2248,22 +2252,24 @@ collection.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-disambiguation-html5-local-1" id="EX-disambiguation-html5-local-1" shape="rect"/>Example 52: Local mixed usage of <a class="itsmarkup" href="#att.disambiguation.attribute.entityTypeSourceRef" shape="rect">entityTypeSourceRef</a>, <code>enttiyTypeRef</code>, <a class="itsmarkup" href="#att.disambiguation.attribute.disambigSourceRef" shape="rect">disambigSourceRef</a>, <a class="itsmarkup" href="#att.disambiguation.attribute.disambigIdentRef" shape="rect">disambigIdentRef</a> in HTML.</div><div class="exampleInner"><pre xml:space="preserve"><!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" shape="rect">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" shape="rect">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" shape="rect">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" shape="rect">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 @@ -2278,30 +2284,28 @@ <a class="itsmarkup" href="#disambiguationRule.attributes" shape="rect">entityTypeRef</a>, <a class="itsmarkup" href="#att.disambiguation.attribute.disambigSourceRef" shape="rect">disambigSourceRef</a>, <a class="itsmarkup" href="#att.disambiguation.attribute.disambigIdentRef" shape="rect">disambigIdentRef</a> in HTML+RDFa Lite</div><p>See <a href="#EX-disambiguation-html5-rdfa-companion-document" shape="rect">Example 54</a> for the companion document with the mapping data.</p><div class="exampleInner"><pre xml:space="preserve"><!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" shape="rect">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" shape="rect"/>Example 54: Local mixed usage of <a class="itsmarkup" href="#att.disambiguation.attribute.entityTypeSourceRef" shape="rect">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" shape="rect">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" shape="rect"/>Example 54: Local mixed usage of <a class="itsmarkup" href="#att.disambiguation.attribute.entityTypeSourceRef" shape="rect">entityTypeSourceRef</a>, <a class="itsmarkup" href="#disambiguationRule.attributes" shape="rect">entityTypeRef</a>, <a class="itsmarkup" href="#att.disambiguation.attribute.disambigSourceRef" shape="rect">disambigSourceRef</a>, <a class="itsmarkup" href="#att.disambiguation.attribute.disambigIdentRef" shape="rect">disambigIdentRef</a> in HTML+RDFa Lite</div><p>Companion document, having the mapping data for <a href="#EX-disambiguation-html5-rdfa" shape="rect">Example 53</a>.</p><div class="exampleInner"><pre xml:space="preserve"><!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" shape="rect">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" shape="rect">examples/html5/EX-disambiguation-html5-rdfa.html</a>]</p></div></div><div class="div3"> <h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="Disambiguation-markup" id="Disambiguation-markup" shape="rect"/>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 rowspan="1" colspan="1"><a name="disambiguationRule" id="disambiguationRule" shape="rect"/>[107] </td><td rowspan="1" colspan="1"><code>disambiguationRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> element its:disambiguationRule { @@ -2487,21 +2491,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" shape="rect">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" shape="rect"/>Example 60: An HTML5 document that can be used for <a href="#EX-externalresource-2" shape="rect">Example 59</a>.</div><div class="exampleInner"><pre xml:space="preserve"><!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" shape="rect">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" shape="rect">examples/html5/EX-externalresource-html5-1.html</a>]</p></div></div><div class="div3"> <h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="externalresource-markup" id="externalresource-markup" shape="rect"/>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 rowspan="1" colspan="1"><a name="externalResourceRefRule" id="externalResourceRefRule" shape="rect"/>[127] </td><td rowspan="1" colspan="1"><code>externalResourceRefRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> element its:externalResourceRefRule { @@ -2829,10 +2833,9 @@ (<a href="#EX-locQualityIssueRule-html5-global" shape="rect">Example 70</a>) that associates the issue information with a selected span of content in the HTML document.</p><div class="exampleInner"><pre xml:space="preserve"> <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> @@ -2986,30 +2989,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 xml:space="preserve"> -<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" shape="rect">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 xml:space="preserve"><!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" shape="rect">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" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="lqissue-markup" id="lqissue-markup" shape="rect"/>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 rowspan="1" colspan="1"><a name="locQualityIssueRule" id="locQualityIssueRule" shape="rect"/>[139] </td><td rowspan="1" colspan="1"><code>locQualityIssueRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> @@ -3265,10 +3269,9 @@ <a class="itsmarkup" href="#locQualityPrecisRule" shape="rect">locQualityPrecisRule</a> element to specify the score, threshold and profile for an HTML document.</p><div class="exampleInner"><pre xml:space="preserve"> <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> @@ -3456,8 +3459,7 @@ characters other than 'a' to 'z' in any case and the characters underscore and minus.</p><div class="exampleInner"><pre xml:space="preserve"> <html lang="en"> - <head> - <meta charset="utf-8"><meta> + <head> <meta charset=utf-8> <title>Example</title> </head> <body> @@ -3568,8 +3570,7 @@ expressed locally in HTML</div><p>The <a class="itsmarkup" href="#att.storagesize.html5.attribute.its-storage-size" shape="rect">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 xml:space="preserve"> <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 21:47:13 UTC