- From: CVS User ysavoure <cvsmail@w3.org>
- Date: Mon, 17 Jun 2013 10:46:13 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory gil:/tmp/cvs-serv23395 Modified Files: its20.html its20.odd Log Message: edits for 2.5 --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2013/06/17 10:24:47 1.459 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2013/06/17 10:46:12 1.460 @@ -31,7 +31,7 @@ <div class="toc2">2.5 <a href="#specific-HTML-support" shape="rect">Specific HTML support</a><div class="toc3">2.5.1 <a href="#html5-global-approach" shape="rect">Global approach in HTML5</a></div> <div class="toc3">2.5.2 <a href="#html5-its-local-markup" shape="rect">Local approach</a></div> <div class="toc3">2.5.3 <a href="#html5-existing-markup-versus-its" shape="rect">HTML markup with ITS 2.0 counterparts</a></div> -<div class="toc3">2.5.4 <a href="#html5-standoff-markup-explanation" shape="rect">Standoff Markup in HTML5</a></div> +<div class="toc3">2.5.4 <a href="#html5-standoff-markup-explanation" shape="rect">Standoff markup in HTML5</a></div> <div class="toc3">2.5.5 <a href="#usage-in-legacy-html" shape="rect">Version of HTML</a></div> </div> <div class="toc2">2.6 <a href="#traceability" shape="rect">Traceability</a></div> @@ -431,13 +431,15 @@ or point to existing information elsewhere in the document (using a <code class="its-attr-markup">locNotePointer</code> attribute).</p><p>The <a href="#datacategories-overview" shape="rect">data category overview table</a>, in <a class="section-ref" href="#datacategories-defaults-etc" shape="rect">Section 8.1: Position, Defaults, Inheritance and Overriding of Data Categories</a>, provides an overview of which data categories allow the addition of information and which allow to point to existing - information.</p><p>Adding information and pointing to existing information are - <em>mutually exclusive</em>: attributes for adding information and attributes for pointing to - the same information must not appear at the same rule element.</p></div><div class="div2"> -<h3><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="specific-HTML-support" id="specific-HTML-support" shape="rect"/>2.5 Specific HTML support</h3><p>For applying ITS 2.0 data categories to HTML, five aspects are of importance:</p><ol class="depth1"><li><p>global approach</p></li><li><p>local approach</p></li><li><p>HTML markup with ITS 2.0 counterparts</p></li><li><p>standoff markup in HTML5</p></li><li><p>HTML version</p></li></ol><p>In the following sections these aspects are briefly discussed.</p><div class="div3"> + information.</p><p>Adding information and pointing to existing information are <em>mutually + exclusive</em>; attributes for adding information and attributes for pointing to the + same information must not appear at the same rule element.</p></div><div class="div2"> +<h3><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="specific-HTML-support" id="specific-HTML-support" shape="rect"/>2.5 Specific HTML support</h3><p>For applying ITS 2.0 data categories to HTML, five aspects are of importance:</p><ol class="depth1"><li><p>Global approach in HTML5</p></li><li><p>Local Approach</p></li><li><p>HTML markup with ITS 2.0 counterparts</p></li><li><p>Standoff markup in HTML5</p></li><li><p>Version of HTML</p></li></ol><p>In the following sections these aspects are briefly discussed.</p><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="html5-global-approach" id="html5-global-approach" shape="rect"/>2.5.1 Global approach in HTML5</h4><p>To account for the so-called <a href="#basic-concepts-selection-global" shape="rect">global approach</a> in HTML, this specification (see <a class="section-ref" href="#html5-global-rules" shape="rect">Section 6.2: Global rules</a>) defines - </p><ul><li><p>a link type for referring to external files with global rules from a <code>link</code> element</p></li><li><p>an approach to have inline global rules in the HTML <code>script</code> element.</p></li></ul><p>It is preferable to use external global rules linked via the <code>link</code> element rather than to have inline global rules in the HTML document. + </p><ul><li><p>A link type for referring to external files with global rules from a <code>link</code> + element.</p></li><li><p>An approach to have inline global rules in the HTML <code>script</code> + element.</p></li></ul><p>It is preferable to use external global rules linked via the <code>link</code> element rather than to have inline global rules in the HTML document. The advantage is in being able to reuse the same rules file for many documents and also inline rules require secondary parsing of the <code>script</code> element.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-html5-global-1" id="EX-translate-html5-global-1" shape="rect"/>Example 6: Using ITS global rules in HTML</div><p>The <code>link</code> element points to the rules file <code>EX-translateRule-html5-1.xml</code> The <code>rel</code> attribute identifies @@ -511,7 +513,7 @@ <strong class="hl-tag" style="color: #000096"><img</strong> <span class="hl-attribute" style="color: #F5844C">src</span>=<span class="hl-value" style="color: #993300">"http://example.com/myimg.png"</span> <span class="hl-attribute" style="color: #F5844C">alt</span>=<span class="hl-value" style="color: #993300">"My image"</span><strong class="hl-tag" style="color: #000096">/></strong>.<strong class="hl-tag" style="color: #000096"></p></strong>
 <strong class="hl-tag" style="color: #000096"></body></strong>
 <strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-its-and-existing-HTML5-markup.html" shape="rect">examples/html5/EX-its-and-existing-HTML5-markup.html</a>]</p></div><p>There are also some HTML markup elements that have or can have similar, but not necessarily identical, roles and behavior than certain ITS 2.0 data categories. For example, the HTML <code>dfn</code> element could be used to identify a term in the sense of the <a href="#terminology" shape="rect">Terminology</a> data category. However, this is not always the case and it depends on the intentions of the HTML content author. To accommodate this situation, users of ITS 2.0 are encouraged to specify the semantics of existing HTML markup in an ITS 2.0 context with a dedicated global rules file. Example: use a rule to define that the HTML <code>dfn</code> has the semantics of ITS <code>term="yes</code>. For additional examples see the <a href="http://www.w3.org/TR/2008/NOTE-xl-i18n-bp-20080213/#relating-its-plus-xhtml" shape="rect">XML I18N Best Practices</a> document.</p></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="html5-standoff-markup-explanation" id="html5-standoff-markup-explanation" shape="rect"/>2.5.4 Standoff Markup in HTML5</h4><p>The <a href="#provenance" shape="rect">Provenance</a> and the <a href="#lqissue" shape="rect">Localization Quality Issue</a> data categories allow for using so-called standoff markup, see the XML <a href="#EX-provenance-global-1" shape="rect">Example 59</a>. In HTML such standoff markup is placed into a <code>script</code> element. If this is done, the constraints for <a href="#provenance-records-in-html5-constraint" shape="rect">Provenance standoff</a> markup in HTML and <a href="#loc-quality-issues-in-html5-constraint" shape="rect">Localization quality issue</a> markup in HTML need to be taken into account. Examples of standoff markup in HTML for the two data categories are <a href="#EX-proveance-html5-local-2" shape="rect">Example 62</a> and <a href="#EX-locQualityIssue-html5-local-2" shape="rect">Example 77</a>.</p></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="html5-standoff-markup-explanation" id="html5-standoff-markup-explanation" shape="rect"/>2.5.4 Standoff markup in HTML5</h4><p>The <a href="#provenance" shape="rect">Provenance</a> and the <a href="#lqissue" shape="rect">Localization Quality Issue</a> data categories allow for using so-called standoff markup, see the XML <a href="#EX-provenance-global-1" shape="rect">Example 59</a>. In HTML such standoff markup is placed into a <code>script</code> element. If this is done, the constraints for <a href="#provenance-records-in-html5-constraint" shape="rect">Provenance standoff</a> markup in HTML and <a href="#loc-quality-issues-in-html5-constraint" shape="rect">Localization quality issue</a> markup in HTML need to be taken into account. Examples of standoff markup in HTML for the two data categories are <a href="#EX-proveance-html5-local-2" shape="rect">Example 62</a> and <a href="#EX-locQualityIssue-html5-local-2" shape="rect">Example 77</a>.</p></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="usage-in-legacy-html" id="usage-in-legacy-html" shape="rect"/>2.5.5 Version of HTML</h4><p>ITS 2.0 does not define how to use ITS in HTML versions prior to version 5. Users are thus encouraged to migrate their content to <a title="HTML5" href="#html5" shape="rect">[HTML5]</a> or XHTML. While it is possible to use <code>its-*</code> attributes introduced for <a title="HTML5" href="#html5" shape="rect">[HTML5]</a> in older versions of HTML (such --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2013/06/17 10:24:48 1.462 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2013/06/17 10:46:13 1.463 @@ -657,28 +657,30 @@ target="#datacategories-defaults-etc" type="specref"/>, provides an overview of which data categories allow the addition of information and which allow to point to existing information.</p> - <p>Adding information and pointing to existing information are - <emph>mutually exclusive</emph>: attributes for adding information and attributes for pointing to - the same information must not appear at the same rule element.</p> + <p>Adding information and pointing to existing information are <emph>mutually + exclusive</emph>; attributes for adding information and attributes for pointing to the + same information must not appear at the same rule element.</p> </div> <div xml:id="specific-HTML-support"><head>Specific HTML support</head> <p>For applying ITS 2.0 data categories to HTML, five aspects are of importance:</p> <list type="ordered"> - <item>global approach</item> - <item>local approach</item> + <item>Global approach in HTML5</item> + <item>Local Approach</item> <item>HTML markup with ITS 2.0 counterparts</item> - <item>standoff markup in HTML5</item> - <item>HTML version</item> + <item>Standoff markup in HTML5</item> + <item>Version of HTML</item> </list> <p>In the following sections these aspects are briefly discussed.</p> <div xml:id="html5-global-approach"><head>Global approach in HTML5</head> <p>To account for the so-called <ref target="#basic-concepts-selection-global">global approach</ref> in HTML, this specification (see <ptr target="#html5-global-rules" type="specref"/>) defines </p> - <list><item>a link type for referring to external files with global rules from a <code>link</code> element</item> - <item>an approach to have inline global rules in the HTML <code>script</code> element.</item></list> + <list><item>A link type for referring to external files with global rules from a <code>link</code> + element.</item> + <item>An approach to have inline global rules in the HTML <code>script</code> + element.</item></list> <p>It is preferable to use external global rules linked via the <code>link</code> element rather than to have inline global rules in the HTML document. The advantage is in being able to reuse the same rules file for many documents and also inline rules require secondary parsing of the <code>script</code> element.</p> @@ -746,7 +748,7 @@ <p>There are also some HTML markup elements that have or can have similar, but not necessarily identical, roles and behavior than certain ITS 2.0 data categories. For example, the HTML <code>dfn</code> element could be used to identify a term in the sense of the <ref target="#terminology">Terminology</ref> data category. However, this is not always the case and it depends on the intentions of the HTML content author. To accommodate this situation, users of ITS 2.0 are encouraged to specify the semantics of existing HTML markup in an ITS 2.0 context with a dedicated global rules file. Example: use a rule to define that the HTML <code>dfn</code> has the semantics of ITS <code>term="yes</code>. For additional examples see the <ref target="http://www.w3.org/TR/2008/NOTE-xml-i18n-bp-20080213/#relating-its-plus-xhtml">XML I18N Best Practices</ref> document.</p> </div> - <div xml:id="html5-standoff-markup-explanation"><head>Standoff Markup in HTML5</head> + <div xml:id="html5-standoff-markup-explanation"><head>Standoff markup in HTML5</head> <p>The <ref target="#provenance">Provenance</ref> and the <ref target="#lqissue">Localization Quality Issue</ref> data categories allow for using so-called standoff markup, see the XML <ptr target="#EX-provenance-global-1" type="exref"/>. In HTML such standoff markup is placed into a <code>script</code> element. If this is done, the constraints for <ref target="#provenance-records-in-html5-constraint">Provenance standoff</ref> markup in HTML and <ref target="#loc-quality-issues-in-html5-constraint">Localization quality issue</ref> markup in HTML need to be taken into account. Examples of standoff markup in HTML for the two data categories are <ptr target="#EX-provenance-html5-local-2" type="exref"/> and <ptr target="#EX-locQualityIssue-html5-local-2" type="exref"/>.</p></div> <div xml:id="usage-in-legacy-html"> <head>Version of HTML</head>
Received on Monday, 17 June 2013 10:46:14 UTC