its20 CVS commit

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

Modified Files:
	its20.html its20.odd 
Log Message:
Fixed links, created skeleton of a new HTML5 section

Index: its20.odd
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -d -r1.175 -r1.176
--- its20.odd	10 Oct 2012 09:06:31 -0000	1.175
+++ its20.odd	10 Oct 2012 12:03:10 -0000	1.176
@@ -468,7 +468,7 @@
 				<div xml:id="usage-in-html5">
 					<head>Usage in HTML5</head>
 					<p>ITS 2.0 adds support for usage in HTML5. In HTML5, ITS local selection is
-						realized via dedicated, <ref target="#att.local.html5">data category
+						realized via dedicated, <ref target="#html5-local-attributes">data category
 							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
@@ -953,6 +953,18 @@
 								target="examples/xml/EX-notation-terminology-1.xml"/>
 						</exemplum></note>
 				</div>
+				<div xml:id="def-local-attributes">
+					<head>ITS Local Attributes</head>
+					<p><termStruct xml:id="local-attributes" term="ITS Local Attributes"
+						><term>ITS Local Attributes</term> are all attributes defined in <ptr target="#datacategory-description" type="specref"/> as a local markup.</termStruct> 
+					</p>					
+				</div>
+				<div xml:id="def-rule-elements">
+					<head>Rule Elements</head>
+					<p><termStruct xml:id="rule-elements" term="Rule Elements"
+						><term>Rule Elements</term> are all elements defined in <ptr target="#datacategory-description" type="specref"/> as elements for global rules.</termStruct> 
+					</p>					
+				</div>
 				<div xml:id="iri-usage">
 					<head>Usage of Internationalized Resource Identifiers in ITS</head>
 					<p>The attributes <att>href</att>, <att type="element">locNoteRef</att> and <att
@@ -1012,8 +1024,7 @@
 								following <ref target="#rfc-keywords">MUST</ref> be in the
 								schema:</p><list>
 								<item><gi>rules</gi> element</item>
-								<item>one of the <ref target="#span.attributes">local ITS
-										attributes</ref></item>
+								<item>one of the local ITS attributes</item>
 								<item><gi>span</gi> element</item>
 								<item><gi>ruby</gi> element</item>
 							</list></item>
@@ -1055,8 +1066,7 @@
 						<p>Since the ITS markup declarations are schema language independent, each
 							schema language can use its own, possibly multiple, mechanisms to
 							implement the conformance clauses for ITS markup declarations. For
-							example, an XML DTD can use parameter entities to encapsulate the <ref
-								target="#span.attributes">ITS local attributes</ref>, or declare
+							example, an XML DTD can use parameter entities to encapsulate the <ref target="#local-attributes">ITS local attributes</ref>, or declare
 							them directly for each element. The appropriate steps to integrate ITS
 							into a schema depend on the design of this schema (e.g. whether it
 							already has a customization layer that uses parameter entities). The ITS
@@ -1188,13 +1198,13 @@
 
 						<item><ref target="#selection-global">Global rules</ref>: the selection is
 							realized within a <gi>rules</gi> element. It contains <ref
-								target="#rules.content">rule elements</ref> for each data category.
+								target="#rule-elements">rule elements</ref> for each data category.
 							Each rule element has a <att>selector</att> attribute and possibly other
 							attributes. The <att>selector</att> attribute contains an absolute
 							selector as defined in <ptr target="#selectors" type="specref"/>.</item>
 						<item><ref target="#selection-local">Locally in a document</ref>: the
-							selection is realized using <ref target="#span.attributes">ITS local
-								attributes</ref>, which are attached to an element node, or the
+							selection is realized using ITS local
+								attributes, which are attached to an element node, or the
 								<gi>span</gi> or <gi>ruby</gi> element. There is no additional
 								<att>selector</att> attribute. The default selection for each data
 							category defines whether the selection covers attributes and child
@@ -1206,10 +1216,10 @@
 					<div xml:id="selection-global">
 						<head>Global, Rule-based Selection</head>
 						<p>Global, rule-based selection is implemented using the <gi>rules</gi>
-							element. It contains zero or more <ref target="#rules.content">rule
-								elements</ref>. Each <ref target="#rules.content">rule element</ref>
+							element. It contains zero or more <ref target="#rule-elements">rule
+								elements</ref>. Each <ref target="#rule-elements">rule element</ref>
 							has a mandatory <att>selector</att> attribute. This attribute and all
-							other possible attributes on <ref target="#rules.content">rule
+							other possible attributes on <ref target="#rule-elements">rule
 								elements</ref> are in the empty namespace and used without a
 							prefix.</p>
 						<p>If there is more than one <gi>rules</gi> element in an XML document, the
@@ -1268,7 +1278,7 @@
 					<div xml:id="selection-local">
 						<head>Local Selection in an XML Document</head>
 						<p>Local selection in XML documents is realized with <ref
-								target="#att.local.with-ns.attributes">local ITS attributes</ref>,
+								target="#local-attributes">ITS local attributes</ref>,
 							the <gi>ruby</gi> element, or the <gi>span</gi> element. <gi>span</gi>
 							serves just as a carrier for the local ITS attributes and a container
 							for <gi>ruby</gi>.</p>
@@ -1302,17 +1312,6 @@
 							<egXML xmlns="http://www.tei-c.org/ns/Examples"
 								target="examples/xml/EX-selection-local-1.xml"/>
 						</exemplum>
-						<p>Markup for local selection is defined as follows. The attribute group
-								<ref target="#att.local.no-ns.attributes"
-								>att.local.no-ns.attributes</ref> contains ITS attributes in no
-							namespace and is used with the ITS elements <gi>span</gi>,
-								<gi>locNote</gi>, <gi>ruby</gi>, <gi>rt</gi> and <gi>rp</gi>. The
-							attribute group <ref target="#att.local.with-ns.attributes"
-								>att.local.with-ns.attributes</ref> contains namespace qualified ITS
-							attributes and is used with elements from different namespaces. The
-							attribute group <ref target="#att.local.html5.attributes"
-								>att.local.html5.attributes</ref> contains ITS attribute for
-							HTML5.</p>
 						<note><p>The <att>dir</att> and <att>translate</att> attributes are not
 								listed in the ITS attributes to be used in HTML5. The reason is that
 								these two attributes are available in HTML5 natively, so there is no
@@ -1328,7 +1327,7 @@
 
 					<div xml:id="queryLanguage">
 						<head>Choosing Query Language</head>
-						<p><ref target="#rules.content">Rule elements</ref> have attributes which
+						<p><ref target="#rule-elements">Rule elements</ref> have attributes which
 							contain asbolute and relative selectors. Interpretation of these
 							selectors depends on the actual query languge. The query language is set
 							by <att>queryLanguage</att> attribute on <gi>rules</gi> element. If
@@ -1565,8 +1564,7 @@
 						in various positions (the first item in the list has the highest
 						precedence):</p>
 					<list type="ordered">
-						<item xml:id="precedence-local">Implicit local selection in documents (<ref
-								target="#span.attributes">ITS local attributes</ref> on a specific
+						<item xml:id="precedence-local">Implicit local selection in documents (<ref target="#local-attributes">ITS local attributes</ref> on a specific
 							element)</item>
 						<item xml:id="precedence-global-in-doc"><p>Global selections in documents
 								(using a <gi>rules</gi> element)</p>
@@ -4421,6 +4419,27 @@
 	  </div>
    
    -->
+	  <div xml:id="html5-markup">
+	  	<head>Using ITS Markup in HTML5</head>
+	  	
+	  	<div xml:id="html5-local-attributes">
+	  		<head>Mapping of Local Data Categories to HTML5</head>
+	  		<note type="ed">camelCase -> its-*; special mapping of @lang, @translate and @dir</note>
+	  		<note type="ed">Case sensitivity</note>
+	  	</div>
+	  	
+	  	<div>
+	  		<head>Inline Global Rules in HTML5</head>
+	  		<note type="ed">Constraints on using rules inside script</note>
+	  	</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>
+	  </div>
 
 		</body>
 		<back>
@@ -5228,9 +5247,9 @@
 					<item>Added a subsection on the relation to ITS 1.0 to the introduction, see
 							<ptr target="#relation-to-its10" type="specref"/></item>
 					<item>Created HTML5 based declarations for various data categories, see e.g.
-							<ref target="#att.term.html5">HTML5 declarations for the Terminology
-							data category</ref> and the <ref target="#att.local.html5">summary for
-							local data categories</ref> in <ptr target="#selection-local"
+							HTML5 declarations for the Terminology
+							data category and the summary for
+							local data categories in <ptr target="#selection-local"
 							type="specref"/></item>
 					<item>Created examples for these declarations, see e.g. <ptr
 							target="#EX-term-local-html-1" type="exref"/></item>

Index: its20.html
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -d -r1.178 -r1.179
--- its20.html	10 Oct 2012 09:06:30 -0000	1.178
+++ its20.html	10 Oct 2012 12:03:10 -0000	1.179
@@ -40,7 +40,9 @@
 <div class="toc2">3.2 <a href="#def-schemalanguage" shape="rect">Schema Language</a></div>
 <div class="toc2">3.3 <a href="#def-datacat" shape="rect">Data category</a></div>
 <div class="toc2">3.4 <a href="#def-selection" shape="rect">Selection</a></div>
-<div class="toc2">3.5 <a href="#iri-usage" shape="rect">Usage of Internationalized Resource Identifiers in ITS</a></div>
+<div class="toc2">3.5 <a href="#def-local-attributes" shape="rect">ITS Local Attributes</a></div>
+<div class="toc2">3.6 <a href="#def-rule-elements" shape="rect">Rule Elements</a></div>
+<div class="toc2">3.7 <a href="#iri-usage" shape="rect">Usage of Internationalized Resource Identifiers in ITS</a></div>
 </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>
@@ -51,9 +53,9 @@
 <div class="toc3">5.2.3 <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="#d3e1987" shape="rect">XPath 1.0</a></div>
-<div class="toc3">5.3.3 <a href="#d3e2167" shape="rect">CSS Selectors</a></div>
-<div class="toc3">5.3.4 <a href="#d3e2203" 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>
@@ -122,6 +124,10 @@
 <div class="toc3">6.22.2 <a href="#storagesize-implementation" shape="rect">Implementation</a></div>
 </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="#d3e7499" shape="rect">Inline Global Rules in HTML5</a></div>
+</div>
+<div class="toc1">8 <a href="#xhtml5-markup" shape="rect">Using ITS Markup in XHTML</a></div>
 </div>
 <h3><a name="appendices" id="appendices" shape="rect"/>Appendices</h3><div class="toc1">A <a href="#normative-references" shape="rect">References</a></div>
 <div class="toc1">B <a href="#lqissue-typevalues" shape="rect">Values for the Localization Quality Issue Type</a></div>
@@ -417,7 +423,7 @@
 							at the top of the page to say that all paragraphs of a particular class
 							or in a particular context would be colored red.</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="usage-in-html5" id="usage-in-html5" shape="rect"/>1.4 Usage in HTML5</h3><p>ITS 2.0 adds support for usage in HTML5. In HTML5, ITS local selection is
-						realized via dedicated, <a href="#att.local.html5" shape="rect">data category
+						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
@@ -733,7 +739,15 @@
   &lt;img src="instructions.jpg"/&gt;,
   the truth is not always out there.&lt;/p&gt;
 &lt;/text&gt;</pre></div><p>[Source file: <a href="examples/xml/EX-notation-terminology-1.xml" shape="rect">examples/xml/EX-notation-terminology-1.xml</a>]</p></div></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="iri-usage" id="iri-usage" shape="rect"/>3.5 Usage of Internationalized Resource Identifiers in ITS</h3><p>The attributes <code>href</code>, <code>locNoteRef</code> and <code>termInfoRef</code> which contain resource identifiers <a href="#rfc-keywords" shape="rect">MUST</a> allow the usage of Internationalized
+<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="def-local-attributes" id="def-local-attributes" shape="rect"/>3.5 ITS Local Attributes</h3><p>
+               [<a name="local-attributes" id="local-attributes" title="ITS Local Attributes" shape="rect">Definition</a>: 
+                  <span class="new-term">ITS Local Attributes</span> are all attributes defined in <a class="section-ref" href="#datacategory-description" shape="rect">Section 6: Description of Data Categories</a> as a local markup.]
+            </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="def-rule-elements" id="def-rule-elements" shape="rect"/>3.6 Rule Elements</h3><p>
+               [<a name="rule-elements" id="rule-elements" title="Rule Elements" shape="rect">Definition</a>: 
+                  <span class="new-term">Rule Elements</span> are all elements defined in <a class="section-ref" href="#datacategory-description" shape="rect">Section 6: Description of Data Categories</a> as elements for global rules.]
+            </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="iri-usage" id="iri-usage" shape="rect"/>3.7 Usage of Internationalized Resource Identifiers in ITS</h3><p>The attributes <code>href</code>, <code>locNoteRef</code> and <code>termInfoRef</code> which contain resource identifiers <a href="#rfc-keywords" shape="rect">MUST</a> allow the usage of Internationalized
 						Resource Identifiers (IRIs, <a title="Internationalized&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;Resource Identifiers (IRIs)" href="#rfc3987" shape="rect">[RFC 3987]</a> or its
 						successor) to ease the adoption of ITS in international application
 						scenarios.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The ITS schemas in <a class="section-ref" href="#its-schemas" shape="rect">Appendix D: Schemas for ITS</a> are not
@@ -767,8 +781,7 @@
             </p><ul><li><p id="its-conformance-1-1">
                      <em>1-1:</em> At least one of the
 								following <a href="#rfc-keywords" shape="rect">MUST</a> be in the
-								schema:</p><ul><li><p><code>rules</code> element</p></li><li><p>one of the <a href="#span.attributes" shape="rect">local ITS
-										attributes</a></p></li><li><p><code>span</code> element</p></li><li><p><code>ruby</code> element</p></li></ul></li><li><p id="its-conformance-1-2">
+								schema:</p><ul><li><p><code>rules</code> element</p></li><li><p>one of the local ITS attributes</p></li><li><p><code>span</code> element</p></li><li><p><code>ruby</code> element</p></li></ul></li><li><p id="its-conformance-1-2">
                      <em>1-2:</em> If the
 									<code>rules</code> element is used, it <a href="#rfc-keywords" shape="rect">MUST</a> be part of the content model of at least one element
 								declared in the schema. It <a href="#rfc-keywords" shape="rect">SHOULD</a>
@@ -787,7 +800,7 @@
 						various existing schemas are given in a separate document <a title="Best&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;Practices for XML Internationalization" href="#xml-i18n-bp" shape="rect">[XML i18n BP]</a>.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>Since the ITS markup declarations are schema language independent, each
 							schema language can use its own, possibly multiple, mechanisms to
 							implement the conformance clauses for ITS markup declarations. For
-							example, an XML DTD can use parameter entities to encapsulate the <a href="#span.attributes" shape="rect">ITS local attributes</a>, or declare
+							example, an XML DTD can use parameter entities to encapsulate the <a href="#local-attributes" shape="rect">ITS local attributes</a>, or declare
 							them directly for each element. The appropriate steps to integrate ITS
 							into a schema depend on the design of this schema (e.g. whether it
 							already has a customization layer that uses parameter entities). The ITS
@@ -866,21 +879,21 @@
 						document. If there is both a <code>version</code> attribute at the root
 						element and a <code>rules</code> element in a document, they <a href="#rfc-keywords" shape="rect">MUST NOT</a> specify different versions.</p><p>External, linked rules can have different versions than internal rules.</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="datacategory-locations" id="datacategory-locations" shape="rect"/>5.2 Locations of Data Categories</h3><p>ITS data categories can appear in two places:</p><ul><li><p><a href="#selection-global" shape="rect">Global rules</a>: the selection is
-							realized within a <code>rules</code> element. It contains <a href="#rules.content" shape="rect">rule elements</a> for each data category.
+							realized within a <code>rules</code> element. It contains <a href="#rule-elements" shape="rect">rule elements</a> for each data category.
 							Each rule element has a <code>selector</code> attribute and possibly other
 							attributes. The <code>selector</code> attribute contains an absolute
 							selector as defined in <a class="section-ref" href="#selectors" shape="rect">Section 5.3: Query Language of Selectors</a>.</p></li><li><p><a href="#selection-local" shape="rect">Locally in a document</a>: the
-							selection is realized using <a href="#span.attributes" shape="rect">ITS local
-								attributes</a>, which are attached to an element node, or the
+							selection is realized using ITS local
+								attributes, which are attached to an element node, or the
 								<code>span</code> or <code>ruby</code> element. There is no additional
 								<code>selector</code> attribute. The default selection for each data
 							category defines whether the selection covers attributes and child
 							elements. 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></ul><p>The two locations are described in detail below.</p><div class="div3">
 <h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="selection-global" id="selection-global" shape="rect"/>5.2.1 Global, Rule-based Selection</h4><p>Global, rule-based selection is implemented using the <code>rules</code>
-							element. It contains zero or more <a href="#rules.content" shape="rect">rule
-								elements</a>. Each <a href="#rules.content" shape="rect">rule element</a>
+							element. It contains zero or more <a href="#rule-elements" shape="rect">rule
+								elements</a>. Each <a href="#rule-elements" shape="rect">rule element</a>
 							has a mandatory <code>selector</code> attribute. This attribute and all
-							other possible attributes on <a href="#rules.content" shape="rect">rule
+							other possible attributes on <a href="#rule-elements" shape="rect">rule
 								elements</a> are in the empty namespace and used without a
 							prefix.</p><p>If there is more than one <code>rules</code> element in an XML document, the
 							rules from each section are to be processed at the same precedence
@@ -912,7 +925,7 @@
 								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="#att.local.with-ns.attributes" shape="rect">local ITS 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.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>,
 							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
@@ -949,14 +962,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-selection-local-1.xml" shape="rect">examples/xml/EX-selection-local-1.xml</a>]</p></div><p>Markup for local selection is defined as follows. The attribute group
-								<a href="#att.local.no-ns.attributes" shape="rect">att.local.no-ns.attributes</a> contains ITS attributes in no
-							namespace and is used with the ITS elements <code>span</code>,
-								<code>locNote</code>, <code>ruby</code>, <code>rt</code> and <code>rp</code>. The
-							attribute group <a href="#att.local.with-ns.attributes" shape="rect">att.local.with-ns.attributes</a> contains namespace qualified ITS
-							attributes and is used with elements from different namespaces. The
-							attribute group <a href="#att.local.html5.attributes" shape="rect">att.local.html5.attributes</a> contains ITS attribute for
-							HTML5.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The <code>dir</code> and <code>translate</code> attributes are not
+&lt;/text&gt;</pre></div><p>[Source file: <a href="examples/xml/EX-selection-local-1.xml" shape="rect">examples/xml/EX-selection-local-1.xml</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>The <code>dir</code> and <code>translate</code> attributes are not
 								listed in the ITS attributes to be used in HTML5. The reason is that
 								these two attributes are available in HTML5 natively, so there is no
 								need to provide them as <code>its-</code> attributes. The definition
@@ -966,15 +972,15 @@
 									<a href="#directionality" shape="rect">Directionality</a>.</p></div></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="selectors" id="selectors" shape="rect"/>5.3 Query Language of Selectors</h3><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="queryLanguage" id="queryLanguage" shape="rect"/>5.3.1 Choosing Query Language</h4><p>
-                  <a href="#rules.content" shape="rect">Rule elements</a> have attributes which
+                  <a href="#rule-elements" shape="rect">Rule elements</a> have attributes which
 							contain asbolute and relative selectors. Interpretation of these
 							selectors depends on the actual query languge. The query language is set
 							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="d3e1987" id="d3e1987" 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="d3e1998" id="d3e1998" 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">
@@ -989,7 +995,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="d3e2058" id="d3e2058" 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;
 
@@ -997,7 +1003,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="d3e2076" id="d3e2076" 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;
 
@@ -1005,7 +1011,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="d3e2091" id="d3e2091" 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>,
@@ -1022,16 +1028,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="d3e2167" id="d3e2167" 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="d3e2178" id="d3e2178" 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="d3e2189" id="d3e2189" 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="d3e2203" id="d3e2203" 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
@@ -1091,7 +1097,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="d3e2370" id="d3e2370" 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;
@@ -1106,7 +1112,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="d3e2382" id="d3e2382" 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;
@@ -1132,7 +1138,7 @@
 						rules, if any.</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="selection-precedence" id="selection-precedence" shape="rect"/>5.5 Precedence between Selections</h3><p>The following precedence order is defined for selections of ITS information
 						in various positions (the first item in the list has the highest
-						precedence):</p><ol class="depth1"><li><p>Implicit local selection in documents (<a href="#span.attributes" shape="rect">ITS local attributes</a> on a specific
+						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
@@ -1146,7 +1152,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="d3e2474" id="d3e2474" 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="d3e2468" id="d3e2468" 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.
@@ -1378,7 +1384,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="d3e3340" id="d3e3340" shape="rect"/>Example 24: 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="d3e3334" id="d3e3334" shape="rect"/>Example 24: Defaults, inheritance and overriding behavior of data
 							categories</div><p>In this example, the content of all the <code>data</code> elements is
 							translatable because the default for the <a href="#trans-datacat" shape="rect">Translate</a> data category in elements is "yes". The
 							content of <code>revision</code> and <code>locNote</code> is not translatable
@@ -1556,7 +1562,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="d3e3738" id="d3e3738" shape="rect"/>Example 31: 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="d3e3732" id="d3e3732" shape="rect"/>Example 31: 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;
@@ -1580,7 +1586,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="d3e3799" id="d3e3799" shape="rect"/>Example 32: 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="d3e3793" id="d3e3793" shape="rect"/>Example 32: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data
 								category expressed locally</div><div class="exampleInner"><pre xml:space="preserve">
 &lt;msgList
   xmlns:its="http://www.w3.org/2005/11/its"  xml:space="preserve"
@@ -1594,7 +1600,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="d3e3813" id="d3e3813" shape="rect"/>Example 33: 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="d3e3807" id="d3e3807" shape="rect"/>Example 33: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data
 								category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve">&lt;!DOCTYPE html&gt;&#xD;
  &lt;html lang=en&gt;
   &lt;head&gt;
@@ -1630,7 +1636,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="d3e3911" id="d3e3911" shape="rect"/>Example 34: 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="d3e3905" id="d3e3905" shape="rect"/>Example 34: 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;
@@ -1641,7 +1647,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="d3e3924" id="d3e3924" shape="rect"/>Example 35: 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="d3e3918" id="d3e3918" shape="rect"/>Example 35: 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;
@@ -1652,7 +1658,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="d3e3937" id="d3e3937" shape="rect"/>Example 36: 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="d3e3931" id="d3e3931" shape="rect"/>Example 36: 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;
@@ -1743,7 +1749,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="d3e4197" id="d3e4197" shape="rect"/>Example 41: The <a href="#directionality" shape="rect">Directionality</a> data
+								"rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4191" id="d3e4191" shape="rect"/>Example 41: The <a href="#directionality" shape="rect">Directionality</a> data
 								category expressed locally</div><p>On the first <code>quote</code> element, the <code>its:dir="rtl"</code>
 								attribute indicates a right-to-left content.</p><div class="exampleInner"><pre xml:space="preserve">
 &lt;text
@@ -1754,7 +1760,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="d3e4221" id="d3e4221" shape="rect"/>Example 42: 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="d3e4215" id="d3e4215" shape="rect"/>Example 42: The <a href="#directionality" shape="rect">Directionality</a> data
 								category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve">&lt;!DOCTYPE html&gt;&#xD;
  &lt;html lang=en&gt;
   &lt;head&gt;
@@ -1894,7 +1900,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="d3e4630" id="d3e4630" shape="rect"/>Example 46: Specifying elements within text with a <code>withinTextRule</code>
+									"yes", "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4624" id="d3e4624" shape="rect"/>Example 46: 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;
@@ -3226,7 +3232,11 @@
    &lt;p contenteditable=true id=123 its-storage-size=25&gt;Papua New-Guinea&lt;/p&gt;
    &lt;p contenteditable=true id=139 its-storage-size=25&gt;Dominican Replubic&lt;/p&gt;
   &lt;/body&gt;
- &lt;/html&gt;</pre></div><p>[Source file: <a href="examples/html5/EX-storageSize-html5-local-1.html" shape="rect">examples/html5/EX-storageSize-html5-local-1.html</a>]</p></div></div></div></div></div><div class="back"><div class="div1">
+ &lt;/html&gt;</pre></div><p>[Source file: <a href="examples/html5/EX-storageSize-html5-local-1.html" shape="rect">examples/html5/EX-storageSize-html5-local-1.html</a>]</p></div></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="html5-markup" id="html5-markup" shape="rect"/>7 Using ITS Markup in HTML5</h2><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-local-attributes" id="html5-local-attributes" shape="rect"/>7.1 Mapping of Local Data Categories to HTML5</h3><span class="editor-note">[Ed. note: camelCase -&gt; its-*; special mapping of @lang, @translate and @dir]</span><span class="editor-note">[Ed. note: Case sensitivity]</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="d3e7499" id="d3e7499" shape="rect"/>7.2 Inline Global Rules in HTML5</h3><span class="editor-note">[Ed. note: Constraints on using rules inside script]</span></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">
 <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>
@@ -3561,7 +3571,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="d3e8471" id="d3e8471" shape="rect"/>Example 94: 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="d3e8492" id="d3e8492" shape="rect"/>Example 94: 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.
@@ -3629,7 +3639,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="d3e8493" id="d3e8493" shape="rect"/>Example 95: 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="d3e8514" id="d3e8514" shape="rect"/>Example 95: 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;
@@ -3668,9 +3678,9 @@
 						Recommendation</a> and this document.</p><ol class="depth1"><li><p>Clarified <a href="#introduction" shape="rect">introduction</a> to cover ITS
 						2.0</p></li><li><p>Added a subsection on the relation to ITS 1.0 to the introduction, see
 							<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.
-							<a href="#att.term.html5" shape="rect">HTML5 declarations for the Terminology
-							data category</a> and the <a href="#att.local.html5" shape="rect">summary for
-							local data categories</a> 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 38</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-and-RDFa" shape="rect">Section 5.7: Conversion to NIF and RDFa</a></p></li></ol></div><div class="div1">
+							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 38</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-and-RDFa" shape="rect">Section 5.7: Conversion to NIF and RDFa</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"/>H 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 Wednesday, 10 October 2012 12:03:21 UTC