- From: Manu Sporny via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 05 May 2010 02:06:27 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/rdfa/drafts/ED-rdfa-in-html-20100504
In directory hutz:/tmp/cvs-serv23692
Modified Files:
Overview.html diff-20100304.html
Log Message:
Fixed bug #8985 by clarifing how xmlns: should be processed.
(actual change)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/rdfa/drafts/ED-rdfa-in-html-20100504/Overview.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Overview.html 5 May 2010 01:48:58 -0000 1.3
+++ Overview.html 5 May 2010 02:06:25 -0000 1.4
@@ -45,7 +45,7 @@
span.entity { color: red; }
span.element { color: green; }
-</style><link href="http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css" rel="stylesheet" type="text/css" charset="utf-8"><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css" charset="utf-8"></head><body style="display: inherit; "><div class="head"><p><a href="http://www.w3.org/"><img width="72" height="48" src="http://www.w3.org/Icons/w3c_home" alt="W3C"></a></p><h1 class="title" id="title">HTML+RDFa 1.1</h1><h2 id="subtitle">Support for RDFa in HTML4 and HTML5</h2><h2 id="w3c-editor-s-draft-03-may-2010"><acronym title="World Wide Web Consortium">W3C</acronym> Editor's Draft 03 May 2010</h2><dl><dt>This version:</dt><dd><a href="http://dev.w3.org/html5/rdfa/drafts/ED-rdfa-in-html-20100502/">http://dev.w3.org/html5/rdfa/drafts/ED-rdfa-in-html-20100502/</a></dd><dt>Latest published version:</dt><dd><a href="http://www.w3.org/TR/rdfa-in-html/">http://www.w3.org/TR/rdfa-in-html/</a></dd><dt>Latest editor's draft:</dt><dd><a href="http://dev.w3.org/html5/rdfa/drafts/ED-rdfa-in-tml-20100502/">http://dev.w3.org/html5/rdfa/drafts/ED-rdfa-in-html-20100502/</a></dd><dt>Previous version:</dt><dd><a href="http://www.w3.org/TR/2010/WD-rdfa-in-html-20100304/">http://www.w3.org/TR/2010/WD-rdfa-in-html-20100304/</a></dd><dt>Editors:</dt><dd><a href="mailto:msporny@digitalbazaar.com">Manu Sporny</a>, <a href="http://blog.digitalbazaar.com">Digital Bazaar, Inc.</a></dd><dd><a href="mailto:shane@aptest.com">Shane McCarron</a>, <a href="http://www.aptest.com/">Applied Testing and Technology, Inc.</a></dd><dt>Authors:</dt><dd>Ben Adida, <a href="http://">Creative Commons</a></dd><dd>Mark Birbeck, <a href="http://">Web Backplane Ltd.</a></dd><dd>Steven Pemberton, <a href="http://">CWI</a></dd></dl><p>This document is also available in these non-normative formats: <a href="html-rdfa.ps">Postscript version</a> and <a href="html-rdfa.pdf">PDF version</a>.</p><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2009-2010 <a href="http://www.w3.org/">acronym title="World Wide Web Consortium"><acronym title="World Wide Web Consortium">W3C</acronym></acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology"><acronym title="Massachusetts Institute of Technology">MIT</acronym></acronym></a>, <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. <acronym title="World Wide Web Consortium">W3C</acronym> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p><hr></div>
+</style><link href="http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css" rel="stylesheet" type="text/css" charset="utf-8"><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css" charset="utf-8"></head><body style="display: inherit; "><div class="head"><p><a href="http://www.w3.org/"><img width="72" height="48" src="http://www.w3.org/Icons/w3c_home" alt="W3C"></a></p><h1 class="title" id="title">HTML+RDFa 1.1</h1><h2 id="subtitle">Support for RDFa in HTML4 and HTML5</h2><h2 id="w3c-editor-s-draft-04-may-2010"><acronym title="World Wide Web Consortium">W3C</acronym> Editor's Draft 04 May 2010</h2><dl><dt>This version:</dt><dd><a href="http://dev.w3.org/html5/rdfa/drafts/ED-rdfa-in-html-20100502/">http://dev.w3.org/html5/rdfa/drafts/ED-rdfa-in-html-20100502/</a></dd><dt>Latest published version:</dt><dd><a href="http://www.w3.org/TR/rdfa-in-html/">http://www.w3.org/TR/rdfa-in-html/</a></dd><dt>Latest editor's draft:</dt><dd><a href="http://dev.w3.org/html5/rdfa/drafts/ED-rdfa-in-tml-20100502/">http://dev.w3.org/html5/rdfa/drafts/ED-rdfa-in-html-20100502/</a></dd><dt>Previous version:</dt><dd><a href="http://www.w3.org/TR/2010/WD-rdfa-in-html-20100304/">http://www.w3.org/TR/2010/WD-rdfa-in-html-20100304/</a></dd><dt>Editors:</dt><dd><a href="mailto:msporny@digitalbazaar.com">Manu Sporny</a>, <a href="http://blog.digitalbazaar.com">Digital Bazaar, Inc.</a></dd><dd><a href="mailto:shane@aptest.com">Shane McCarron</a>, <a href="http://www.aptest.com/">Applied Testing and Technology, Inc.</a></dd><dt>Authors:</dt><dd>Ben Adida, <a href="http://">Creative Commons</a></dd><dd>Mark Birbeck, <a href="http://">Web Backplane Ltd.</a></dd><dd>Steven Pemberton, <a href="http://">CWI</a></dd></dl><p>This document is also available in these non-normative formats: <a href="html-rdfa.ps">Postscript version</a> and <a href="html-rdfa.pdf">PDF version</a>.</p><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2009-2010 <a href="http://www.w3.org/">acronym title="World Wide Web Consortium"><acronym title="World Wide Web Consortium">W3C</acronym></acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology"><acronym title="Massachusetts Institute of Technology">MIT</acronym></acronym></a>, <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. <acronym title="World Wide Web Consortium">W3C</acronym> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p><hr></div>
<div id="abstract" class="introductory section"><h2>Abstract</h2>
@@ -97,7 +97,7 @@
A community-maintained
<a href="http://rdfa.info/rdfa-implementations/">Wiki page</a> includes
subsequent updates.</p>
-<p>This document was published by the <a href="http://www.w3.org/html/wg">HTML Working Group</a> as an Editor's Draft. If you wish to make comments regarding this document, please send them to <a href="mailto:public-rdfa-wg@w3.org">public-rdfa-wg@w3.org</a> (<a href="mailto:public-rdfa-wg-request@w3.org?subject=subscribe">subscribe</a>, <a href="http://lists.w3.org/Archives/Public/public-rdfa-wg/">archives</a>). All feedback is welcome.</p><p>Publication as a Editor's Draft does not imply endorsement by the <acronym title="World Wide Web Consortium">W3C</acronym> Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.</p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>. <acronym title="World Wide Web Consortium">W3C<acronym> maintains a <a href="http://www.w3.org/2004/01/pp-impl/40318/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>.</p></div><div id="toc" class="section"><h2 class="introductory">Table of Contents</h2><ul class="toc"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction</a></li><li class="tocline"><a href="#conformance" class="tocxref"><span class="secno">2. </span>Conformance</a><ul class="toc"><li class="tocline"><a hrf="#document-conformance" class="tocxref"><span class="secno">2.1 </span>Document Conformance</a></li><li class="tocline"><a href="#rdfa-processor-conformance" class="tocxref"><span class="secno">2.2 </span>RDFa Processor Conformance</a></li><li class="tocline"><a href="#user-agent-conformance" class="tocxref"><span class="secno">2.3 </span>User Agent Conformance</a></li></ul></li><li class="tocline"><a href="#extensions-to-rdfa-core-1.1" class="tocxref"><span class="secno">3. </span>Extensions to RDFa Core 1.1</a><ul class="toc"><li class="tocline"><a href="#additional-rdfa-processing-rules" class="tocxref"><span class="secno">3.1 </span>Additional RDFa Processing Rules</a></li><li class="tocline"><a href="#modifying-the-input-document" class="tocxref"><span class="secno">3.2 </span>Modifying the Input Document</a></li><li class="tocline"><a href="#specifying-the-language-for-a-literal" class="tocxref"><span class="secno">3.3 </span>Specifying the language for a literal</a></li><li class="tocline"><a href=#invalid-xmlliteral-values" class="tocxref"><span class="secno">3.4 </span>Invalid XMLLiteral values</a></li><li class="tocline"><a href="#xmlns--prefixed-attributes" class="tocxref"><span class="secno">3.5 </span><code>xmlns:</code>-Prefixed Attributes</a></li></ul></li><li class="tocline"><a href="#extensions-to-the-html5-syntax" class="tocxref"><span class="secno">4. </span>Extensions to the HTML5 Syntax</a><ul class="toc"><li class="tocline"><a href="#the-rdfa-attributes-and-valid-values" class="tocxref"><span class="secno">4.1 </span>The RDFa Attributes and Valid Values</a><ul class="toc"><li class="tocline"><a href="#the-version-attribute" class="tocxref"><span class="secno">4.1.1 </span>The version Attribute</a></li></ul></li><li class="tocline"><a href="#conformance-criteria-for-xmlns--prefixed-attributes" class="tocxref"><span class="secno">4.2 </span>Conformance Criteria for <code>xmlns:</code>-Prefixed Attributes</a></li><li class="tocline"><a href="#preserving-namespaces-via-coercion-to-infoset"class="tocxref"><span class="secno">4.3 </span>Preserving Namespaces via Coercion to Infoset</a></li><li class="tocline"><a href="#infoset-based-processors" class="tocxref"><span class="secno">4.4 </span>Infoset-based Processors</a><ul class="toc"><li class="tocline"><a href="#processing-namespaced-rdfa-attributes" class="tocxref"><span class="secno">4.4.1 </span>Processing Namespaced RDFa Attributes</a></li><li class="tocline"><a href="#processing-rdfa-attributes" class="tocxref"><span class="secno">4.4.2 </span>Processing RDFa Attributes</a></li></ul></li><li class="tocline"><a href="#dom-level-2-based-processors" class="tocxref"><span class="secno">4.5 </span>DOM Level 2-based Processors</a><ul class="toc"><li class="tocline"><a href="#processing-namespaced-rdfa-attributes-1" class="tocxref"><span class="secno">4.5.1 </span>Processing Namespaced RDFa Attributes</a></li><li class="tocline"><a href="#processing-rdfa-attributes-1" class="tocxref"><span class="secno">4.5.2 </span>Processing RDFa Attributes</></li></ul></li></ul></li><li class="tocline"><a href="#html-default-vocabulary-terms" class="tocxref"><span class="secno">A. </span>HTML Default Vocabulary Terms</a></li><li class="tocline"><a href="#validation" class="tocxref"><span class="secno">B. </span>Validation</a><ul class="toc"><li class="tocline"><a href="#the-html-4.01---rdfa-1.1-dtd" class="tocxref"><span class="secno">B.1 </span>The HTML 4.01 + RDFa 1.1 DTD</a></li></ul></li><li class="tocline"><a href="#about-this-document" class="tocxref"><span class="secno">C. </span>About this Document</a><ul class="toc"><li class="tocline"><a href="#history" class="tocxref"><span class="secno">C.1 </span>History</a></li><li class="tocline"><a href="#change-history" class="tocxref"><span class="secno">C.2 </span>Change History</a></li><li class="tocline"><a href="#acknowledgments" class="tocxref"><span class="secno">C.3 </span>Acknowledgments</a></li></ul></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">D. </span>Reference</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">D.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">D.2 </span>Informative references</a></li></ul></li></ul></div>
+<p>This document was published by the <a href="http://www.w3.org/html/wg">HTML Working Group</a> as an Editor's Draft. If you wish to make comments regarding this document, please send them to <a href="mailto:public-rdfa-wg@w3.org">public-rdfa-wg@w3.org</a> (<a href="mailto:public-rdfa-wg-request@w3.org?subject=subscribe">subscribe</a>, <a href="http://lists.w3.org/Archives/Public/public-rdfa-wg/">archives</a>). All feedback is welcome.</p><p>Publication as a Editor's Draft does not imply endorsement by the <acronym title="World Wide Web Consortium">W3C</acronym> Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.</p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>. <acronym title="World Wide Web Consortium">W3C<acronym> maintains a <a href="http://www.w3.org/2004/01/pp-impl/40318/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>.</p></div><div id="toc" class="section"><h2 class="introductory">Table of Contents</h2><ul class="toc"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction</a></li><li class="tocline"><a href="#conformance" class="tocxref"><span class="secno">2. </span>Conformance</a><ul class="toc"><li class="tocline"><a hrf="#document-conformance" class="tocxref"><span class="secno">2.1 </span>Document Conformance</a></li><li class="tocline"><a href="#rdfa-processor-conformance" class="tocxref"><span class="secno">2.2 </span>RDFa Processor Conformance</a></li><li class="tocline"><a href="#user-agent-conformance" class="tocxref"><span class="secno">2.3 </span>User Agent Conformance</a></li></ul></li><li class="tocline"><a href="#extensions-to-rdfa-core-1.1" class="tocxref"><span class="secno">3. </span>Extensions to RDFa Core 1.1</a><ul class="toc"><li class="tocline"><a href="#additional-rdfa-processing-rules" class="tocxref"><span class="secno">3.1 </span>Additional RDFa Processing Rules</a></li><li class="tocline"><a href="#modifying-the-input-document" class="tocxref"><span class="secno">3.2 </span>Modifying the Input Document</a></li><li class="tocline"><a href="#specifying-the-language-for-a-literal" class="tocxref"><span class="secno">3.3 </span>Specifying the language for a literal</a></li><li class="tocline"><a href=#invalid-xmlliteral-values" class="tocxref"><span class="secno">3.4 </span>Invalid XMLLiteral values</a></li><li class="tocline"><a href="#xmlns--prefixed-attributes" class="tocxref"><span class="secno">3.5 </span><code>xmlns:</code>-Prefixed Attributes</a></li></ul></li><li class="tocline"><a href="#extensions-to-the-html5-syntax" class="tocxref"><span class="secno">4. </span>Extensions to the HTML5 Syntax</a><ul class="toc"><li class="tocline"><a href="#the-rdfa-attributes-and-valid-values" class="tocxref"><span class="secno">4.1 </span>The RDFa Attributes and Valid Values</a><ul class="toc"><li class="tocline"><a href="#the-version-attribute" class="tocxref"><span class="secno">4.1.1 </span>The version Attribute</a></li></ul></li><li class="tocline"><a href="#conformance-criteria-for-xmlns--prefixed-attributes" class="tocxref"><span class="secno">4.2 </span>Conformance Criteria for <code>xmlns:</code>-Prefixed Attributes</a></li><li class="tocline"><a href="#preserving-namespaces-via-coercion-to-infoset"class="tocxref"><span class="secno">4.3 </span>Preserving Namespaces via Coercion to Infoset</a></li><li class="tocline"><a href="#infoset-based-processors" class="tocxref"><span class="secno">4.4 </span>Infoset-based Processors</a><ul class="toc"><li class="tocline"><a href="#extracting-uri-mappings-from-infosets" class="tocxref"><span class="secno">4.4.1 </span>Extracting URI Mappings from Infosets</a></li><li class="tocline"><a href="#processing-rdfa-attributes" class="tocxref"><span class="secno">4.4.2 </span>Processing RDFa Attributes</a></li></ul></li><li class="tocline"><a href="#dom-level-2-based-processors" class="tocxref"><span class="secno">4.5 </span>DOM Level 2-based Processors</a><ul class="toc"><li class="tocline"><a href="#extracting-uri-mappings-from-doms" class="tocxref"><span class="secno">4.5.1 </span>Extracting URI Mappings from DOMs</a></li><li class="tocline"><a href="#processing-rdfa-attributes-1" class="tocxref"><span class="secno">4.5.2 </span>Processing RDFa Attributes</a></li></u></li></ul></li><li class="tocline"><a href="#html-default-vocabulary-terms" class="tocxref"><span class="secno">A. </span>HTML Default Vocabulary Terms</a></li><li class="tocline"><a href="#validation" class="tocxref"><span class="secno">B. </span>Validation</a><ul class="toc"><li class="tocline"><a href="#the-html-4.01---rdfa-1.1-dtd" class="tocxref"><span class="secno">B.1 </span>The HTML 4.01 + RDFa 1.1 DTD</a></li></ul></li><li class="tocline"><a href="#about-this-document" class="tocxref"><span class="secno">C. </span>About this Document</a><ul class="toc"><li class="tocline"><a href="#history" class="tocxref"><span class="secno">C.1 </span>History</a></li><li class="tocline"><a href="#change-history" class="tocxref"><span class="secno">C.2 </span>Change History</a></li><li class="tocline"><a href="#acknowledgments" class="tocxref"><span class="secno">C.3 </span>Acknowledgments</a></li></ul></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">D. </span>References</a><ul cass="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">D.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">D.2 </span>Informative references</a></li></ul></li></ul></div>
@@ -323,18 +323,12 @@
pre-existing namespace values.</li>
</ul>
- <p>If the input is not a namespace well-formed XML fragment, the
- processor <em class="rfc2119" title="must">must</em> transform the input text in a way that ensures the
- well-formedness rules described in this section. If a sequence of
- characters cannot be transformed into a namespace well-formed XML fragment,
- the triple containing the XMLLiteral <em class="rfc2119" title="must not">must not</em> be generated.</p>
-
<p>An RDFa Processor that transforms the XML fragment <em class="rfc2119" title="must">must</em> use the <a href="http://www.w3.org/TR/html5/Overview.html#coercing-an-html-dom-into-an-infoset">
- Coercing an HTML DOM into an Infoset</a> rules, as specified in the HTML5
- specification, prior to generating the triple containing the XMLLiteral.
- The serialization algorithm that <em class="rfc2119" title="must">must</em> be used for generating the XMLLiteral
- is normatively defined in the <a href="http://www.w3.org/TR/html5/Overview.html#serializing-xhtml-fragments">Serializing
- XHTML Fragments</a> section of the HTML5 specification.</p>
+ Coercing an HTML DOM into an Infoset</a> algorithm, as specified in the HTML5
+ specification, followed by the algorithm defined in the <a href="http://www.w3.org/TR/html5/Overvxiew.html#serializing-xhtml-fragments">Serializing
+ XHTML Fragments</a> section of the HTML5 specification. If an error or
+ exception occurs at any point during the transformation, the triple containing
+ the XMLLiteral <em class="rfc2119" title="must not">must not</em> be generated.</p>
<p>Transformation to a namespace well-formed XML fragment is required
because an application that consumes XMLLiteral data expects that data to
@@ -405,9 +399,15 @@
issue.</p>
<p>CURIE prefix mappings specified using attributes prepended with
- <code>xmlns:</code> <em class="rfc2119" title="must">must</em> be processed using the rules specified in
- <a href="http://www.w3.org/TR/rdfa-core/#s_curieprocessing">Section 7.4, CURIE and URI Processing</a>,
- contained in the RDFa Core 1.1 specification.</p>
+ <code>xmlns:</code> <em class="rfc2119" title="must">must</em> be processed using the algorithm defined in
+ section 4.4.1:
+ <a href="#extracting-uri-mappings-from-infosets">Extracting URI Mappings from Infosets</a>
+ for Infoset-based processors, or section 4.5.1:
+ <a href="#extracting-uri-mappings-from-doms">Extracting URI Mappings from DOMs</a>
+ for DOM Level 2-based processors. For CURIE prefix mappings using the
+ <code>prefix</code> attribute,
+ <a href="http://www.w3.org/TR/rdfa-core/#sequence">Section 7.5: Sequence</a>,
+ step #4 <em class="rfc2119" title="must">must</em> be used to process namespace values.</p>
<p>Since CURIE prefix mappings have been specified using
<code>xmlns:</code>, and since HTML attribute names are case-insensitive,
@@ -514,12 +514,12 @@
the sake of clarity, detailed methods of extracting RDFa content from
processors operating on an XML Information Set are provided below.</p>
-<div id="processing-namespaced-rdfa-attributes" class="section">
- <h4><span class="secno">4.4.1 </span>Processing Namespaced RDFa Attributes</h4>
+<div id="extracting-uri-mappings-from-infosets" class="section">
+ <h4><span class="secno">4.4.1 </span>Extracting URI Mappings from Infosets</h4>
- <p>Extracting namespaced RDFa attributes while operating from within an
- Infoset-based RDFa processor can be achieved using the following
- algorithm:</p>
+ <p>Extracting URI Mappings declared via <code>xmlns:</code>
+ while operating from within an Infoset-based RDFa processor can be achieved
+ using the following algorithm:</p>
<p>While processing an element as described in [<a class="bibref" rel="biblioentry" href="#bib-RDFA-CORE">RDFA-CORE</a>],
<a href="http://www.w3.org/TR/rdfa-core#sequence">Section 7.5: Sequence</a>,
@@ -590,12 +590,12 @@
the sake of clarity, detailed methods of extracting RDFa content from
processors operating in a DOM2 environment are provided below.</p>
-<div id="processing-namespaced-rdfa-attributes-1" class="section">
- <h4><span class="secno">4.5.1 </span>Processing Namespaced RDFa Attributes</h4>
+<div id="extracting-uri-mappings-from-doms" class="section">
+ <h4><span class="secno">4.5.1 </span>Extracting URI Mappings from DOMs</h4>
- <p>Extracting namespaced RDFa attributes while operating from within a DOM
- Level 2 based RDFa processor can be achieved using the following
- algorithm:</p>
+ <p>Extracting URI Mappings declared via <code>xmlns:</code> while operating
+ from within a DOM Level 2 based RDFa processor can be achieved using the
+ following algorithm:</p>
<p>While processing each DOM2 [<a href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-745549614">Element</a>]
as described in [<a class="bibref" rel="biblioentry" href="#bib-RDFA-CORE">RDFA-CORE</a>],
Index: diff-20100304.html
===================================================================
RCS file: /sources/public/html5/rdfa/drafts/ED-rdfa-in-html-20100504/diff-20100304.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- diff-20100304.html 5 May 2010 01:48:58 -0000 1.3
+++ diff-20100304.html 5 May 2010 02:06:25 -0000 1.4
@@ -97,7 +97,7 @@
HTML5
</ins>
</h2>
-<h2 id="w3c-editor-s-draft-03-may-2010">
+<h2 id="w3c-editor-s-draft-04-may-2010">
<acronym title="World Wide Web Consortium">
W3C
<del class="diff-old">Working
@@ -106,11 +106,10 @@
<ins class="diff-chg">Editor's
</ins>
Draft
-<del class="diff-old">04
-March
+04
+<del class="diff-old">March
</del>
-<ins class="diff-chg">03
-May
+<ins class="diff-chg">May
</ins>
2010
</h2>
@@ -262,6 +261,11 @@
Web
Backplane
Ltd.
+</ins></a></dd><dd><ins class="diff-new">
+Steven
+Pemberton,
+</ins><a href="http://"><ins class="diff-new">
+CWI
</ins></a>
<del class="diff-old">Manu
Sporny
@@ -278,12 +282,6 @@
Inc.)
</del>
</dd>
-<dd>
-<ins class="diff-new">Steven
-Pemberton,
-</ins><a href="http://"><ins class="diff-new">
-CWI
-</ins></a></dd>
</dl>
<p>
<ins class="diff-new">This
@@ -1493,15 +1491,22 @@
<del class="diff-old">6.1
</del>
<li class="tocline">
-<a href="#processing-namespaced-rdfa-attributes" class="tocxref">
+<a href="#extracting-uri-mappings-from-infosets" class="tocxref">
<span class="secno">
<ins class="diff-chg">4.4.1
</ins>
</span>
-Processing
+<del class="diff-old">Processing
Namespaced
RDFa
Attributes
+</del>
+<ins class="diff-chg">Extracting
+URI
+Mappings
+from
+Infosets
+</ins>
</a>
</li>
<li class="tocline">
@@ -1536,42 +1541,41 @@
<del class="diff-old">7.1
</del>
<li class="tocline">
-<a href="#processing-namespaced-rdfa-attributes-1" class="tocxref">
+<a href="#extracting-uri-mappings-from-doms" class="tocxref">
<span class="secno">
<ins class="diff-chg">4.5.1
+</ins></span><ins class="diff-chg">
+Extracting
+URI
+Mappings
+from
+DOMs
+</ins></a></li><li class="tocline"><a href="#processing-rdfa-attributes-1" class="tocxref"><span class="secno"><ins class="diff-chg">
+4.5.2
</ins>
</span>
Processing
-Namespaced
-RDFa
-Attributes
-</a>
-</li>
-<li class="tocline">
-<del class="diff-old">7.2
+<del class="diff-old">Namespaced
</del>
-<a href="#processing-rdfa-attributes-1" class="tocxref">
-<span class="secno">
-<ins class="diff-chg">4.5.2
-</ins>
-</span>
-Processing
RDFa
Attributes
</a>
</li>
</ul>
+<del class="diff-old">7.2
+</del>
</li>
</ul>
</li>
<li class="tocline">
<a href="#html-default-vocabulary-terms" class="tocxref">
<span class="secno">
-<del class="diff-old">8
-</del>
<ins class="diff-chg">A.
-</ins></span><ins class="diff-chg">
-HTML
+</ins>
+</span>
+<del class="diff-old">Processing
+</del>
+<ins class="diff-chg">HTML
Default
Vocabulary
Terms
@@ -1586,11 +1590,23 @@
HTML
4.01
+
+</ins>
RDFa
-1.1
+<del class="diff-old">Attributes
+</del>
+<ins class="diff-chg">1.1
DTD
-</ins></a></li></ul></li><li class="tocline"><a href="#about-this-document" class="tocxref"><span class="secno"><ins class="diff-chg">
-C.
+</ins>
+</a>
+</li>
+</ul>
+</li>
+<li class="tocline">
+<a href="#about-this-document" class="tocxref">
+<span class="secno">
+<del class="diff-old">8
+</del>
+<ins class="diff-chg">C.
</ins></span><ins class="diff-chg">
About
this
@@ -4065,8 +4081,7 @@
values.
</li>
</ul>
-<p>
-If
+<del class="diff-old">If
the
input
is
@@ -4078,9 +4093,7 @@
fragment,
the
processor
-<em class="rfc2119" title="must">
must
-</em>
transform
the
input
@@ -4116,13 +4129,11 @@
containing
the
XMLLiteral
-<em class="rfc2119" title="must not">
must
not
-</em>
be
generated.
-</p>
+</del>
<p>
An
RDFa
@@ -4146,28 +4157,34 @@
an
Infoset
</a>
-rules,
+<del class="diff-old">rules,
+</del>
+<ins class="diff-chg">algorithm,
+</ins>
as
specified
in
the
HTML5
specification,
-prior
+<del class="diff-old">prior
to
generating
the
triple
containing
+</del>
+<ins class="diff-chg">followed
+by
+</ins>
the
-XMLLiteral.
+<del class="diff-old">XMLLiteral.
The
serialization
+</del>
algorithm
-that
-<em class="rfc2119" title="must">
+<del class="diff-old">that
must
-</em>
be
used
for
@@ -4176,10 +4193,11 @@
XMLLiteral
is
normatively
+</del>
defined
in
the
-<a href="http://www.w3.org/TR/html5/Overview.html#serializing-xhtml-fragments">
+<a href="http://www.w3.org/TR/html5/Overvxiew.html#serializing-xhtml-fragments">
Serializing
XHTML
Fragments
@@ -4189,6 +4207,30 @@
the
HTML5
specification.
+<ins class="diff-new">If
+an
+error
+or
+exception
+occurs
+at
+any
+point
+during
+the
+transformation,
+the
+triple
+containing
+the
+XMLLiteral
+</ins><em class="rfc2119" title="must not"><ins class="diff-new">
+must
+not
+</ins></em><ins class="diff-new">
+be
+generated.
+</ins>
</p>
<p>
Transformation
@@ -4548,32 +4590,83 @@
processed
using
the
-rules
+<del class="diff-old">rules
specified
-in
-<a href="http://www.w3.org/TR/rdfa-core/#s_curieprocessing">
-Section
-<del class="diff-old">5.4,
</del>
-<ins class="diff-chg">7.4,
+<ins class="diff-chg">algorithm
+defined
</ins>
+in
+<del class="diff-old">Section
+5.4,
CURIE
and
+</del>
+<ins class="diff-chg">section
+4.4.1:
+</ins><a href="#extracting-uri-mappings-from-infosets"><ins class="diff-chg">
+Extracting
+</ins>
URI
<del class="diff-old">Processing,
</del>
-<ins class="diff-chg">Processing
-</ins></a>,
-contained
+<ins class="diff-chg">Mappings
+from
+Infosets
+</ins>
+</a>
+<del class="diff-old">contained
in
+</del>
+<ins class="diff-chg">for
+Infoset-based
+processors,
+or
+section
+4.5.1:
+</ins><a href="#extracting-uri-mappings-from-doms"><ins class="diff-chg">
+Extracting
+URI
+Mappings
+from
+DOMs
+</ins></a><ins class="diff-chg">
+for
+DOM
+Level
+2-based
+processors.
+For
+CURIE
+prefix
+mappings
+using
+</ins>
the
<del class="diff-old">XHTML+RDFa
+specification.
</del>
-<ins class="diff-chg">RDFa
-Core
-1.1
+<code>
+<ins class="diff-chg">prefix
+</ins></code><ins class="diff-chg">
+attribute,
+</ins><a href="http://www.w3.org/TR/rdfa-core/#sequence"><ins class="diff-chg">
+Section
+7.5:
+Sequence
+</ins></a>,<ins class="diff-chg">
+step
+#4
+</ins><em class="rfc2119" title="must"><ins class="diff-chg">
+must
+</ins></em><ins class="diff-chg">
+be
+used
+to
+process
+namespace
+values.
</ins>
-specification.
</p>
<p>
Since
@@ -5336,7 +5429,7 @@
provided
below.
</p>
-<div id="processing-namespaced-rdfa-attributes" class="section">
+<div id="extracting-uri-mappings-from-infosets" class="section">
<h4>
<del class="diff-old">6.1
</del>
@@ -5344,16 +5437,30 @@
<ins class="diff-chg">4.4.1
</ins>
</span>
-Processing
+<del class="diff-old">Processing
Namespaced
RDFa
Attributes
-</h4>
+</del>
+<ins class="diff-chg">Extracting
+URI
+Mappings
+from
+Infosets
+</ins></h4>
<p>
Extracting
-namespaced
+<del class="diff-old">namespaced
RDFa
attributes
+</del>
+<ins class="diff-chg">URI
+Mappings
+declared
+via
+</ins><code><ins class="diff-chg">
+xmlns:
+</ins></code>
while
operating
from
@@ -5861,7 +5968,7 @@
provided
below.
</p>
-<div id="processing-namespaced-rdfa-attributes-1" class="section">
+<div id="extracting-uri-mappings-from-doms" class="section">
<h4>
<del class="diff-old">7.1
</del>
@@ -5869,16 +5976,30 @@
<ins class="diff-chg">4.5.1
</ins>
</span>
-Processing
+<del class="diff-old">Processing
Namespaced
RDFa
Attributes
-</h4>
+</del>
+<ins class="diff-chg">Extracting
+URI
+Mappings
+from
+DOMs
+</ins></h4>
<p>
Extracting
-namespaced
+<del class="diff-old">namespaced
RDFa
attributes
+</del>
+<ins class="diff-chg">URI
+Mappings
+declared
+via
+</ins><code><ins class="diff-chg">
+xmlns:
+</ins></code>
while
operating
from
@@ -6404,10 +6525,8 @@
<ins class="diff-chg">resource.
</ins></dd><dt><ins class="diff-chg">
appendix
-</ins>
-</dt>
-<dd>
-<ins class="diff-new">Refers
+</ins></dt><dd><ins class="diff-chg">
+Refers
to
a
resource
@@ -6418,10 +6537,12 @@
in
a
collection.
-</ins></dd><dt><ins class="diff-new">
+</ins></dd><dt><ins class="diff-chg">
bookmark
-</ins></dt><dd><ins class="diff-new">
-Refers
+</ins>
+</dt>
+<dd>
+<ins class="diff-new">Refers
to
a
bookmark.
@@ -6952,9 +7073,8 @@
HTML
4.01
+
-</ins>
RDFa
-<ins class="diff-new">1.1
+1.1
DTD
</ins></h3><div><p>You can download this version of this file from <a href="DTD/html401-rdfa11-1.dtd">DTD/html401-rdfa11-1.dtd</a>. The latest version is available at <a href="http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd</a>.</p><pre class="dtd"><!--<ins class="diff-new">
This is the HTML 4.01 + RDFa 1.1 DTD, which includes
@@ -7894,8 +8014,9 @@
would
eventually
become
+</ins>
RDFa
-(The
+<ins class="diff-new">(The
Resource
Description
Framework
@@ -8731,15 +8852,17 @@
http://www.w3.org/TR/2008/REC-rdfa-syntax-20081014
</ins></a></dd><dt id="bib-XHTML-RDFA"><ins class="diff-chg">
[XHTML-RDFA]
-</ins></dt><dd><ins class="diff-chg">
-Shane
+</ins>
+</dt>
+<dd>
+<ins class="diff-new">Shane
McCarron;
et.
al.
-</ins><a href="http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422"><cite><ins class="diff-chg">
+</ins><a href="http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422"><cite><ins class="diff-new">
XHTML+RDFa
1.1.
-</ins></cite></a><ins class="diff-chg">
+</ins></cite></a><ins class="diff-new">
22
April
2010.
@@ -8747,12 +8870,11 @@
Working
Draft.
URL:
-</ins><a href="http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422"><ins class="diff-chg">
+</ins><a href="http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422"><ins class="diff-new">
http://www.w3.org/TR/WD-xhtml-rdfa-20100422
-</ins></a></dd><dt id="bib-XHTML-VOCAB"><ins class="diff-chg">
+</ins></a></dd><dt id="bib-XHTML-VOCAB"><ins class="diff-new">
[XHTML-VOCAB]
-</ins>
-</dt>
+</ins></dt>
<dd>
XHTML
<del class="diff-old">and
Received on Wednesday, 5 May 2010 02:06:30 UTC