- From: Jirka Kozek via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 15 Oct 2012 13:05:35 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory hutz:/tmp/cvs-serv26613
Modified Files:
its20.html its20.odd
Log Message:
Separate conformance statements for HTML
Index: its20.odd
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v
retrieving revision 1.184
retrieving revision 1.185
diff -u -d -r1.184 -r1.185
--- its20.odd 15 Oct 2012 09:52:27 -0000 1.184
+++ its20.odd 15 Oct 2012 13:05:33 -0000 1.185
@@ -988,12 +988,15 @@
</p>
<p>The usage of the term <emph>conformance clause</emph> in this section is in
compliance with <ptr target="#qa-framework" type="bibref"/>.</p>
- <p>This specification defines two types of conformance: conformance of <ref
- target="#conformance-product-schema">1) ITS markup declarations</ref> , and
- conformance of <ref target="#conformance-product-processing-expectations">2)
- processing expectations for ITS Markup</ref>. These conformance types
- complement each other. An implementation of this specification <ref
- target="#rfc2119">MAY</ref> use them separately or together.</p>
+ <p>This specification defines three types of conformance: conformance of <ref
+ target="#conformance-product-schema">1) ITS markup declarations</ref> , conformance of
+ <ref target="#conformance-product-processing-expectations">2) processing expectations
+ for ITS Markup</ref> and conformance of <ref target="#conformance-product-html-processing-expectations">3)
+ processing expectations for ITS Markup in HTML</ref>. Also special <ref
+ target="#conformance-class-html5-its">conformance class</ref> is defined for using ITS markup in
+ HTML5 document which servers as an applicable specification for HTML5+ITS. These conformance types
+ and classes complement each other. An implementation of this specification <ref target="#rfc2119"
+ >MAY</ref> use them separately or together.</p>
<div xml:id="conformance-product-schema">
<head>Conformance Type 1: ITS Markup Declarations</head>
<p><emph>Description:</emph> ITS markup declarations encompass all declarations
@@ -1077,7 +1080,7 @@
</div>
<div xml:id="conformance-product-processing-expectations">
<head>Conformance Type 2: The Processing Expectations for ITS Markup</head>
- <p/>
+ <note type="ed">All traces of HTML has to be removed if we will proceed with CT 3 and HTML+ITS CC.</note>
<p><emph>Description:</emph> Processors need to compute the ITS information that
pertains to a node in an XML or HTML5 document. The ITS processing
expectations define how the computation has to be carried out. Correct
@@ -1170,6 +1173,88 @@
<note type="ed">Need to update link to test suite once the test suite is
moved.</note>
</div>
+ <div xml:id="conformance-product-html-processing-expectations">
+ <head>Conformance Type 3: Processing Expectations for ITS Markup in HTML</head>
+
+ <p><emph>Description:</emph> Processors need to compute the ITS information that
+ pertains to a node in a HTML5 document. The ITS processing
+ expectations define how the computation has to be carried out. Correct
+ computation involves support for <ref target="#def-selection">selection
+ mechanism</ref>, <ref target="#datacategories-defaults-etc">defaults /
+ inheritance / overriding characteristics</ref>, and <ref
+ target="#html5-selection-precedence">precedence</ref>.</p>
+ <p><emph>Definitions related to this conformance type:</emph> The processing expectations
+ for ITS markup make use of selection mechanisms defined in <ptr target="#its-processing"
+ type="specref"/>. The individual data categories defined in <ptr
+ target="#datacategory-description" type="specref"/> have <ref
+ target="#datacategories-defaults-etc">defaults / inheritance / overriding
+ characteristics</ref>, and allow for using ITS markup in various positions (<ref
+ target="#html5-local-attributes">local</ref>, <ref
+ target="#html5-external-global-rules">external global</ref> and <ref
+ target="#html5-inline-global-rules">inline global</ref>).</p>
+ <p><emph>Who uses this conformance type:</emph> Applications that need to
+ process the nodes captured by a data category for internationalization or
+ localization. Examples of this type of application are: ITS markup-aware
+ editors, or translation tools that make use of ITS markup to filter
+ translatable text as an input to the localization process.</p>
+ <note>
+ <p> Application-specific processing (that is processing that goes beyond the
+ computation of ITS information for a node) such as automated filtering
+ of translatable content based on the <ref target="#trans-datacat"
+ >Translate</ref> data category is not covered by the conformance
+ clauses below.</p>
+ </note>
+ <p>
+ <emph>Conformance clauses:</emph>
+ </p>
+ <list type="unordered">
+ <item><p xml:id="its-conformance-3-1"><emph>3-1:</emph> A processor <ref
+ target="#rfc-keywords"> MUST</ref> implement at least
+ <emph>one</emph>
+ <ref target="#def-datacat">data category</ref>. For each implemented
+ <ref target="#def-datacat">data category</ref>, the following
+ <ref target="#rfc-keywords">MUST</ref> be taken into
+ account:</p><list>
+ <item><p xml:id="its-conformance-3-1-1"><emph>3-1-1:</emph>
+ processing of at least one selection mechanism (<ref
+ target="#selection-global">global</ref> or <ref
+ target="#selection-local">local</ref>).</p></item>
+ <item><p xml:id="its-conformance-3-1-2"><emph>3-1-2:</emph> the <ref
+ target="#datacategories-defaults-etc">default selections
+ for the data category</ref>.</p></item>
+ <item><p xml:id="its-conformance-3-1-3"><emph>3-1-3:</emph> the
+ precedence definitions for selections defined in <ptr
+ target="#html5-selection-precedence" type="specref"/>, for the
+ type of selections it processes.</p></item>
+ </list></item>
+
+ <item><p xml:id="its-conformance-3-2"><emph>3-2:</emph> If an application claims to
+ process ITS markup for the global selection mechanism, it <ref
+ target="#rfc-keywords">MUST</ref> process a <att>href</att> attribute found on a
+ <gi>link</gi> elements which has a <code>rel</code> attribute with the value
+ <code>its-rules</code>.</p></item>
+ <item><p xml:id="its-conformance-3-3"><emph>3-3:</emph> If an application
+ claims to process ITS markup implementing the conformance clauses
+ 3-1, 3-2 and 3-3, it <ref target="#rfc-keywords">MUST</ref> process
+ that markup within HTML5 documents.</p></item>
+ </list>
+ <p xml:id="its-html-processing-conformance-claims">Statements related to this
+ conformance type <ref target="#rfc-keywords">MUST</ref> list all <ref
+ target="#def-datacat">data categories</ref> they implement, and for each
+ <ref target="#def-datacat">data category</ref> which type of selection
+ they support.</p>
+ </div>
+ <div xml:id="conformance-class-html5-its">
+ <head>Conformance Class for HTML5+ITS documents</head>
+ <p>Conforming HTML5+ITS documents are those that comply with all the conformance criteria
+ for documents as defined in <ptr target="#html5" type="bibref"/> with the following exception:</p>
+ <list>
+ <item><ref target="http://dev.w3.org/html5/spec/single-page.html#global-attributes"
+ >Global attributes</ref> which can be used on all HTML elements are extended by
+ attributes for local data categories as defined in <ptr
+ target="#html5-local-attributes" type="specref"/>.</item>
+ </list>
+ </div>
</div>
<div xml:id="its-processing">
Index: its20.html
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -d -r1.187 -r1.188
--- its20.html 15 Oct 2012 09:52:27 -0000 1.187
+++ its20.html 15 Oct 2012 13:05:33 -0000 1.188
@@ -46,15 +46,17 @@
</div>
<div class="toc1">4 <a href="#conformance" shape="rect">Conformance</a><div class="toc2">4.1 <a href="#conformance-product-schema" shape="rect">Conformance Type 1: ITS Markup Declarations</a></div>
<div class="toc2">4.2 <a href="#conformance-product-processing-expectations" shape="rect">Conformance Type 2: The Processing Expectations for ITS Markup</a></div>
+<div class="toc2">4.3 <a href="#conformance-product-html-processing-expectations" shape="rect">Conformance Type 3: Processing Expectations for ITS Markup in HTML</a></div>
+<div class="toc2">4.4 <a href="#conformance-class-html5-its" shape="rect">Conformance Class for HTML5+ITS documents</a></div>
</div>
<div class="toc1">5 <a href="#its-processing" shape="rect">Processing of ITS information</a><div class="toc2">5.1 <a href="#its-version-attribute" shape="rect">Indicating the Version of ITS</a></div>
<div class="toc2">5.2 <a href="#datacategory-locations" shape="rect">Locations of Data Categories</a><div class="toc3">5.2.1 <a href="#selection-global" shape="rect">Global, Rule-based Selection</a></div>
<div class="toc3">5.2.2 <a href="#selection-local" shape="rect">Local Selection in an XML Document</a></div>
</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="#d3e1981" shape="rect">XPath 1.0</a></div>
-<div class="toc3">5.3.3 <a href="#d3e2161" shape="rect">CSS Selectors</a></div>
-<div class="toc3">5.3.4 <a href="#d3e2197" shape="rect">Additional query languages</a></div>
+<div class="toc3">5.3.2 <a href="#d3e2154" shape="rect">XPath 1.0</a></div>
+<div class="toc3">5.3.3 <a href="#d3e2334" shape="rect">CSS Selectors</a></div>
+<div class="toc3">5.3.4 <a href="#d3e2370" 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>
@@ -762,10 +764,12 @@
<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="conformance" id="conformance" shape="rect"/>4 Conformance</h2><p>
<em>This section is normative.</em>
</p><p>The usage of the term <em>conformance clause</em> in this section is in
- compliance with <a title="QA
								Framework: Specification Guidelines" href="#qa-framework" shape="rect">[QAFRAMEWORK]</a>.</p><p>This specification defines two types of conformance: conformance of <a href="#conformance-product-schema" shape="rect">1) ITS markup declarations</a> , and
- conformance of <a href="#conformance-product-processing-expectations" shape="rect">2)
- processing expectations for ITS Markup</a>. These conformance types
- complement each other. An implementation of this specification <a href="#rfc2119" shape="rect">MAY</a> use them separately or together.</p><div class="div2">
+ compliance with <a title="QA
								Framework: Specification Guidelines" href="#qa-framework" shape="rect">[QAFRAMEWORK]</a>.</p><p>This specification defines three types of conformance: conformance of <a href="#conformance-product-schema" shape="rect">1) ITS markup declarations</a> , conformance of
+ <a href="#conformance-product-processing-expectations" shape="rect">2) processing expectations
+ for ITS Markup</a> and conformance of <a href="#conformance-product-html-processing-expectations" shape="rect">3)
+ processing expectations for ITS Markup in HTML</a>. Also special <a href="#conformance-class-html5-its" shape="rect">conformance class</a> is defined for using ITS markup in
+ HTML5 document which servers as an applicable specification for HTML5+ITS. These conformance types
+ and classes complement each other. An implementation of this specification <a href="#rfc2119" shape="rect">MAY</a> use them separately or together.</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="conformance-product-schema" id="conformance-product-schema" shape="rect"/>4.1 Conformance Type 1: ITS Markup Declarations</h3><p>
<em>Description:</em> ITS markup declarations encompass all declarations
that are part of the Internationalization Tag Set. They do not concern the
@@ -809,7 +813,7 @@
already has a customization layer that uses parameter entities). The ITS
schemas in the format of XML DTD, XML Schema and RELAX NG in <a class="section-ref" href="#its-schemas" shape="rect">Appendix D: Schemas for ITS</a> are only informative
examples.</p></div></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="conformance-product-processing-expectations" id="conformance-product-processing-expectations" shape="rect"/>4.2 Conformance Type 2: The Processing Expectations for ITS Markup</h3><p/><p>
+<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="conformance-product-processing-expectations" id="conformance-product-processing-expectations" shape="rect"/>4.2 Conformance Type 2: The Processing Expectations for ITS Markup</h3><span class="editor-note">[Ed. note: All traces of HTML has to be removed if we will proceed with CT 3 and HTML+ITS CC.]</span><p>
<em>Description:</em> Processors need to compute the ITS information that
pertains to a node in an XML or HTML5 document. The ITS processing
expectations define how the computation has to be carried out. Correct
@@ -870,7 +874,54 @@
encouraged to organize their documentation in a similar way, so that
users of ITS 2.0 easily can understand the processing capabilities
availably.</p></div><span class="editor-note">[Ed. note: Need to update link to test suite once the test suite is
- moved.]</span></div></div><div class="div1">
+ moved.]</span></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="conformance-product-html-processing-expectations" id="conformance-product-html-processing-expectations" shape="rect"/>4.3 Conformance Type 3: Processing Expectations for ITS Markup in HTML</h3><p>
+ <em>Description:</em> Processors need to compute the ITS information that
+ pertains to a node in a HTML5 document. The ITS processing
+ expectations define how the computation has to be carried out. Correct
+ computation involves support for <a href="#def-selection" shape="rect">selection
+ mechanism</a>, <a href="#datacategories-defaults-etc" shape="rect">defaults /
+ inheritance / overriding characteristics</a>, and <a href="#html5-selection-precedence" shape="rect">precedence</a>.</p><p>
+ <em>Definitions related to this conformance type:</em> The processing expectations
+ for ITS markup make use of selection mechanisms defined in <a class="section-ref" href="#its-processing" shape="rect">Section 5: Processing of ITS information</a>. The individual data categories defined in <a class="section-ref" href="#datacategory-description" shape="rect">Section 6: Description of Data Categories</a> have <a href="#datacategories-defaults-etc" shape="rect">defaults / inheritance / overriding
+ characteristics</a>, and allow for using ITS markup in various positions (<a href="#html5-local-attributes" shape="rect">local</a>, <a href="#html5-external-global-rules" shape="rect">external global</a> and <a href="#html5-inline-global-rules" shape="rect">inline global</a>).</p><p>
+ <em>Who uses this conformance type:</em> Applications that need to
+ process the nodes captured by a data category for internationalization or
+ localization. Examples of this type of application are: ITS markup-aware
+ editors, or translation tools that make use of ITS markup to filter
+ translatable text as an input to the localization process.</p><div class="note"><p class="prefix"><b>Note:</b></p><p> Application-specific processing (that is processing that goes beyond the
+ computation of ITS information for a node) such as automated filtering
+ of translatable content based on the <a href="#trans-datacat" shape="rect">Translate</a> data category is not covered by the conformance
+ clauses below.</p></div><p>
+ <em>Conformance clauses:</em>
+ </p><ul><li><p id="its-conformance-3-1">
+ <em>3-1:</em> A processor <a href="#rfc-keywords" shape="rect"> MUST</a> implement at least
+ <em>one</em>
+ <a href="#def-datacat" shape="rect">data category</a>. For each implemented
+ <a href="#def-datacat" shape="rect">data category</a>, the following
+ <a href="#rfc-keywords" shape="rect">MUST</a> be taken into
+ account:</p><ul><li><p id="its-conformance-3-1-1">
+ <em>3-1-1:</em>
+ processing of at least one selection mechanism (<a href="#selection-global" shape="rect">global</a> or <a href="#selection-local" shape="rect">local</a>).</p></li><li><p id="its-conformance-3-1-2">
+ <em>3-1-2:</em> the <a href="#datacategories-defaults-etc" shape="rect">default selections
+ for the data category</a>.</p></li><li><p id="its-conformance-3-1-3">
+ <em>3-1-3:</em> the
+ precedence definitions for selections defined in <a class="section-ref" href="#html5-selection-precedence" shape="rect">Section 7.4: Precedence between Selections</a>, for the
+ type of selections it processes.</p></li></ul></li><li><p id="its-conformance-3-2">
+ <em>3-2:</em> If an application claims to
+ process ITS markup for the global selection mechanism, it <a href="#rfc-keywords" shape="rect">MUST</a> process a <code>href</code> attribute found on a
+ <code>link</code> elements which has a <code>rel</code> attribute with the value
+ <code>its-rules</code>.</p></li><li><p id="its-conformance-3-3">
+ <em>3-3:</em> If an application
+ claims to process ITS markup implementing the conformance clauses
+ 3-1, 3-2 and 3-3, it <a href="#rfc-keywords" shape="rect">MUST</a> process
+ that markup within HTML5 documents.</p></li></ul><p id="its-html-processing-conformance-claims">Statements related to this
+ conformance type <a href="#rfc-keywords" shape="rect">MUST</a> list all <a href="#def-datacat" shape="rect">data categories</a> they implement, and for each
+ <a href="#def-datacat" shape="rect">data category</a> which type of selection
+ they support.</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="conformance-class-html5-its" id="conformance-class-html5-its" shape="rect"/>4.4 Conformance Class for HTML5+ITS documents</h3><p>Conforming HTML5+ITS documents are those that comply with all the conformance criteria
+ for documents as defined in <a title="HTML5 – A vocabulary and
								associated APIs for HTML and XHTML" href="#html5" shape="rect">[HTML5]</a> with the following exception:</p><ul><li><p><a href="http://dev.w3.org/html5/spec/single-page.html#global-attributes" shape="rect">Global attributes</a> which can be used on all HTML elements are extended by
+ attributes for local data categories as defined in <a class="section-ref" href="#html5-local-attributes" shape="rect">Section 7.1: Mapping of Local Data Categories to HTML5</a>.</p></li></ul></div></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-processing" id="its-processing" shape="rect"/>5 Processing of ITS information</h2><p>
<em>This section is normative.</em>
</p><div class="div2">
@@ -974,9 +1025,9 @@
by <code>queryLanguage</code> attribute on <code>rules</code> element. If
<code>queryLanguge</code> is not specified XPath 1.0 is used as a
default query language.</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="d3e1981" id="d3e1981" shape="rect"/>5.3.2 XPath 1.0</h4><p>XPath 1.0 is identified by <code>xpath</code> value in
+<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="d3e2154" id="d3e2154" shape="rect"/>5.3.2 XPath 1.0</h4><p>XPath 1.0 is identified by <code>xpath</code> value in
<code>queryLanguage</code> attribute.</p><div class="div4">
-<h5><a name="d3e1992" id="d3e1992" shape="rect"/>5.3.2.1Absolute selector</h5><p>The absolute selector <a href="#rfc-keywords" shape="rect">MUST</a> be an
+<h5><a name="d3e2165" id="d3e2165" shape="rect"/>5.3.2.1Absolute selector</h5><p>The absolute selector <a href="#rfc-keywords" shape="rect">MUST</a> be an
XPath expression which starts with "<code>/</code>". That is, it
must be an <a href="http://www.w3.org/TR/xpath/#NT-AbsoluteLocationPath" shape="rect">
AbsoluteLocationPath</a> or union of <a href="http://www.w3.org/TR/xpath/#NT-AbsoluteLocationPath" shape="rect">
@@ -991,7 +1042,7 @@
occurs. This includes the implicit declaration of the prefix
<code>xml</code> required by the the <a href="#xmlns" shape="rect">XML Namespaces Recommendation</a>; the
default namespace (as declared by <code>xmlns</code>) is not
- part of this set.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2052" id="d3e2052" shape="rect"/>Example 16: XPath expressions with namespaces</div><p>The <code>term</code> element from the TEI is in a namespace
+ part of this set.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2225" id="d3e2225" shape="rect"/>Example 16: XPath expressions with namespaces</div><p>The <code>term</code> element from the TEI is in a namespace
<code>http://www.tei-c.org/ns/1.0</code>. </p><div class="exampleInner"><pre xml:space="preserve">
<!-- Definitions for TEI -->
@@ -999,7 +1050,7 @@
xmlns:its="http://www.w3.org/2005/11/its"
xmlns:tei="http://www.tei-c.org/ns/1.0" version="2.0">
<its:termRule selector="//tei:term" term="yes"/>
-</its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-selection-global-1.xml" shape="rect">examples/xml/EX-selection-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2070" id="d3e2070" shape="rect"/>Example 17: XPath expressions without namespaces</div><p>The <code>term</code> element from DocBook V4.5 is in no
+</its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-selection-global-1.xml" shape="rect">examples/xml/EX-selection-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2243" id="d3e2243" shape="rect"/>Example 17: XPath expressions without namespaces</div><p>The <code>term</code> element from DocBook V4.5 is in no
namespace.</p><div class="exampleInner"><pre xml:space="preserve">
<!-- Definitions for DocBook -->
@@ -1007,7 +1058,7 @@
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="d3e2085" id="d3e2085" shape="rect"/>5.3.2.2Relative selector</h5><p>The relative selector <a href="#rfc-keywords" shape="rect">MUST</a> use a
+<h5><a name="d3e2258" id="d3e2258" 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: <code>locNotePointer</code>,
@@ -1024,16 +1075,16 @@
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="d3e2161" id="d3e2161" shape="rect"/>5.3.3 CSS Selectors</h4><p>CSS Selectors are identified by <code>css</code> value in
+<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="d3e2334" id="d3e2334" shape="rect"/>5.3.3 CSS Selectors</h4><p>CSS Selectors are identified by <code>css</code> value in
<code>queryLanguage</code> attribute.</p><div class="div4">
-<h5><a name="d3e2172" id="d3e2172" shape="rect"/>5.3.3.1Absolute selector</h5><p>Absolute selector <a href="#rfc-keywords" shape="rect">MUST</a> be
+<h5><a name="d3e2345" id="d3e2345" 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="d3e2183" id="d3e2183" shape="rect"/>5.3.3.2Relative selector</h5><p>Relative selector <a href="#rfc-keywords" shape="rect">MUST</a> be
+<h5><a name="d3e2356" id="d3e2356" 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 <code>selector</code> 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="d3e2197" id="d3e2197" shape="rect"/>5.3.4 Additional query languages</h4><p>ITS processors <a href="#rfc-keywords" shape="rect">MAY</a> support additional
+<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="d3e2370" id="d3e2370" 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:</p><ul><li><p>identifier of query language used in
<code>queryLanguage</code>;</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
@@ -1093,7 +1144,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="d3e2364" id="d3e2364" 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="d3e2537" id="d3e2537" 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" >
@@ -1108,7 +1159,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="d3e2376" id="d3e2376" shape="rect"/>Example 21: Document with identical rules as in the case of included rules</div><div class="exampleInner"><pre xml:space="preserve">
+ the following document.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2549" id="d3e2549" 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>
@@ -1147,7 +1198,7 @@
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="d3e2463" id="d3e2463" shape="rect"/>Example 22: Conflicts between selections of ITS information which are resolved
+ element is overridden by the next one.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2636" id="d3e2636" 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.
@@ -1442,7 +1493,7 @@
<a href="#storagesize" shape="rect">Storage Size</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">
<code>its:storageEncoding="UTF-8"</code>
- </td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">tbd</td><td rowspan="1" colspan="1">tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3400" id="d3e3400" shape="rect"/>Example 25: Defaults, inheritance and overriding behavior of data
+ </td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">tbd</td><td rowspan="1" colspan="1">tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3573" id="d3e3573" shape="rect"/>Example 25: 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 <code>locNote</code> is not translatable
@@ -1620,7 +1671,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="d3e3798" id="d3e3798" shape="rect"/>Example 32: The <code>locNoteRefPointer</code> attribute</div><p>The <code>locNoteRefPointer</code> attribute contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node
+</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="d3e3971" id="d3e3971" shape="rect"/>Example 32: The <code>locNoteRefPointer</code> attribute</div><p>The <code>locNoteRefPointer</code> 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" >
@@ -1644,7 +1695,7 @@
contains a URI referring to the location of the localization
note.</p></li></ul></li><li><p>An optional <code>locNoteType</code> attribute with the
value "description" or "alert". If the <code>locNoteType</code> 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="d3e3859" id="d3e3859" shape="rect"/>Example 33: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data
+ type of localization note will be assumed to be"description". </p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4032" id="d3e4032" shape="rect"/>Example 33: 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"
@@ -1658,7 +1709,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="d3e3873" id="d3e3873" shape="rect"/>Example 34: The <a href="#locNote-datacat" shape="rect">Localization Note</a> 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="d3e4046" id="d3e4046" shape="rect"/>Example 34: 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>
@@ -1694,7 +1745,7 @@
term.</p></li><li><p>A <code>termInfoRefPointer</code> 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="d3e3971" id="d3e3971" shape="rect"/>Example 35: Usage of the <code>termInfoPointer</code> attribute</div><div class="exampleInner"><pre xml:space="preserve">
+ location of the terminology information.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4144" id="d3e4144" shape="rect"/>Example 35: Usage of the <code>termInfoPointer</code> attribute</div><div class="exampleInner"><pre xml:space="preserve">
<text
xmlns:its="http://www.w3.org/2005/11/its" >
<its:rules version="2.0">
@@ -1705,7 +1756,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="d3e3984" id="d3e3984" shape="rect"/>Example 36: Usage of the <code>termInfoRef</code> 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="d3e4157" id="d3e4157" shape="rect"/>Example 36: Usage of the <code>termInfoRef</code> attribute</div><div class="exampleInner"><pre xml:space="preserve">
<text
xmlns:its="http://www.w3.org/2005/11/its" >
<its:rules version="2.0">
@@ -1716,7 +1767,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="d3e3997" id="d3e3997" shape="rect"/>Example 37: Usage of the <code>termInfoRefPointer</code> 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="d3e4170" id="d3e4170" shape="rect"/>Example 37: Usage of the <code>termInfoRefPointer</code> attribute</div><div class="exampleInner"><pre xml:space="preserve">
<text
xmlns:its="http://www.w3.org/2005/11/its" >
<its:rules version="2.0">
@@ -1807,7 +1858,7 @@
available for the <a href="#directionality" shape="rect">Directionality</a>
data category:</p><ul><li><p>A <code>dir</code> attribute with the value
"ltr", "rtl", "lro" or
- "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4257" id="d3e4257" shape="rect"/>Example 42: The <a href="#directionality" shape="rect">Directionality</a> data
+ "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4430" id="d3e4430" shape="rect"/>Example 42: 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
@@ -1818,7 +1869,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="d3e4281" id="d3e4281" shape="rect"/>Example 43: The <a href="#directionality" shape="rect">Directionality</a> data
+</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="d3e4454" id="d3e4454" shape="rect"/>Example 43: 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>
@@ -1958,7 +2009,7 @@
within text.</p><p id="withintext-global">GLOBAL: The <code>withinTextRule</code> element
contains the following:</p><ul><li><p>A required <code>selector</code> 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 <code>withinText</code> attribute with the value
- "yes", "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4690" id="d3e4690" shape="rect"/>Example 47: Specifying elements within text with a <code>withinTextRule</code>
+ "yes", "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4863" id="d3e4863" shape="rect"/>Example 47: Specifying elements within text with a <code>withinTextRule</code>
element</div><div class="exampleInner"><pre xml:space="preserve">
<its:rules
xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
@@ -3714,7 +3765,7 @@
<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="d3e9012" id="d3e9012" shape="rect"/>Example 97: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve">
+ validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9185" id="d3e9185" shape="rect"/>Example 97: 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.
@@ -3782,7 +3833,7 @@
</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="d3e9034" id="d3e9034" shape="rect"/>Example 98: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve">
+ during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e9207" id="d3e9207" shape="rect"/>Example 98: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve">
<nvdl:rules
xmlns:nvdl="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0" >
<nvdl:namespace ns="http://www.w3.org/2005/11/its">
Received on Monday, 15 October 2012 13:05:45 UTC