its20 CVS commit

Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory hutz:/tmp/cvs-serv21326

Modified Files:
	its20.html its20.odd 
Log Message:
Improved integration of HTML5

Index: its20.odd
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -d -r1.183 -r1.184
--- its20.odd	14 Oct 2012 19:09:51 -0000	1.183
+++ its20.odd	15 Oct 2012 09:52:27 -0000	1.184
@@ -472,8 +472,7 @@
 							specific attributes</ref>.</p>
 					<p>For the so-called “<ref target="#basic-concepts-selection-global">global
 							approach</ref>” in HTML5, this specification defines a link type for
-						referring to files with global rules. These rules are then processed as
-						described in <ptr target="#selection-global-html5" type="specref"/>.</p>
+						referring to files with global rules in <ptr target="#html5-external-global-rules" type="specref"/>.</p>
 					<exemplum xml:id="EX-translate-html5-global-1">
 						<head>Using ITS global rules in HTML5</head>
 						<p>The <code>link</code> element points to the rules file
@@ -1258,26 +1257,7 @@
 							on these variations. See also <ptr type="specref"
 								target="#selection-precedence"/>.</p>
 					</div>
-					<div xml:id="selection-global-html5">
-						<head>Global selection within HTML5</head>
-						<note type="ed">Jirka will probably move that into separate section no HTML5.</note>
-						<p>Global rules work in HTML5 as follows.</p>
-						<list type="ordered">
-							<item>Global rules will be attached externally using the
-									<code>link</code> element, with the link relation
-									<code>its-rules</code>.</item>
-							<item>In global rules XPath 1.0 will be used for selection.</item>
-							<item>If users prefer easier selection mechanism, they can switch query
-								language to CSS selectors by using the <att>queryLanguage</att>
-								attribute, see <ptr target="#queryLanguage" type="specref"/>.</item>
-						</list>
-						<note>
-							<p>Using XPath in global rules linked from HTML5 documents does not
-								create an additional burden to implementers. Parsing HTML5 content
-								produces a DOM tree that can be directly queried using XPath,
-								functionality supported by all major browsers.</p>
-						</note>
-					</div>
+					
 					<div xml:id="selection-local">
 						<head>Local Selection in an XML Document</head>
 						<p>Local selection in XML documents is realized with <ref
@@ -1576,8 +1556,6 @@
 									<item>Any rule inside the rules element</item>
 									<item>Any rule linked via the XLink <att>href</att>
 										attribute</item>
-									<item><note type="ed">Define how HTML5 link works with
-											precedence.</note></item>
 								</list>
 							</p>
 							<note><p>If identical selections are defined in different rules elements
@@ -4658,7 +4636,30 @@
 							gets normalized upon DOM construction.</p></note>
 	  	</div>
 	  	
-	  	<div>
+	  	<div xml:id="html5-external-global-rules">
+	  		<head>External Rules</head>
+	  		<p>Link to external global rules is specified in <att>href</att> attribute of <code>link</code> element, with the link relation
+	  			<code>its-rules</code>.</p>
+	  		<note>
+	  			<p>By default XPath 1.0 will be used for selection in global rules. If users prefer easier selection mechanism, 
+	  				  they can switch query
+	  					language to CSS selectors by using the <att>queryLanguage</att>
+	  					attribute, see <ptr target="#queryLanguage" type="specref"/>.</p>
+	  		</note>
+	  		<note>
+	  			<p>HTML5 parsing algorithm automatically puts all HTML elements into XHTML namespace
+								(<code>http://www.w3.org/1999/xhtml</code>). Selectors used in global rules must
+							take this into account.</p>
+	  		</note>
+	  		<note>
+	  			<p>Using XPath in global rules linked from HTML5 documents does not
+	  				create an additional burden to implementers. Parsing HTML5 content
+	  				produces a DOM tree that can be directly queried using XPath,
+	  				functionality supported by all major browsers.</p>
+	  		</note>
+	  	</div>
+	  	
+	  	<div xml:id="html5-inline-global-rules">
 					<head>Inline Global Rules in HTML5</head>
 					<p>Inline global rules MUST be specified inside <gi>script</gi> which has <att>type</att>
 						attribute with the value <code>application/xml</code> or <code>application/its+xml</code>.
@@ -4669,12 +4670,38 @@
 						element.</p></note>
 				</div>
 	  	
+	  	<div xml:id="html5-selection-precedence">
+	  		<head>Precedence between Selections</head>
+	  		<p>The following precedence order is defined for selections of ITS information
+	  			in various positions of HTML document (the first item in the list has the highest
+	  			precedence):</p>
+	  		<list type="ordered">
+	  			<item>Implicit local selection in documents (<ref target="#html5-local-attributes">ITS local attributes</ref> on a specific
+	  				element)</item>
+	  			<item><p>Global selections in documents
+	  				(using mechanism described in <ptr target="#html5-external-global-rules" type="specref"/> or <ptr target="#html5-inline-global-rules" type="specref"/>)</p>
+	  				<note><p>If identical selections are defined in different rules elements
+	  					within one document, the selection defined by the last takes
+	  					precedence.</p></note>
+	  			</item>
+	  			<item>Selections via defaults for data
+	  				categories, see <ptr target="#datacategories-defaults-etc"
+	  					type="specref"/></item>
+	  		</list>
+	  		<p>In case of conflicts between global selections via multiple <ref
+	  			target="#selection-global">rules</ref> elements, the last rule has
+	  			higher precedence.</p>	  		
+	  	</div>
 	  </div>
 			
 	  <div xml:id="xhtml5-markup">
 	  	<head>Using ITS Markup in XHTML</head>
-	  	<note type="ed">Guidance about using camelCase/its-camel-case w/respect to DOM representation and consistency with HTML parsing</note>
-	  	<note type="ed">Guidance about inline global rules</note>
+				<p>XHTML documents aimed at public consumption by Web browsers SHOULD use syntax for local
+					attributes described in <ptr target="#html5-local-attributes" type="specref"/> and
+					SHOULD NOT use <ref target="#html5-inline-global-rules">inline global rules</ref>
+					in order to adhere to <ref
+						target="http://www.w3.org/TR/html-design-principles/#dom-consistency">DOM Consistency
+						HTML Design Principle</ref>.</p>
 	  </div>
 
 		</body>

Index: its20.html
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -d -r1.186 -r1.187
--- its20.html	14 Oct 2012 19:09:50 -0000	1.186
+++ its20.html	15 Oct 2012 09:52:27 -0000	1.187
@@ -49,13 +49,12 @@
 </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-global-html5" shape="rect">Global selection within HTML5</a></div>
-<div class="toc3">5.2.3 <a href="#selection-local" shape="rect">Local Selection in an XML Document</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="#d3e2013" shape="rect">XPath 1.0</a></div>
-<div class="toc3">5.3.3 <a href="#d3e2193" shape="rect">CSS Selectors</a></div>
-<div class="toc3">5.3.4 <a href="#d3e2229" shape="rect">Additional query languages</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.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>
@@ -127,7 +126,9 @@
 </div>
 </div>
 <div class="toc1">7 <a href="#html5-markup" shape="rect">Using ITS Markup in HTML5</a><div class="toc2">7.1 <a href="#html5-local-attributes" shape="rect">Mapping of Local Data Categories to HTML5</a></div>
-<div class="toc2">7.2 <a href="#d3e7960" shape="rect">Inline Global Rules in HTML5</a></div>
+<div class="toc2">7.2 <a href="#html5-external-global-rules" shape="rect">External Rules</a></div>
+<div class="toc2">7.3 <a href="#html5-inline-global-rules" shape="rect">Inline Global Rules in HTML5</a></div>
+<div class="toc2">7.4 <a href="#html5-selection-precedence" shape="rect">Precedence between Selections</a></div>
 </div>
 <div class="toc1">8 <a href="#xhtml5-markup" shape="rect">Using ITS Markup in XHTML</a></div>
 </div>
@@ -429,8 +430,7 @@
 						realized via dedicated, <a href="#html5-local-attributes" shape="rect">data category
 							specific attributes</a>.</p><p>For the so-called “<a href="#basic-concepts-selection-global" shape="rect">global
 							approach</a>” in HTML5, this specification defines a link type for
-						referring to files with global rules. These rules are then processed as
-						described in <a class="section-ref" href="#selection-global-html5" shape="rect">Section 5.2.2: Global selection within HTML5</a>.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-html5-global-1" id="EX-translate-html5-global-1" shape="rect"/>Example 8: Using ITS global rules in HTML5</div><p>The <code>link</code> element points to the rules file
+						referring to files with global rules in <a class="section-ref" href="#html5-external-global-rules" shape="rect">Section 7.2: External Rules</a>.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-html5-global-1" id="EX-translate-html5-global-1" shape="rect"/>Example 8: Using ITS global rules in HTML5</div><p>The <code>link</code> element points to the rules file
 								<code>EX-translateRule-html5-1.xml</code> The <code>rel</code>
 							attribute identifies the ITS specific link relation
 								<code>its-rules</code>.</p><div class="exampleInner"><pre xml:space="preserve">&lt;!DOCTYPE html&gt;&#xD;
@@ -719,7 +719,7 @@
 							parts of an XML document an ITS data category and its values should be
 							applied to.] Selection is discussed in detail in <a class="section-ref" href="#its-processing" shape="rect">Section 5: Processing of ITS information</a>. Selection can be applied
 						globally, see <a class="section-ref" href="#selection-global" shape="rect">Section 5.2.1: Global, Rule-based Selection</a>, and locally,
-						see <a class="section-ref" href="#selection-local" shape="rect">Section 5.2.3: Local Selection in an XML Document</a>. As for global
+						see <a class="section-ref" href="#selection-local" shape="rect">Section 5.2.2: Local Selection in an XML Document</a>. As for global
 						selection, ITS information can be <a href="#def-adding-pointing" shape="rect">added</a> to the selected nodes, or it can <a href="#def-adding-pointing" shape="rect">point to existing information</a> which
 						is related to selected nodes. </p><p id="selection-and-inclusion-mechanisms">Selection relies on the
 						information that is given in the XML Information Set <a title="XML&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;Information Set (Second Edition)" href="#xmlinfoset" shape="rect">[XML Infoset]</a>. ITS applications <a href="#rfc-keywords" shape="rect">MAY</a> implement inclusion mechanisms such as
@@ -921,15 +921,7 @@
 							the same rule element. </p><p>Global rules can appear in the XML document they will be applied to, or
 							in a separate XML document. The precedence of their processing depends
 							on these variations. See also <a class="section-ref" href="#selection-precedence" shape="rect">Section 5.5: Precedence between Selections</a>.</p></div><div class="div3">
-<h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="selection-global-html5" id="selection-global-html5" shape="rect"/>5.2.2 Global selection within HTML5</h4><span class="editor-note">[Ed. note: Jirka will probably move that into separate section no HTML5.]</span><p>Global rules work in HTML5 as follows.</p><ol class="depth1"><li><p>Global rules will be attached externally using the
-									<code>link</code> element, with the link relation
-									<code>its-rules</code>.</p></li><li><p>In global rules XPath 1.0 will be used for selection.</p></li><li><p>If users prefer easier selection mechanism, they can switch query
-								language to CSS selectors by using the <code>queryLanguage</code>
-								attribute, see <a class="section-ref" href="#queryLanguage" shape="rect">Section 5.3.1: Choosing Query Language</a>.</p></li></ol><div class="note"><p class="prefix"><b>Note:</b></p><p>Using XPath in global rules linked from HTML5 documents does not
-								create an additional burden to implementers. Parsing HTML5 content
-								produces a DOM tree that can be directly queried using XPath,
-								functionality supported by all major browsers.</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="selection-local" id="selection-local" shape="rect"/>5.2.3 Local Selection in an XML Document</h4><p>Local selection in XML documents is realized with <a href="#local-attributes" shape="rect">ITS local attributes</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="selection-local" id="selection-local" shape="rect"/>5.2.2 Local Selection in an XML Document</h4><p>Local selection in XML documents is realized with <a href="#local-attributes" shape="rect">ITS local attributes</a>,
 							the <code>ruby</code> element, or the <code>span</code> element. <code>span</code>
 							serves just as a carrier for the local ITS attributes and a container
 							for <code>ruby</code>.</p><p>The content model of <code>span</code> permits arbitrary nesting of ruby
@@ -982,9 +974,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="d3e2013" id="d3e2013" 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="d3e1981" id="d3e1981" 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="d3e2024" id="d3e2024" 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="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
 								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">
@@ -999,7 +991,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="d3e2084" id="d3e2084" 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="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
 										<code>http://www.tei-c.org/ns/1.0</code>. </p><div class="exampleInner"><pre xml:space="preserve">
 &lt;!-- Definitions for TEI --&gt;
 
@@ -1007,7 +999,7 @@
   xmlns:its="http://www.w3.org/2005/11/its" 
   xmlns:tei="http://www.tei-c.org/ns/1.0" version="2.0"&gt;
  &lt;its:termRule selector="//tei:term" term="yes"/&gt;
-&lt;/its:rules&gt;</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="d3e2102" id="d3e2102" shape="rect"/>Example 17: XPath expressions without namespaces</div><p>The <code>term</code> element from DocBook V4.5 is in no
+&lt;/its:rules&gt;</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
 									namespace.</p><div class="exampleInner"><pre xml:space="preserve">
 &lt;!-- Definitions for DocBook --&gt;
 
@@ -1015,7 +1007,7 @@
   xmlns:its="http://www.w3.org/2005/11/its"  version="2.0"&gt;
  &lt;its:termRule selector="//term" term="yes"/&gt;
 &lt;/its:rules&gt;</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="d3e2117" id="d3e2117" 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="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
 									<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>,
@@ -1032,16 +1024,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="d3e2193" id="d3e2193" 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="d3e2161" id="d3e2161" 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="d3e2204" id="d3e2204" shape="rect"/>5.3.3.1Absolute selector</h5><p>Absolute selector <a href="#rfc-keywords" shape="rect">MUST</a> be
+<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
 								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="d3e2215" id="d3e2215" shape="rect"/>5.3.3.2Relative selector</h5><p>Relative selector <a href="#rfc-keywords" shape="rect">MUST</a> be
+<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
 								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="d3e2229" id="d3e2229" 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="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
 							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
@@ -1101,7 +1093,7 @@
   &lt;its:termRule selector="//term" term="yes"/&gt;
   &lt;its:withinTextRule withinText="yes" selector="//term | //b"/&gt;
  &lt;/its:rules&gt;
-&lt;/myFormatInfo&gt;</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="d3e2396" id="d3e2396" shape="rect"/>Example 20: Document with a link to EX-link-external-rules-1.xml</div><div class="exampleInner"><pre xml:space="preserve">
+&lt;/myFormatInfo&gt;</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">
 &lt;myDoc
   xmlns:its="http://www.w3.org/2005/11/its" 
   xmlns:xlink="http://www.w3.org/1999/xlink" &gt;
@@ -1116,7 +1108,7 @@
   &lt;p&gt;A &lt;term&gt;Palouse horse&lt;/term&gt; has a spotted coat.&lt;/p&gt;
  &lt;/body&gt;
 &lt;/myDoc&gt;</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="d3e2408" id="d3e2408" 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="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">
 &lt;myDoc
   xmlns:its="http://www.w3.org/2005/11/its" &gt;
  &lt;header&gt;
@@ -1145,8 +1137,7 @@
 						precedence):</p><ol class="depth1"><li><p>Implicit local selection in documents (<a href="#local-attributes" shape="rect">ITS local attributes</a> on a specific
 							element)</p></li><li><p>Global selections in documents
 								(using a <code>rules</code> element)</p><p>Inside each <code>rules</code> element the precedence order is: </p><ol class="depth2"><li><p>Any rule inside the rules element</p></li><li><p>Any rule linked via the XLink <code>href</code>
-										attribute</p></li><li><p><span class="editor-note">[Ed. note: Define how HTML5 link works with
-											precedence.]</span></p></li></ol><p>
+										attribute</p></li></ol><p>
                   </p><div class="note"><p class="prefix"><b>Note:</b></p><p>If identical selections are defined in different rules elements
 									within 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
@@ -1156,7 +1147,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&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;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="d3e2500" id="d3e2500" 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="d3e2463" id="d3e2463" 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.
@@ -1451,7 +1442,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="d3e3437" id="d3e3437" 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="d3e3400" id="d3e3400" 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
@@ -1629,7 +1620,7 @@
  &lt;body&gt;
   &lt;msg id="NotFound"&gt;Cannot find {0} on {1}.&lt;/msg&gt;
  &lt;/body&gt;
-&lt;/myRes&gt;</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="d3e3835" id="d3e3835" 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
+&lt;/myRes&gt;</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
 								that holds the URI referring to the location of the note.</p><div class="exampleInner"><pre xml:space="preserve">
 &lt;dataFile
   xmlns:its="http://www.w3.org/2005/11/its" &gt;
@@ -1653,7 +1644,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="d3e3896" id="d3e3896" 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="d3e3859" id="d3e3859" 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">
 &lt;msgList
   xmlns:its="http://www.w3.org/2005/11/its"  xml:space="preserve"
@@ -1667,7 +1658,7 @@
    its:locNote="%1\$s is the original text's date in the format YYYY-MM-DD HH:MM always in GMT"&gt;
   &lt;value&gt;Translated from English content dated &lt;span id="version-info"&gt;%1\$s&lt;/span&gt; GMT.&lt;/value&gt;
  &lt;/data&gt;
-&lt;/msgList&gt;</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="d3e3910" id="d3e3910" shape="rect"/>Example 34: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data
+&lt;/msgList&gt;</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
 								category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve">&lt;!DOCTYPE html&gt;&#xD;
  &lt;html lang=en&gt;
   &lt;head&gt;
@@ -1703,7 +1694,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="d3e4008" id="d3e4008" 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="d3e3971" id="d3e3971" shape="rect"/>Example 35: Usage of the <code>termInfoPointer</code> attribute</div><div class="exampleInner"><pre xml:space="preserve">
 &lt;text
   xmlns:its="http://www.w3.org/2005/11/its" &gt;
  &lt;its:rules version="2.0"&gt;
@@ -1714,7 +1705,7 @@
   structure, between the implied author or some other addresser,
   and the fiction.&lt;/gloss&gt;
  &lt;/p&gt;
-&lt;/text&gt;</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="d3e4021" id="d3e4021" shape="rect"/>Example 36: Usage of the <code>termInfoRef</code> attribute</div><div class="exampleInner"><pre xml:space="preserve">
+&lt;/text&gt;</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">
 &lt;text
   xmlns:its="http://www.w3.org/2005/11/its" &gt;
  &lt;its:rules version="2.0"&gt;
@@ -1725,7 +1716,7 @@
   structure, between the implied author or some other addresser,
   and the fiction.&lt;/gloss&gt;
  &lt;/p&gt;
-&lt;/text&gt;</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="d3e4034" id="d3e4034" shape="rect"/>Example 37: Usage of the <code>termInfoRefPointer</code> attribute</div><div class="exampleInner"><pre xml:space="preserve">
+&lt;/text&gt;</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">
 &lt;text
   xmlns:its="http://www.w3.org/2005/11/its" &gt;
  &lt;its:rules version="2.0"&gt;
@@ -1816,7 +1807,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="d3e4294" id="d3e4294" 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="d3e4257" id="d3e4257" 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">
 &lt;text
@@ -1827,7 +1818,7 @@
      its:dir="rtl"&gt;<span dir="rtl">نشاط التدويل، W3C</span>&lt;/quote&gt;
      means &lt;quote&gt;Internationalization Activity, W3C&lt;/quote&gt;.&lt;/par&gt;
  &lt;/body&gt;
-&lt;/text&gt;</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="d3e4318" id="d3e4318" shape="rect"/>Example 43: The <a href="#directionality" shape="rect">Directionality</a> data
+&lt;/text&gt;</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
 								category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve">&lt;!DOCTYPE html&gt;&#xD;
  &lt;html lang=en&gt;
   &lt;head&gt;
@@ -1967,7 +1958,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="d3e4727" id="d3e4727" 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="d3e4690" id="d3e4690" shape="rect"/>Example 47: Specifying elements within text with a <code>withinTextRule</code>
 								element</div><div class="exampleInner"><pre xml:space="preserve">
 &lt;its:rules
   xmlns:its="http://www.w3.org/2005/11/its"  version="2.0"&gt;
@@ -3359,13 +3350,36 @@
 							terminology data category can be stored as <code>its-term</code>, <code>ITS-TERM</code>,
 								<code>its-Term</code> etc. All those attributes are treated as equivalent and will
 							gets normalized upon DOM construction.</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="d3e7960" id="d3e7960" shape="rect"/>7.2 Inline Global Rules in HTML5</h3><p>Inline global rules MUST be specified inside <code>script</code> which has <code>type</code>
+<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="html5-external-global-rules" id="html5-external-global-rules" shape="rect"/>7.2 External Rules</h3><p>Link to external global rules is specified in <code>href</code> attribute of <code>link</code> element, with the link relation
+	  			<code>its-rules</code>.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>By default XPath 1.0 will be used for selection in global rules. If users prefer easier selection mechanism, 
+	  				  they can switch query
+	  					language to CSS selectors by using the <code>queryLanguage</code>
+	  					attribute, see <a class="section-ref" href="#queryLanguage" shape="rect">Section 5.3.1: Choosing Query Language</a>.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>HTML5 parsing algorithm automatically puts all HTML elements into XHTML namespace
+								(<code>http://www.w3.org/1999/xhtml</code>). Selectors used in global rules must
+							take this into account.</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>Using XPath in global rules linked from HTML5 documents does not
+	  				create an additional burden to implementers. Parsing HTML5 content
+	  				produces a DOM tree that can be directly queried using XPath,
+	  				functionality supported by all major browsers.</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="html5-inline-global-rules" id="html5-inline-global-rules" shape="rect"/>7.3 Inline Global Rules in HTML5</h3><p>Inline global rules MUST be specified inside <code>script</code> which has <code>type</code>
 						attribute with the value <code>application/xml</code> or <code>application/its+xml</code>.
 						The <code>script</code> element itself MUST be child of <code>head</code> element. Comments MUST
 						NOT be used inside global rules. Each <code>script</code> element MUST NOT contain more then
 						one <code>rules</code> element.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>It is preferred to use external global rules linked using <code>link</code>
-						element.</p></div></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="xhtml5-markup" id="xhtml5-markup" shape="rect"/>8 Using ITS Markup in XHTML</h2><span class="editor-note">[Ed. note: Guidance about using camelCase/its-camel-case w/respect to DOM representation and consistency with HTML parsing]</span><span class="editor-note">[Ed. note: Guidance about inline global rules]</span></div></div><div class="back"><div class="div1">
+						element.</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="html5-selection-precedence" id="html5-selection-precedence" shape="rect"/>7.4 Precedence between Selections</h3><p>The following precedence order is defined for selections of ITS information
+	  			in various positions of HTML document (the first item in the list has the highest
+	  			precedence):</p><ol class="depth1"><li><p>Implicit local selection in documents (<a href="#html5-local-attributes" shape="rect">ITS local attributes</a> on a specific
+	  				element)</p></li><li><p>Global selections in documents
+	  				(using mechanism described in <a class="section-ref" href="#html5-external-global-rules" shape="rect">Section 7.2: External Rules</a> or <a class="section-ref" href="#html5-inline-global-rules" shape="rect">Section 7.3: Inline Global Rules in HTML5</a>)</p><div class="note"><p class="prefix"><b>Note:</b></p><p>If identical selections are defined in different rules elements
+	  					within one document, the selection defined by the last takes
+	  					precedence.</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></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="xhtml5-markup" id="xhtml5-markup" shape="rect"/>8 Using ITS Markup in XHTML</h2><p>XHTML documents aimed at public consumption by Web browsers SHOULD use syntax for local
+					attributes described in <a class="section-ref" href="#html5-local-attributes" shape="rect">Section 7.1: Mapping of Local Data Categories to HTML5</a> and
+					SHOULD NOT use <a href="#html5-inline-global-rules" shape="rect">inline global rules</a>
+					in order to adhere to <a href="http://www.w3.org/TR/html-design-principles/#dom-consistency" shape="rect">DOM Consistency
+						HTML Design Principle</a>.</p></div></div><div class="back"><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="normative-references" id="normative-references" shape="rect"/>A References</h2><dl><dt class="label"><a name="bcp47" id="bcp47" shape="rect"/>BCP47</dt><dd>Addison Phillips, Mark Davis. <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt" shape="rect"><cite>Tags for
 								Identifying Languages</cite></a>, September 2009. Available at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt" shape="rect">
 							http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>.</dd><dt class="label"><a name="ianacharsets" id="ianacharsets" shape="rect"/>IANA Character Sets</dt><dd>
@@ -3700,7 +3714,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&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;-- Schematron" href="#schematron" shape="rect">[Schematron]</a> document allows for
-					validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e8983" id="d3e8983" 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="d3e9012" id="d3e9012" shape="rect"/>Example 97: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve">
 &lt;sch:schema
   xmlns:sch="http://www.ascc.net/xml/schematron" &gt;
 &lt;!-- Schematron document to test constraints for global and local ITS markup.
@@ -3768,7 +3782,7 @@
          </p><p>The following <a title="Namespace-based Validation&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;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="d3e9005" id="d3e9005" 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="d3e9034" id="d3e9034" shape="rect"/>Example 98: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve">
 &lt;nvdl:rules
   xmlns:nvdl="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0" &gt;
  &lt;nvdl:namespace ns="http://www.w3.org/2005/11/its"&gt;
@@ -3837,7 +3851,7 @@
 					have been made to this document since the <a href="http://www.w3.org/TR/2012/WD-its20-20120731/" shape="rect">ITS 2.0 Working Draft
 						31 July 2012</a>.</p><ol class="depth1"><li><p>Added <a class="section-ref" href="#Disambiguation" shape="rect">Section 6.10: Disambiguation</a>.</p></li><li><p>Added <a class="section-ref" href="#preservespace" shape="rect">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#idvalue" shape="rect">Section 6.16: Id Value</a>.</p></li><li><p>Added support for different query language and reworked whole XPath and
 						CSS Selectors integration.</p></li><li><p>Added examples to <a class="section-ref" href="#externalresource" shape="rect">Section 6.14: External Resource</a>.</p></li><li><p>Simplified <a class="section-ref" href="#LocaleFilter" shape="rect">Section 6.11: Locale Filter</a>.</p></li><li><p>Added a note about HTML5 and the attributes <code>dir</code> and
-							<code>translate</code> to <a class="section-ref" href="#selection-local" shape="rect">Section 5.2.3: Local Selection in an XML Document</a>.</p></li><li><p>Added definition of <code>param</code> element to <a class="section-ref" href="#selection-global" shape="rect">Section 5.2.1: Global, Rule-based Selection</a>.</p></li><li><p>Added <a class="section-ref" href="#target-pointer" shape="rect">Section 6.15: Target Pointer</a>.</p></li><li><p>Original Ruby markup model changed to HTML5 Ruby model.</p></li><li><p>Updated references.</p></li><li><p>Added <a class="section-ref" href="#preservespace" shape="rect">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#lqissue" shape="rect">Section 6.18: Localization Quality Issue</a> and the related <a class="section-ref" href="#lqissue-typevalues" shape="rect">Appendix B: Values for the Localization Quality Issue Type</a>.</p></li><li><p>Added <a class="section-ref" href="#lqprecis" shape="rect">Section 6.19: Localizaton Quality Précis</a>.</p></li><li><p>Added a placeholder <a class="section-ref" href="#mtconfidence" shape="rect">Section 6.20: MT Confidence</a>.</p></li></ol><p id="changelog-since-20120626">The following log records major changes that
+							<code>translate</code> to <a class="section-ref" href="#selection-local" shape="rect">Section 5.2.2: Local Selection in an XML Document</a>.</p></li><li><p>Added definition of <code>param</code> element to <a class="section-ref" href="#selection-global" shape="rect">Section 5.2.1: Global, Rule-based Selection</a>.</p></li><li><p>Added <a class="section-ref" href="#target-pointer" shape="rect">Section 6.15: Target Pointer</a>.</p></li><li><p>Original Ruby markup model changed to HTML5 Ruby model.</p></li><li><p>Updated references.</p></li><li><p>Added <a class="section-ref" href="#preservespace" shape="rect">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#lqissue" shape="rect">Section 6.18: Localization Quality Issue</a> and the related <a class="section-ref" href="#lqissue-typevalues" shape="rect">Appendix B: Values for the Localization Quality Issue Type</a>.</p></li><li><p>Added <a class="section-ref" href="#lqprecis" shape="rect">Section 6.19: Localizaton Quality Précis</a>.</p></li><li><p>Added a placeholder <a class="section-ref" href="#mtconfidence" shape="rect">Section 6.20: MT Confidence</a>.</p></li></ol><p id="changelog-since-20120626">The following log records major changes that
 					have been made to this document since the <a href="http://www.w3.org/TR/2012/WD-its20-20120626/" shape="rect">ITS 2.0 Working Draft
 						26 June 2012</a>.</p><ol class="depth1"><li><p>Various editorial changes (non-normative references update, style &amp;
 						grammar fixes).</p></li><li><p>Made clarifications to <a class="section-ref" href="#out-of-scope" shape="rect">Section 1.5: Out of Scope</a>, <a class="section-ref" href="#design-decisions" shape="rect">Section 1.6: Important Design Principles</a>.</p></li><li><p>Added explanatory note on precedence and overriding in <a class="section-ref" href="#selection-precedence" shape="rect">Section 5.5: Precedence between Selections</a>.</p></li><li><p>Reordered some components in <a class="section-ref" href="#introduction" shape="rect">Section 1: Introduction</a>.</p></li><li><p>Restructured <a class="section-ref" href="#relation-to-its10-and-new-principles" shape="rect">Section 1.1: Relation to ITS 1.0 and New Principles</a>.</p></li><li><p>Added <a class="section-ref" href="#queryLanguage" shape="rect">Section 5.3.1: Choosing Query Language</a> as a stub.</p></li><li><p>Added <a class="section-ref" href="#LocaleFilter" shape="rect">Section 6.11: Locale Filter</a>.</p></li><li><p>Added <a class="sectin-ref" href="#domain" shape="rect">Section 6.9: Domain</a>.</p></li><li><p>Added <a class="section-ref" href="#usage-in-legacy-html" shape="rect">Section 1.4.1: Support for legacy HTML content</a>.</p></li><li><p>Added local markup in <a class="section-ref" href="#elements-within-text" shape="rect">Section 6.8: Elements Within Text</a>.</p></li><li><p>Added <a class="section-ref" href="#externalresource" shape="rect">Section 6.14: External Resource</a>.</p></li><li><p>Updated examples to use the <code>version</code> attribute with the value
@@ -3848,7 +3862,7 @@
 							<a class="section-ref" href="#relation-to-its10" shape="rect">Section 1.1.1: Relation to ITS 1.0</a></p></li><li><p>Created HTML5 based declarations for various data categories, see e.g.
 							HTML5 declarations for the Terminology
 							data category and the summary for
-							local data categories in <a class="section-ref" href="#selection-local" shape="rect">Section 5.2.3: Local Selection in an XML Document</a></p></li><li><p>Created examples for these declarations, see e.g. <a href="#EX-term-local-html-1" shape="rect">Example 39</a></p></li><li><p>Added placeholders for new data categories to <a class="section-ref" href="#datacategory-description" shape="rect">Section 6: Description of Data Categories</a></p></li><li><p>Added a placeholder section <a class="section-ref" href="#conversion-to-nif" shape="rect">Section 5.7: Conversion to NIF</a></p></li></ol></div><div class="div1">
+							local data categories in <a class="section-ref" href="#selection-local" shape="rect">Section 5.2.2: Local Selection in an XML Document</a></p></li><li><p>Created examples for these declarations, see e.g. <a href="#EX-term-local-html-1" shape="rect">Example 39</a></p></li><li><p>Added placeholders for new data categories to <a class="section-ref" href="#datacategory-description" shape="rect">Section 6: Description of Data Categories</a></p></li><li><p>Added a placeholder section <a class="section-ref" href="#conversion-to-nif" shape="rect">Section 5.7: Conversion to NIF</a></p></li></ol></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="acknowledgements" id="acknowledgements" shape="rect"/>I Acknowledgements (Non-Normative)</h2><p>This document has been developed with contributions by the MultilingualWeb-LT
 					Working Group: Mihael Arcan (DERI Galway at the National University of Ireland,
 					Galway, Ireland), Pablo Badía (Linguaserve), Aaron Beaton (Opera Software), Luis

Received on Monday, 15 October 2012 09:52:33 UTC