- From: Jirka Kozek via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 16 Aug 2012 14:25:51 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory hutz:/tmp/cvs-serv27690
Modified Files:
its20.html its20.odd
Log Message:
Added links
Index: its20.odd
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- its20.odd 14 Aug 2012 14:12:36 -0000 1.105
+++ its20.odd 16 Aug 2012 14:25:48 -0000 1.106
@@ -1542,19 +1542,23 @@
</div>
<div>
<head>Relative selector</head>
- <p>The relative selector <ref target="#rfc-keywords">MUST</ref> use a
- RelativeLocationPath as described in <ref target="#xpath">XPath 1.0</ref>. The XPath expression is evaluated relative to the nodes selected by the
- selector attribute. The following attributes point to existing information:
- <att>locNotePointer</att>, <att>locNoteRefPointer</att>, <att>termInfoPointer</att>,
- <att>termInfoRefPointer</att>, <att>rubyPointer</att>, <att>rtPointer</att>,
- <att>rpPointer</att>, <att>rbcPointer</att>, <att>rtcPointer</att>,
- <att>rbspanPointer</att>, <att>langPointer</att>.</p>
+ <p>The relative selector <ref target="#rfc-keywords">MUST</ref> use a <ref
+ target="http://www.w3.org/TR/xpath/#NT-RelativeLocationPath"
+ >RelativeLocationPath</ref> as described in <ref target="#xpath">XPath 1.0</ref>.
+ The XPath expression is evaluated relative to the nodes selected by the selector
+ attribute. The following attributes point to existing information:
+ <att>locNotePointer</att>, <att>locNoteRefPointer</att>,
+ <att>termInfoPointer</att>, <att>termInfoRefPointer</att>, <att>rubyPointer</att>,
+ <att>rtPointer</att>, <att>rpPointer</att>, <att>rbcPointer</att>,
+ <att>rtcPointer</att>, <att>rbspanPointer</att>, <att>langPointer</att>.</p>
+ <note type="ed">Make sure that previous list of ..Pointer attributes is complete once
+ spec is stable.</note>
<p>Context for evaluatiation of the XPath expression is same as for absolute selector
with the following changes:</p>
<list>
<item>
- <p>Nodes selected by the expression in the <att>selector</att> attribute form the current
- node list.</p>
+ <p>Nodes selected by the expression in the <att>selector</att> attribute form the
+ current node list.</p>
</item>
<item>
<p>Context node comes from the current node list.</p>
@@ -1566,7 +1570,8 @@
<item>
<p>The context size comes from the size of the current node list.</p>
</item>
- </list></div>
+ </list>
+ </div>
</div>
<div>
<head>CSS Selectors</head>
Index: its20.html
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- its20.html 14 Aug 2012 14:12:36 -0000 1.107
+++ its20.html 16 Aug 2012 14:25:48 -0000 1.108
@@ -49,8 +49,8 @@
</div>
<div class="toc2">5.3 <a href="#selectors" shape="rect">Query Language of Selectors</a><div class="toc3">5.3.1 <a href="#queryLanguage" shape="rect">Choosing Query Language</a></div>
<div class="toc3">5.3.2 <a href="#d3e2362" shape="rect">XPath 1.0</a></div>
-<div class="toc3">5.3.3 <a href="#d3e2530" shape="rect">CSS Selectors</a></div>
-<div class="toc3">5.3.4 <a href="#d3e2566" shape="rect">Additional query languages</a></div>
+<div class="toc3">5.3.3 <a href="#d3e2536" shape="rect">CSS Selectors</a></div>
+<div class="toc3">5.3.4 <a href="#d3e2572" shape="rect">Additional query languages</a></div>
<div class="toc3">5.3.5 <a href="#its-param" shape="rect">Variables in selectors</a></div>
</div>
<div class="toc2">5.4 <a href="#link-external-rules" shape="rect">Link to External Rules</a></div>
@@ -896,26 +896,27 @@
xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:termRule selector="//term" term="yes"/>
</its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-selection-global-2.xml" shape="rect">examples/xml/EX-selection-global-2.xml</a>]</p></div></div><div class="div4">
-<h5><a name="d3e2466" id="d3e2466" shape="rect"/>5.3.2.2Relative selector</h5><p>The relative selector <a href="#rfc-keywords" shape="rect">MUST</a> use a
- RelativeLocationPath as described in <a href="#xpath" shape="rect">XPath 1.0</a>. The XPath expression is evaluated relative to the nodes selected by the
- selector attribute. The following attributes point to existing information:
- <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNotePointer</a>, <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a>, <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoPointer</a>,
- <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoRefPointer</a>, <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rubyPointer</a>, <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rtPointer</a>,
- <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rpPointer</a>, <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rbcPointer</a>, <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rtcPointer</a>,
- <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rbspanPointer</a>, <a class="itsmarkup" href="#langRule.attributes" shape="rect">langPointer</a>.</p><p>Context for evaluatiation of the XPath expression is same as for absolute selector
- with the following changes:</p><ul><li><p>Nodes selected by the expression in the <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute form the current
- node list.</p></li><li><p>Context node comes from the current node list.</p></li><li><p>The context position comes from the position of the current node in the current
+<h5><a name="d3e2466" id="d3e2466" shape="rect"/>5.3.2.2Relative selector</h5><p>The relative selector <a href="#rfc-keywords" shape="rect">MUST</a> use a <a href="http://www.w3.org/TR/xpath/#NT-RelativeLocationPath" shape="rect">RelativeLocationPath</a> as described in <a href="#xpath" shape="rect">XPath 1.0</a>.
+ The XPath expression is evaluated relative to the nodes selected by the selector
+ attribute. The following attributes point to existing information:
+ <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNotePointer</a>, <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a>,
+ <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoPointer</a>, <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoRefPointer</a>, <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rubyPointer</a>,
+ <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rtPointer</a>, <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rpPointer</a>, <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rbcPointer</a>,
+ <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rtcPointer</a>, <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rbspanPointer</a>, <a class="itsmarkup" href="#langRule.attributes" shape="rect">langPointer</a>.</p><span class="editor-note">[Ed. note: Make sure that previous list of ..Pointer attributes is complete once
+ spec is stable.]</span><p>Context for evaluatiation of the XPath expression is same as for absolute selector
+ with the following changes:</p><ul><li><p>Nodes selected by the expression in the <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute form the
+ current node list.</p></li><li><p>Context node comes from the current node list.</p></li><li><p>The context position comes from the position of the current node in the current
node list; the first position is 1.</p></li><li><p>The context size comes from the size of the current node list.</p></li></ul></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="d3e2530" id="d3e2530" shape="rect"/>5.3.3 CSS Selectors</h4><p>CSS Selectors are identified by <code>css</code> value in <a class="itsmarkup" href="#rules.attributes" shape="rect">queryLanguage</a>
+<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="d3e2536" id="d3e2536" shape="rect"/>5.3.3 CSS Selectors</h4><p>CSS Selectors are identified by <code>css</code> value in <a class="itsmarkup" href="#rules.attributes" shape="rect">queryLanguage</a>
attribute.</p><div class="div4">
-<h5><a name="d3e2541" id="d3e2541" shape="rect"/>5.3.3.1Absolute selector</h5><p>Absolute selector <a href="#rfc-keywords" shape="rect">MUST</a> be interpreted as selector as
+<h5><a name="d3e2547" id="d3e2547" shape="rect"/>5.3.3.1Absolute selector</h5><p>Absolute selector <a href="#rfc-keywords" shape="rect">MUST</a> be interpreted as selector as
defined in <a href="#css3-selectors" shape="rect">Selectors Level 3</a>. Both simple
selectors and groups of selectors can be used.</p></div><div class="div4">
-<h5><a name="d3e2552" id="d3e2552" shape="rect"/>5.3.3.2Relative selector</h5><p>Relative selector <a href="#rfc-keywords" shape="rect">MUST</a> be interpreted as selector
+<h5><a name="d3e2558" id="d3e2558" shape="rect"/>5.3.3.2Relative selector</h5><p>Relative selector <a href="#rfc-keywords" shape="rect">MUST</a> be interpreted as selector
as defined in <a href="#css3-selectors" shape="rect">Selectors Level 3</a>. Selector is not
evaluated against the complete document tree but only against subtrees rooted at
nodes selected by selector in the <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute.</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="d3e2566" id="d3e2566" shape="rect"/>5.3.4 Additional query languages</h4><p>ITS processors <a href="#rfc-keywords" shape="rect">MAY</a> support additional query languages.
+<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="d3e2572" id="d3e2572" shape="rect"/>5.3.4 Additional query languages</h4><p>ITS processors <a href="#rfc-keywords" shape="rect">MAY</a> support additional query languages.
For each additional query language processor <a href="#rfc-keywords" shape="rect">MUST</a>
define:<ul><li><p>identifier of query language used in <a class="itsmarkup" href="#rules.attributes" shape="rect">queryLanguage</a>;</p></li><li><p>rules for evaluating absolute selector to collection of nodes;</p></li><li><p>rules for evaluating relative selector to collection of nodes.</p></li></ul>
</p><p>Future versions of this specification <a href="#rfc-keywords" shape="rect">MAY</a> define
@@ -969,7 +970,7 @@
<its:termRule selector="//term" term="yes"/>
<its:withinTextRule withinText="yes" selector="//term | //b"/>
</its:rules>
-</myFormatInfo></pre></div><p>[Source file: <a href="examples/xml/EX-link-external-rules-1.xml" shape="rect">examples/xml/EX-link-external-rules-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2734" id="d3e2734" shape="rect"/>Example 20: Document with a link to EX-link-external-rules-1.xml</div><div class="exampleInner"><pre xml:space="preserve">
+</myFormatInfo></pre></div><p>[Source file: <a href="examples/xml/EX-link-external-rules-1.xml" shape="rect">examples/xml/EX-link-external-rules-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2740" id="d3e2740" shape="rect"/>Example 20: Document with a link to EX-link-external-rules-1.xml</div><div class="exampleInner"><pre xml:space="preserve">
<myDoc
xmlns:its="http://www.w3.org/2005/11/its"
xmlns:xlink="http://www.w3.org/1999/xlink" >
@@ -984,7 +985,7 @@
<p>A <term>Palouse horse</term> has a spotted coat.</p>
</body>
</myDoc></pre></div><p>[Source file: <a href="examples/xml/EX-link-external-rules-2.xml" shape="rect">examples/xml/EX-link-external-rules-2.xml</a>]</p></div><p>The result of processing the two documents above is the same as processing the following
- document.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2746" id="d3e2746" shape="rect"/>Example 21: Document with identical rules as in the case of included rules</div><div class="exampleInner"><pre xml:space="preserve">
+ document.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2752" id="d3e2752" shape="rect"/>Example 21: Document with identical rules as in the case of included rules</div><div class="exampleInner"><pre xml:space="preserve">
<myDoc
xmlns:its="http://www.w3.org/2005/11/its" >
<header>
@@ -1014,7 +1015,7 @@
one document, the selection defined by the last takes precedence.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>ITS
does not define precedence related to rules defined or linked based on non-ITS mechanisms
(such as processing instructions for linking rules).</p></div></li><li><p>Selections via defaults for data categories, see <a class="section-ref" href="#datacategories-defaults-etc" shape="rect">Section 6.1: Position, Defaults, Inheritance and Overriding of Data Categories</a></p></li></ol><p>In case of conflicts between global selections via multiple <a href="#selection-global" shape="rect">rules</a> elements, the last rule has higher precedence.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The precedence order fulfills the same purpose as the built-in template rules of <a title="XSL Transformations (XSLT) Version
						1.0" href="#xslt10" shape="rect">[XSLT 1.0]</a>. Override semantics are always complete, that is all
- information that is specified in one rule element is overridden by the next one.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2838" id="d3e2838" shape="rect"/>Example 22: Conflicts between selections of ITS information which are resolved using the precedence
+ information that is specified in one rule element is overridden by the next one.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2844" id="d3e2844" shape="rect"/>Example 22: Conflicts between selections of ITS information which are resolved using the precedence
order</div><p>The two elements <code>title</code> and <code>author</code> of this document should be treated as
separate content when inside a <code>prolog</code> element, but as part of the content of their
parent element otherwise. In order to make this distinction two <a class="itsmarkup" href="#withinTextRule" shape="rect">withinTextRule</a>
@@ -1135,7 +1136,7 @@
<a href="#target-pointer" shape="rect">Target Pointer</a>
</td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">Not applicable</td></tr><tr><td rowspan="1" colspan="1">
<a href="#idvalue" shape="rect">Id Value</a>
- </td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">Not applicable</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3306" id="d3e3306" 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">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">No</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">Not applicable</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3312" id="d3e3312" 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> attribute in
@@ -1304,7 +1305,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="d3e3791" id="d3e3791" 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
+</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="d3e3797" id="d3e3797" 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
xmlns:its="http://www.w3.org/2005/11/its" >
@@ -1325,7 +1326,7 @@
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="d3e3853" id="d3e3853" shape="rect"/>Example 32: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed
+ "description". </p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3859" id="d3e3859" 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"
@@ -1339,7 +1340,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="d3e3866" id="d3e3866" 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="d3e3872" id="d3e3872" 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>
@@ -1389,7 +1390,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="d3e4105" id="d3e4105" 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">
+ terminology information.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4111" id="d3e4111" 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">
@@ -1400,7 +1401,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="d3e4118" id="d3e4118" 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="d3e4124" id="d3e4124" 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">
@@ -1411,7 +1412,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="d3e4131" id="d3e4131" 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="d3e4137" id="d3e4137" 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">
@@ -1497,7 +1498,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>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="d3e4476" id="d3e4476" 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="d3e4482" id="d3e4482" 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
@@ -1508,7 +1509,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="d3e4500" id="d3e4500" 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="d3e4506" id="d3e4506" 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>
@@ -1666,7 +1667,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>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="d3e5342" id="d3e5342" 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="d3e5348" id="d3e5348" 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"/>
@@ -2298,7 +2299,7 @@
</p></li></ul></div><div class="div1">
<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"/>E 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="d3e7470" id="d3e7470" shape="rect"/>Example 61: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve">
+ </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="d3e7476" id="d3e7476" shape="rect"/>Example 61: 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.
@@ -2365,7 +2366,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="d3e7492" id="d3e7492" shape="rect"/>Example 62: 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="d3e7498" id="d3e7498" shape="rect"/>Example 62: 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 Thursday, 16 August 2012 14:25:57 UTC