- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 31 Aug 2012 19:59:03 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory hutz:/tmp/cvs-serv23593 Modified Files: its20.odd its20.html Log Message: Trying to implement http://lists.w3.org/Archives/Public/public-multilingualweb-lt/2012Aug/0355.html Index: its20.odd =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v retrieving revision 1.143 retrieving revision 1.144 diff -u -d -r1.143 -r1.144 --- its20.odd 31 Aug 2012 13:18:31 -0000 1.143 +++ its20.odd 31 Aug 2012 19:59:00 -0000 1.144 @@ -1912,14 +1912,14 @@ <p>The following table summarizes for each data category which selection, default value, and inheritance and overriding behavior applies.</p> <list type="unordered"> - <item><emph>Default values</emph> apply if both local or global selection are absent. The + <item><p xml:id="def-default-values"><emph>Default values</emph> apply if both local or global selection are absent. The default value for the <ref target="#trans-datacat">Translate</ref> data category for example - mandates that elements are translatable, and attributes are not translatable if there is no <gi>translateRule</gi> element and no <att type="class">translate</att> attribute available.</item> - <item><emph>Inheritance</emph> describes whether ITS information is applicable to child elements + mandates that elements are translatable, and attributes are not translatable if there is no <gi>translateRule</gi> element and no <att type="class">translate</att> attribute available.</p></item> + <item><p xml:id="def-inheritance"><emph>Inheritance</emph> describes whether ITS information is applicable to child elements of nodes and attributes related to these nodes or their child notes. The inheritance for the <ref target="#trans-datacat">Translate</ref> data category for example mandates that all child elements of nodes are translatable whereas all attributes related to these the nodes - or their child notes are not translatable.</item> - <item>For ITS data categories with inheritance, the information conveyed by the data category can be overridden. For example, a local <att>translate</att> attribute overrides the <ref target="#trans-datacat">Translate</ref> information conveyed by a global <gi>translateRule</gi>.</item></list> + or their child notes are not translatable.</p></item> + <item><p xml:id="def-overriding">For ITS data categories with inheritance, the information conveyed by the data category can be overridden. For example, a local <att>translate</att> attribute overrides the <ref target="#trans-datacat">Translate</ref> information conveyed by a global <gi>translateRule</gi>.</p></item></list> <note><p xml:id="its-information_versus_content">An ITS application is free to decide what pieces of content it uses. For example:</p> <list type="unordered"> @@ -1943,7 +1943,7 @@ <cell>Global adding of information</cell> <cell>Global pointing to existing information</cell> <cell>Default Values</cell> - <cell>Inheritance</cell> + <cell>Inheritance for elements nodes</cell> <cell>HTML5 examples</cell> </row> <row> @@ -2199,7 +2199,7 @@ <div xml:id="translatability-implementation"> <head>Implementation</head> <p>The <ref target="#trans-datacat">Translate</ref> data category can be expressed with global - rules, or locally on an individual element. The information applies to the textual content + rules, or locally on an individual element. For elements, the data category information <ref target="#def-inheritance">inherits</ref> to the textual content of the element, <emph>including</emph> child elements, but <emph>excluding</emph> attributes. The default is that elements are translatable and attributes are not.</p> @@ -2350,7 +2350,7 @@ <div xml:id="locNote-implementation"> <head>Implementation</head> <p>The <ref target="#locNote-datacat">Localization Note</ref> data category can be expressed - with global rules, or locally on an individual element. The information applies to the + with global rules, or locally on an individual element. For elements, the data category information <ref target="#def-inheritance">inherits</ref> to the textual content of the element, <emph>including</emph> child elements, but <emph>excluding</emph> attributes.</p> @@ -2787,7 +2787,7 @@ <note type="ed">Examples for HTML5 need to be added; some values need to added to <gi>dir</gi> to reflect HTML5.</note> <p>The <ref target="#directionality">Directionality</ref> data category can be expressed with - global rules, or locally on an individual element. The information applies to the textual + global rules, or locally on an individual element. For elements, the data category information <ref target="#def-inheritance">inherits</ref> to the textual content of the element, <emph>including</emph> child elements and attributes. The default is that both elements and attributes have the directionality of left-to-right.</p> <p xml:id="directionality-global">GLOBAL: The <gi>dirRule</gi> element contains the following:</p> @@ -3150,7 +3150,7 @@ <div xml:id="langinfo-implementation"> <head>Implementation</head> <p>The <ref target="#language-information">Language Information</ref> data category can be - expressed only with global rules. The information applies to the textual content of the + expressed only with global rules. For elements, the data category information <ref target="#def-inheritance">inherits</ref> to the textual content of the element, <emph>including</emph> child elements and attributes. There is no default.</p> @@ -3352,7 +3352,7 @@ <div xml:id="domain-implementation"> <head>Implementation</head> <p>The <ref target="#domain">Domain</ref> data category can be expressed only with global rules. - The information applies to the textual content of the element, <emph>including</emph> child + For elements, the data category information <ref target="#def-inheritance">inherits</ref> to the textual content of the element, <emph>including</emph> child elements and attributes. There is no default.</p> <p xml:id="domain-global">GLOBAL: The <gi>domainRule</gi> element contains the following:</p> @@ -3863,7 +3863,7 @@ <div xml:id="LocaleFilter-implementation"> <head>Implementation</head> <p>The <ref target="#LocaleFilter">Locale Filter</ref> data category can be expressed with - global rules, or locally on an individual element. The information applies to the textual + global rules, or locally on an individual element. For elements, the data category information <ref target="#def-inheritance">inherits</ref> to the textual content of the element, <emph>including</emph> child elements and attributes. The default is that the language range is <val>*</val>.</p> <p>Implementations <ref target="#rfc2119">MUST NOT</ref> combine lists of language ranges from @@ -4085,8 +4085,7 @@ <div xml:id="target-pointer-implementation"> <head>Implementation</head> <p>The <ref target="#target-pointer">Target Pointer</ref> data category can be expressed only - with global rules. The information applies to the textual content of the element. There is - no inheritance. There is no default.</p> + with global rules. There is no inheritance. There is no default.</p> <p xml:id="targetpointer-global">GLOBAL: The <gi>targetPointerRule</gi> element contains the following:</p> <list type="unordered"> @@ -4254,7 +4253,8 @@ <div xml:id="preservespace-implementation"> <head>Implementation</head> <p>The <ref target="#preservespace">Preserve Space</ref> data category can be expressed with - global rules, or locally using the <att>xml:space</att> attribute.</p> + global rules, or locally using the <att>xml:space</att> attribute. For elements, the data category information <ref target="#def-inheritance">inherits</ref> to the textual + content of the element, <emph>including</emph> child elements and attributes.</p> <note><p>The <ref target="#preservespace">Preserve Space</ref> data category is not applicable to HTML5 documents because <att>xml:space</att> (and by extension <ref target="#preservespace" >Preserve Space</ref>) has no effect in documents parsed as text/html.</p></note> @@ -4383,7 +4383,7 @@ <div xml:id="lqissue-implementation"> <head>Implementation</head> <p>The <ref target="#lqissue">Localization Quality Issue</ref> data category can be expressed with global rules, - or locally on individual elements. The information applies to the textual content of the element, + or locally on individual elements. For elements, the data category information <ref target="#def-inheritance">inherits</ref> to the textual content of the element, <emph>including</emph> child elements, but excluding attributes.</p> <p xml:id="lqissue-global">GLOBAL: The <gi>locQualityIssueRule</gi> element contains the following:</p> <list type="unordered"> @@ -4883,7 +4883,7 @@ <div xml:id="lqprecis-implementation"> <head>Implementation</head> <p>The <ref target="#lqprecis">Localization Quality Précis</ref> data category can be expressed with global rules, or locally - on individual elements. The information applies to the textual content of the element, <emph>including</emph> child elements, + on individual elements. For elements, the data category information <ref target="#def-inheritance">inherits</ref> to the textual content of the element, <emph>including</emph> child elements, but <emph>excluding</emph> attributes.</p> <p xml:id="lqprecis-global">GLOBAL: The <gi>locQualityPrecisRule</gi> element contains the following:</p> <list type="unordered"> Index: its20.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v retrieving revision 1.142 retrieving revision 1.143 diff -u -d -r1.142 -r1.143 --- its20.html 31 Aug 2012 13:18:30 -0000 1.142 +++ its20.html 31 Aug 2012 19:59:00 -0000 1.143 @@ -1108,19 +1108,21 @@ <em>This section is normative.</em> </p><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="datacategories-defaults-etc" id="datacategories-defaults-etc" shape="rect"/>6.1 Position, Defaults, Inheritance and Overriding of Data Categories</h3><p>The following table summarizes for each data category which selection, default value, and - inheritance and overriding behavior applies.</p><ul><li><p><em>Default values</em> apply if both local or global selection are absent. The + inheritance and overriding behavior applies.</p><ul><li><p id="def-default-values"> + <em>Default values</em> apply if both local or global selection are absent. The default value for the <a href="#trans-datacat" shape="rect">Translate</a> data category for example - mandates that elements are translatable, and attributes are not translatable if there is no <a class="itsmarkup" href="#translateRule" shape="rect">translateRule</a> element and no <a class="itsmarkup" href="#att.local.no-ns.attribute.translate" shape="rect">translate</a> attribute available.</p></li><li><p><em>Inheritance</em> describes whether ITS information is applicable to child elements + mandates that elements are translatable, and attributes are not translatable if there is no <a class="itsmarkup" href="#translateRule" shape="rect">translateRule</a> element and no <a class="itsmarkup" href="#att.local.no-ns.attribute.translate" shape="rect">translate</a> attribute available.</p></li><li><p id="def-inheritance"> + <em>Inheritance</em> describes whether ITS information is applicable to child elements of nodes and attributes related to these nodes or their child notes. The inheritance for the <a href="#trans-datacat" shape="rect">Translate</a> data category for example mandates that all child elements of nodes are translatable whereas all attributes related to these the nodes - or their child notes are not translatable.</p></li><li><p>For ITS data categories with inheritance, the information conveyed by the data category can be overridden. For example, a local <a class="itsmarkup" href="#att.local.no-ns.attribute.translate" shape="rect">translate</a> attribute overrides the <a href="#trans-datacat" shape="rect">Translate</a> information conveyed by a global <a class="itsmarkup" href="#translateRule" shape="rect">translateRule</a>.</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p id="its-information_versus_content">An ITS application is free to decide what pieces of content it uses. For + or their child notes are not translatable.</p></li><li><p id="def-overriding">For ITS data categories with inheritance, the information conveyed by the data category can be overridden. For example, a local <a class="itsmarkup" href="#att.local.no-ns.attribute.translate" shape="rect">translate</a> attribute overrides the <a href="#trans-datacat" shape="rect">Translate</a> information conveyed by a global <a class="itsmarkup" href="#translateRule" shape="rect">translateRule</a>.</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p id="its-information_versus_content">An ITS application is free to decide what pieces of content it uses. For example:</p><ul><li><p><a href="#terminology" shape="rect">Terminology</a> information is added to a <code>term</code> element. The information pertains only to the content of the element, since there is no inheritance for <a href="#terminology" shape="rect">Terminology</a>. Nevertheless an ITS application can make use of the complete element, e.g. including attribute nodes etc. </p></li><li><p>Using <a href="#idvalue" shape="rect">Id value</a>, a unique identifier is provided for a <code>p</code> element. An application can make use of the complete <code>p</code> element, including child nodes and attributes nodes. The application is also free to make use just of the string value of <code>p</code>. Nevertheless the id provided via <a href="#idvalue" shape="rect">ID value</a> pertains only to the <code>p</code> element. It cannot be used to identify nested elements or attributes.</p></li><li><p>Using <a href="#target-pointer" shape="rect">target pointer</a>, selected <code>source</code> element have the ITS information that their translation is available in a <code>target</code> element; see <a href="#EX-target-pointer-global-1" shape="rect">Example 61</a>. This information does not inherit to child elements of <code>target pointer</code>. E.g., the translation of a <code>span</code> 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 rowspan="1" colspan="1">Data category</td><td rowspan="1" colspan="1">Local Usage</td><td rowspan="1" colspan="1">Global, rule-based selection</td><td rowspan="1" colspan="1">Global adding of information</td><td rowspan="1" colspan="1">Global pointing to existing information</td><td rowspan="1" colspan="1">Default Values</td><td rowspan="1" colspan="1">Inheritance</td><td rowspan="1" colspan="1">HTML5 examples</td></tr></thead><tbody><tr><td rowspan="1" colspan="1"> + 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 rowspan="1" colspan="1">Data category</td><td rowspan="1" colspan="1">Local Usage</td><td rowspan="1" colspan="1">Global, rule-based selection</td><td rowspan="1" colspan="1">Global adding of information</td><td rowspan="1" colspan="1">Global pointing to existing information</td><td rowspan="1" colspan="1">Default Values</td><td rowspan="1" colspan="1">Inheritance for elements nodes</td><td rowspan="1" colspan="1">HTML5 examples</td></tr></thead><tbody><tr><td rowspan="1" colspan="1"> <a href="#trans-datacat" shape="rect">Translate</a> </td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1"> <code>translate="yes"</code> for elements, and <code>translate="no"</code> for @@ -1171,7 +1173,7 @@ <a href="#lqissue" shape="rect">Localization Quality Issue</a> </td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">Textual content of element, <em>including</em> child elements, but excluding attributes</td><td rowspan="1" colspan="1">tbd</td></tr><tr><td rowspan="1" colspan="1"> <a href="#lqprecis" shape="rect">Localization Quality Précis</a> - </td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">Textual content of element, <em>including</em> child elements, but excluding attributes</td><td rowspan="1" colspan="1">tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3487" id="d3e3487" shape="rect"/>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 + </td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">Textual content of element, <em>including</em> child elements, but excluding attributes</td><td rowspan="1" colspan="1">tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3489" id="d3e3489" shape="rect"/>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" shape="rect">Translate</a> data category in elements is "yes". The content of <code>revision</code> and <a class="itsmarkup" href="#locNote" shape="rect">locNote</a> is not translatable because the default is overridden by the local <code>its:translate="no"</code> @@ -1213,7 +1215,7 @@ this data category are "yes" (translatable) or "no" (not translatable).</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="translatability-implementation" id="translatability-implementation" shape="rect"/>6.2.2 Implementation</h4><p>The <a href="#trans-datacat" shape="rect">Translate</a> data category can be expressed with global - rules, or locally on an individual element. The information applies to the textual content + rules, or locally on an individual element. For elements, the data category information <a href="#def-inheritance" shape="rect">inherits</a> to the textual content of the element, <em>including</em> child elements, but <em>excluding</em> attributes. The default is that elements are translatable and attributes are not.</p><p id="translate-global">GLOBAL: The <a class="itsmarkup" href="#translateRule" shape="rect">translateRule</a> element contains the following:</p><span class="editor-note">[Ed. note: <em>All</em> selector related definitions has to be update to reflect @@ -1279,7 +1281,7 @@ be made to recognize the difference between these two types of localization notes, and present the information to translators in different ways.</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="locNote-implementation" id="locNote-implementation" shape="rect"/>6.3.2 Implementation</h4><p>The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category can be expressed - with global rules, or locally on an individual element. The information applies to the + with global rules, or locally on an individual element. For elements, the data category information <a href="#def-inheritance" shape="rect">inherits</a> to the textual content of the element, <em>including</em> child elements, but <em>excluding</em> attributes.</p><p id="localizationnote-global">GLOBAL: The <a class="itsmarkup" href="#locNoteRule" shape="rect">locNoteRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteType</a> attribute with the value "description" or "alert".</p></li><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#locNote" shape="rect">locNote</a> element that contains the note itself and allows for <a href="#selection-local" shape="rect">local ITS markup</a>.</p></li><li><p>A <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNotePointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that holds the localization @@ -1339,7 +1341,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" shape="rect">examples/xml/EX-locNoteRef-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3972" id="d3e3972" shape="rect"/>Example 31: The <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a> attribute</div><p>The <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a> attribute contains a <a href="#selectors" shape="rect">relative +</myRes></pre></div><p>[Source file: <a href="examples/xml/EX-locNoteRef-attribute-1.xml" shape="rect">examples/xml/EX-locNoteRef-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3980" id="d3e3980" shape="rect"/>Example 31: The <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a> attribute</div><p>The <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a> attribute contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that holds the URI referring to the location of the note.</p><div class="exampleInner"><pre xml:space="preserve"> <dataFile @@ -1361,7 +1363,7 @@ itself.</p></li><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteRef" shape="rect">locNoteRef</a> attribute that 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" shape="rect">locNoteType</a> attribute with the value "description" or "alert". If the <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteType" shape="rect">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="d3e4034" id="d3e4034" shape="rect"/>Example 32: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed + assumed to be "description". </p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4042" id="d3e4042" shape="rect"/>Example 32: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed locally</div><div class="exampleInner"><pre xml:space="preserve"> <msgList xmlns:its="http://www.w3.org/2005/11/its" xml:space="preserve" @@ -1375,7 +1377,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" shape="rect">examples/xml/EX-locNote-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4047" id="d3e4047" shape="rect"/>Example 33: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed +</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="d3e4055" id="d3e4055" 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> @@ -1425,7 +1427,7 @@ "no".</p></li><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that holds the terminology information.</p></li><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef" shape="rect">termInfoRef</a> attribute that contains a URI referring to the resource providing information about the term.</p></li><li><p>A <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoRefPointer</a> attribute that contains a <a href="#selectors" shape="rect">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="d3e4286" id="d3e4286" shape="rect"/>Example 34: Usage of the <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoPointer</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> + the URI referring to the location of the terminology information.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4294" id="d3e4294" shape="rect"/>Example 34: Usage of the <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoPointer</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1436,7 +1438,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" shape="rect">examples/xml/EX-terms-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4299" id="d3e4299" shape="rect"/>Example 35: Usage of the <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef" shape="rect">termInfoRef</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-1.xml" shape="rect">examples/xml/EX-terms-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4307" id="d3e4307" shape="rect"/>Example 35: Usage of the <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef" shape="rect">termInfoRef</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1447,7 +1449,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" shape="rect">examples/xml/EX-terms-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4312" id="d3e4312" shape="rect"/>Example 36: Usage of the <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoRefPointer</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-2.xml" shape="rect">examples/xml/EX-terms-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4320" id="d3e4320" shape="rect"/>Example 36: Usage of the <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoRefPointer</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1519,7 +1521,7 @@ </p></li></ul><p>More information about how to use this data category is provided by <a title="What you need to
							know about the bidi algorithm and inline markup" href="#bidiarticle" shape="rect">[Bidi Article]</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-implementation" id="directionality-implementation" shape="rect"/>6.5.2 Implementation</h4><span class="editor-note">[Ed. note: Examples for HTML5 need to be added; some values need to added to <code>dir</code> to reflect HTML5.]</span><p>The <a href="#directionality" shape="rect">Directionality</a> data category can be expressed with - global rules, or locally on an individual element. The information applies to the textual + global rules, or locally on an individual element. For elements, the data category information <a href="#def-inheritance" shape="rect">inherits</a> to the textual content of the element, <em>including</em> child elements and attributes. The default is that both elements and attributes have the directionality of left-to-right.</p><p id="directionality-global">GLOBAL: The <a class="itsmarkup" href="#dirRule" shape="rect">dirRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#dirRule.attributes" shape="rect">dir</a> attribute with the value "ltr", "rtl", "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-dir-selector-1.xml" id="EX-dir-selector-1.xml" shape="rect"/>Example 39: Document which needs global rules for directionality</div><p>In this document the right-to-left directionality is marked using a <code>direction</code> @@ -1536,7 +1538,7 @@ xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:dirRule dir="rtl" selector="//*[@direction='rtlText']"/> </its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-2.xml" shape="rect">examples/xml/EX-dir-selector-2.xml</a>]</p></div><p id="directionality-local">LOCAL: The following local markup is available for the <a href="#directionality" shape="rect">Directionality</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.dir" shape="rect">dir</a> attribute with the value "ltr", "rtl", - "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4657" id="d3e4657" shape="rect"/>Example 41: The <a href="#directionality" shape="rect">Directionality</a> data category expressed + "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4668" id="d3e4668" shape="rect"/>Example 41: The <a href="#directionality" shape="rect">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 xml:space="preserve"> <text @@ -1547,7 +1549,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" shape="rect">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4681" id="d3e4681" shape="rect"/>Example 42: The <a href="#directionality" shape="rect">Directionality</a> data category expressed locally +</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="d3e4692" id="d3e4692" 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> @@ -1658,7 +1660,7 @@ for language identification and encompasses <a title="Tags for the Identification of
						Languages" href="#rfc3066" shape="rect">[RFC 3066]</a> and its successors.)</p></div><span class="editor-note">[Ed. note: Add something about HTML5 lang]</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="langinfo-implementation" id="langinfo-implementation" shape="rect"/>6.7.2 Implementation</h4><p>The <a href="#language-information" shape="rect">Language Information</a> data category can be - expressed only with global rules. The information applies to the textual content of the + expressed only with global rules. For elements, the data category information <a href="#def-inheritance" shape="rect">inherits</a> to the textual content of the element, <em>including</em> child elements and attributes. There is no default.</p><p id="languageinformation-global">GLOBAL: The <a class="itsmarkup" href="#langRule" shape="rect">langRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#langRule.attributes" shape="rect">langPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that contains language information.</p></li></ul></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="langinfo-markup" id="langinfo-markup" shape="rect"/>6.7.3 Markup Declarations for Language Information</h4><dl><dt class="label">langRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="langRule" id="langRule" shape="rect"/>[94] </td><td rowspan="1" colspan="1"><code>langRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> element its:langRule { langRule.content, <a href="#langRule.attributes" shape="rect">langRule.attributes</a> }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="langRule.content" id="langRule.content" shape="rect"/>[95] </td><td rowspan="1" colspan="1"><code>langRule.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="langRule.attributes" id="langRule.attributes" shape="rect"/>[96] </td><td rowspan="1" colspan="1"><code>langRule.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> @@ -1686,7 +1688,7 @@ <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-implementation" id="within-text-implementation" shape="rect"/>6.8.2 Implementation</h4><p>The <a href="#elements-within-text" shape="rect">Elements Within Text</a> data category can be expressed with global rules, or locally on an individual element. There is no inheritance. The default is that elements are not within text.</p><p id="withintext-global">GLOBAL: The <a class="itsmarkup" href="#withinTextRule" shape="rect">withinTextRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">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" shape="rect">withinText</a> attribute with the value "yes", - "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e5362" id="d3e5362" shape="rect"/>Example 46: Specifying elements within text with a <a class="itsmarkup" href="#withinTextRule" shape="rect">withinTextRule</a> element</div><div class="exampleInner"><pre xml:space="preserve"> + "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e5376" id="d3e5376" shape="rect"/>Example 46: Specifying elements within text with a <a class="itsmarkup" href="#withinTextRule" shape="rect">withinTextRule</a> element</div><div class="exampleInner"><pre xml:space="preserve"> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:withinTextRule withinText="yes" selector="//b | //em | //i"/> @@ -1736,7 +1738,7 @@ associate values in content with consumer tool specific values needed for processing domain information.</p></li></ul></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="domain-implementation" id="domain-implementation" shape="rect"/>6.9.2 Implementation</h4><p>The <a href="#domain" shape="rect">Domain</a> data category can be expressed only with global rules. - The information applies to the textual content of the element, <em>including</em> child + For elements, the data category information <a href="#def-inheritance" shape="rect">inherits</a> to the textual content of the element, <em>including</em> child elements and attributes. There is no default.</p><p id="domain-global">GLOBAL: The <a class="itsmarkup" href="#domainRule" shape="rect">domainRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#domainRule.attributes" shape="rect">domainPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that contains the domain information.</p></li><li><p>An optional <a class="itsmarkup" href="#domainRule.attributes" shape="rect">domainMapping</a> attribute that contains a comma separated list of mappings between values in the content and consumer tool specific values. The left part @@ -2014,7 +2016,7 @@ for the language range. To express that the content should not be included in any local, one can use the empty value.</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="LocaleFilter-implementation" id="LocaleFilter-implementation" shape="rect"/>6.11.2 Implementation</h4><p>The <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category can be expressed with - global rules, or locally on an individual element. The information applies to the textual + global rules, or locally on an individual element. For elements, the data category information <a href="#def-inheritance" shape="rect">inherits</a> to the textual content of the element, <em>including</em> child elements and attributes. The default is that the language range is "*".</p><p>Implementations <a href="#rfc2119" shape="rect">MUST NOT</a> combine lists of language ranges from multiple rules or local attributes.</p><p id="localefilter-global">GLOBAL: The <a class="itsmarkup" href="#localeFilterRule" shape="rect">localeFilterRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">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.localeFilterList" shape="rect">localeFilterList</a> attribute with a comma-separated list of @@ -2164,8 +2166,7 @@ See the best practices “<a href="http://www.w3.org/TR/2008/NOTE-xml-i18n-bp-20080213/#DevMLDoc" shape="rect">Working with multilingual documents</a>” from <a title="Best Practices for XML
						Internationalization" href="#xml-i18n-bp" shape="rect">[XML i18n BP]</a> for further guidance.</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="target-pointer-implementation" id="target-pointer-implementation" shape="rect"/>6.15.2 Implementation</h4><p>The <a href="#target-pointer" shape="rect">Target Pointer</a> data category can be expressed only - with global rules. The information applies to the textual content of the element. There is - no inheritance. There is no default.</p><p id="targetpointer-global">GLOBAL: The <a class="itsmarkup" href="#targetPointerRule" shape="rect">targetPointerRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#targetPointerRule.attributes" shape="rect">targetPointer</a> attribute. It contains a <a href="#selectors" shape="rect">relative selector</a> that points to the node for the target content + with global rules. There is no inheritance. There is no default.</p><p id="targetpointer-global">GLOBAL: The <a class="itsmarkup" href="#targetPointerRule" shape="rect">targetPointerRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#targetPointerRule.attributes" shape="rect">targetPointer</a> attribute. It contains a <a href="#selectors" shape="rect">relative selector</a> that points to the node for the target content corresponding to the selected source node.</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>The source node and the target node may be of different types, but the target node must be able to contain the same content of the source node (e.g. an attribute node cannot be the target node of a source node that is an element with children).</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-target-pointer-global-1" id="EX-target-pointer-global-1" shape="rect"/>Example 61: Defining the target location of a source content with the <a class="itsmarkup" href="#targetPointerRule" shape="rect">targetPointerRule</a> @@ -2277,7 +2278,8 @@ "default" and "preserve" and carry the same meaning as the corresponding values of the xml:space attribute. The default value is "default".</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="preservespace-implementation" id="preservespace-implementation" shape="rect"/>6.17.2 Implementation</h4><p>The <a href="#preservespace" shape="rect">Preserve Space</a> data category can be expressed with - global rules, or locally using the <code>xml:space</code> attribute.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The <a href="#preservespace" shape="rect">Preserve Space</a> data category is not applicable to + global rules, or locally using the <code>xml:space</code> attribute. For elements, the data category information <a href="#def-inheritance" shape="rect">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" shape="rect">Preserve Space</a> data category is not applicable to HTML5 documents because <code>xml:space</code> (and by extension <a href="#preservespace" shape="rect">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" shape="rect">preserveSpaceRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#preserveSpaceRule.attributes" shape="rect">space</a> attribute with the value "default" or "preserve".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-perservespace-global-1" id="EX-perservespace-global-1" shape="rect"/>Example 65: The <a href="#preservespace" shape="rect">Preserve Space</a> data category expressed globally</div><p>The <a class="itsmarkup" href="#preserveSpaceRule" shape="rect">preserveSpaceRule</a> element specifies that whitespace in all verse elements must be treated literally.</p><div class="exampleInner"><pre xml:space="preserve"> @@ -2336,7 +2338,7 @@ original value can be passed along using a custom namespace for XML, or a <code>data-</code> attribute for HTML.</td></tr><tr><td rowspan="1" colspan="1">Profile Reference</td><td rowspan="1" colspan="1">A reference to a document describing the quality assessment model used for the issue.</td><td rowspan="1" colspan="1">A URI pointing to the reference document.</td><td rowspan="1" colspan="1">The use of resolvable URI is strongly recommended as it provides a way for human evaluators to learn more about the quality issues in use.</td></tr></tbody></table></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-implementation" id="lqissue-implementation" shape="rect"/>6.18.2 Implementation</h4><p>The <a href="#lqissue" shape="rect">Localization Quality Issue</a> data category can be expressed with global rules, - or locally on individual elements. The information applies to the textual content of the element, + or locally on individual elements. For elements, the data category information <a href="#def-inheritance" shape="rect">inherits</a> to the textual content of the element, <em>including</em> child elements, but excluding attributes.</p><p id="lqissue-global">GLOBAL: The <a class="itsmarkup" href="#locQualityIssueRule" shape="rect">locQualityIssueRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>At least one of the following:</p><ul><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssuesRef" shape="rect">locQualityIssuesRef</a> attribute. Its value is a URI pointing to the <a class="itsmarkup" href="#locQualityIssues" shape="rect">locQualityIssues</a> element containing the list of issues related to this content.</p></li><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssuesRefPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssuesRef" shape="rect">locQualityIssuesRef</a>.</p></li></ul></li><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType" shape="rect">locQualityIssueType</a> attribute that implements the <a href="#lqissueDefs" shape="rect">type information</a>.</p></li><li><p>A <a class="itsmarkup" href="#locQualityIssueRule.attributes" shape="rect">locQualityIssueTypePointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> @@ -2705,7 +2707,7 @@ constitutes a passing score or vote. It also allows to point to a profile describing the quality assessment model used for the scoring or the voting.</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="lqprecis-implementation" id="lqprecis-implementation" shape="rect"/>6.19.2 Implementation</h4><p>The <a href="#lqprecis" shape="rect">Localization Quality Précis</a> data category can be expressed with global rules, or locally - on individual elements. The information applies to the textual content of the element, <em>including</em> child elements, + on individual elements. For elements, the data category information <a href="#def-inheritance" shape="rect">inherits</a> to the textual content of the element, <em>including</em> child elements, but <em>excluding</em> attributes.</p><p id="lqprecis-global">GLOBAL: The <a class="itsmarkup" href="#locQualityPrecisRule" shape="rect">locQualityPrecisRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>Exactly one of the following:</p><ul><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.locqualityprecis.attribute.locQualityPrecisScore" shape="rect">locQualityPrecisScore</a> attribute. Its value is an integer between 0 and 100 (inclusive) with higher values indicating a better score.</p></li><li><p>A <a class="itsmarkup" href="#locQualityPrecisRule.attributes" shape="rect">locQualityPrecisScorePointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> @@ -3241,7 +3243,7 @@ <h2><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="its-schematron-constraints" id="its-schematron-constraints" shape="rect"/>F Checking ITS Markup Constraints With Schematron (Non-Normative)</h2><p> <em>This section is informative.</em> </p><p>Several constraints of ITS markup cannot be validated with ITS schemas. The following <a title="Rule-based validation -- Schematron" href="#schematron" shape="rect">[Schematron]</a> document allows for validating some of these - constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9803" id="d3e9803" shape="rect"/>Example 82: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"> + constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9835" id="d3e9835" shape="rect"/>Example 82: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"> <sch:schema xmlns:sch="http://www.ascc.net/xml/schematron" > <!-- Schematron document to test constraints for global and local ITS markup. @@ -3308,7 +3310,7 @@ <em>This section is informative.</em> </p><p>The following <a title="Namespace-based Validation Dispatching Language (NVDL)" href="#nvdl" shape="rect">[NVDL]</a> document allows validation of ITS markup which has been added to a host vocabulary. Only ITS elements and attributes are checked. Elements and - attributes of host language are ignored during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9825" id="d3e9825" shape="rect"/>Example 83: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"> <namespace + attributes of host language are ignored during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9857" id="d3e9857" shape="rect"/>Example 83: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"> <namespace ns="http://www.w3.org/2005/11/its"> <validate schema="its-elements.rng"/> </namespace> <namespace ns="http://www.w3.org/2005/11/its" match="attributes"> <validate schema="its-attributes.rng"/> </namespace> <anyNamespace>
Received on Friday, 31 August 2012 19:59:07 UTC