- From: Manu Sporny via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 12 Jan 2011 02:51:44 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/rdfa In directory hutz:/tmp/cvs-serv29342 Modified Files: Overview.html Log Message: [html+rdfa] Generated Working Draft for publication. Index: Overview.html =================================================================== RCS file: /sources/public/html5/rdfa/Overview.html,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- Overview.html 20 Oct 2010 21:40:39 -0000 1.32 +++ Overview.html 12 Jan 2011 02:51:42 -0000 1.33 @@ -512,17 +512,18 @@ pre.sh_sourceCode .sh_paren { color: red; } pre.sh_sourceCode .sh_attribute { color: #006400; } -</style><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 property="dcterms:title" class="title" id="title">HTML+RDFa 1.1</h1><h2 property="bibo:subtitle" id="subtitle">Support for RDFa in HTML4 and HTML5</h2><h2 property="dcterms:issued" datatype="xsd:dateTime" content="2010-10-19T04:00:00+0000" id="w3c-editor-s-draft-19-october-2010">W3C Editor's Draft 19 October 2010</h2><dl><dt>This version:</dt><dd><a href="http://dev.w3.org/html5/rdfa/">http://dev.w3.org/html5/rdfa/</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/">http://dev.w3.org/html5/rdfa/</a></dd><dt>Previous version:</dt><dd><a rel="dcterms:replaces" href="ttp://www.w3.org/TR/2010/WD-rdfa-in-html-20101019/">http://www.w3.org/TR/2010/WD-rdfa-in-html-20101019/</a></dd><dt>Editors:</dt><dd rel="bibo:editor"><span typeof="foaf:Person"><a rel="foaf:homepage" property="foaf:name" content="Manu Sporny" href="mailto:msporny@digitalbazaar.com">Manu Sporny</a>, <a rel="foaf:workplaceHomepage" href="http://blog.digitalbazaar.com">Digital Bazaar, Inc.</a></span> +</style><link href="http://www.w3.org/StyleSheets/TR/W3C-WD" 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 property="dcterms:title" class="title" id="title">HTML+RDFa 1.1</h1><h2 property="bibo:subtitle" id="subtitle">Support for RDFa in HTML4 and HTML5</h2><h2 property="dcterms:issued" datatype="xsd:dateTime" content="2011-01-12T02:50:20+0000" id="w3c-working-draft-11-january-2011">W3C Working Draft 11 January 2011</h2><dl><dt>This version:</dt><dd><a href="http://www.w3.org/TR/2011/WD-rdfa-in-html-20110111/">http://www.w3.org/TR/2011/WD-rdfa-in-html-20110111/</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/">http://dev.w3.org/html5/rdfa/</a></dd><dt>Previous version:</dt><dd><a rel="dcterms:replaces" href="http://www.w3.org/TR/2010/WD-rdfa-in-html-20101019/">http://www.w3.org/TR/210/WD-rdfa-in-html-20101019/</a></dd><dt>Editors:</dt><dd rel="bibo:editor"><span typeof="foaf:Person"><a rel="foaf:homepage" property="foaf:name" content="Manu Sporny" href="mailto:msporny@digitalbazaar.com">Manu Sporny</a>, <a rel="foaf:workplaceHomepage" href="http://blog.digitalbazaar.com">Digital Bazaar, Inc.</a></span> </dd> <dd rel="bibo:editor"><span typeof="foaf:Person"><a rel="foaf:homepage" property="foaf:name" content="Shane McCarron" href="mailto:shane@aptest.com">Shane McCarron</a>, <a rel="foaf:workplaceHomepage" href="http://www.aptest.com/">Applied Testing and Technology, Inc.</a></span> </dd> -<dt>Authors:</dt><dd rel="dcterms:contributor"><span typeof="foaf:Person"><span property="foaf:name">Ben Adida</span>, <a rel="foaf:workplaceHomepage" href="http://creativecommons.org/">Creative Commons</a></span> +<dt>Authors:</dt><dd rel="dcterms:contributor"><span typeof="foaf:Person"><a rel="foaf:homepage" property="foaf:name" content="Ben Adida" href="http://adida.net/">Ben Adida</a>, <a rel="foaf:workplaceHomepage" href="http://creativecommons.org/">Creative Commons</a></span> </dd> -<dd rel="dcterms:contributor"><span typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span>, <a rel="foaf:workplaceHomepage" href="http://webbackplane.com/">Web Backplane Ltd.</a></span> +<dd rel="dcterms:contributor"><span typeof="foaf:Person"><a rel="foaf:homepage" property="foaf:name" content="Mark Birbeck" href="http://webbackplane.com/">Mark Birbeck</a>, <a rel="foaf:workplaceHomepage" href="http://webbackplane.com/">Web Backplane Ltd.</a></span> </dd> -<dd rel="dcterms:contributor"><span typeof="foaf:Person"><span property="foaf:name">Steven Pemberton</span>, <a rel="foaf:workplaceHomepage" href="http://www.cwi.nl/">CWI</a></span> +<dd rel="dcterms:contributor"><span typeof="foaf:Person"><a rel="foaf:homepage" property="foaf:name" content="Steven Pemberton" href="http://homepages.cwi.nl/~steven/">Steven Pemberton</a>, <a rel="foaf:workplaceHomepage" href="http://www.cwi.nl/">CWI</a></span> </dd> -</dl><p class="copyright"><a rel="license" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2009-2010 <span rel="dcterms:publisher"><span typeof="foaf:Organization"><a rel="foaf:homepage" property="foaf:name" content="World Wide Web Consotrium" href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup></span></span> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <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> +</dl><p class="copyright"><a rel="license" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2009-2011 <span rel="dcterms:publisher"><span typeof="foaf:Organization"><a rel="foaf:homepage" property="foaf:name" content="World Wide Web Consotrium" href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup></span></span> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <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" property="dcterms:abstract" datatype="" typeof="bibo:Chapter" about="#abstract"><h2>Abstract</h2> <p>This specification defines rules and guidelines for adapting the RDFa Core @@ -545,13 +546,10 @@ <p>There are a few substantive differences between this version and its predecessor, including:</p> <ol> -<li>The removal of the <code>@version</code> attribute to bring the -specification more in-line with HTML5's version-less design.</li> -<li>Removed the HTML Default Vocabulary Terms section from this document, -instead deferring the definitions in a default RDFa Profile document, which is -also shared with XHTML+RDFa for the purposes of consistency and -interoperability.</li> -<li>The addition of RDFa to the document markup.</li> +<li>Removal of the decentralized extensibility issue markers - web developers +are going to use xmlns: in HTML5 documents, the rules need to be clear in +the cases where this happens.</li> +<li>Added DOM Level 1 prefix mapping algorithm.</li> </ol> <p>The latest stable version of the editor's draft of this specification is @@ -602,7 +600,7 @@ <a href="http://www.w3.org/Bugs/Public/enter_bug.cgi?product=HTML%20WG">public bug database</a>. All feedback is welcome.</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 W3C 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 W3C Patent Policy</a>. W3C 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 wih 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 W3C Patent Policy</a>.</p></div><div id="toc" typeof="bibo:Chapter" about="#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 href="#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="toxref"><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></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="tocxrf"><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></ul></li></ul></li><li class="tocline"><a href="#validation" class="tocxref"><span class="secno">A. </span>Validation</a><ul class="toc"><li class="tocline"><a href="#the-html-4.01---rdfa-1.1-dtd" class="tocxref"><span class="secno">A.1 </span>The HTML 4.01 + RDFa 1.1 DTD</a></li></ul></li><li class="tocline"><a href="#about-this-ocument" class="tocxref"><span class="secno">B. </span>About this Document</a><ul class="toc"><li class="tocline"><a href="#history" class="tocxref"><span class="secno">B.1 </span>History</a></li><li class="tocline"><a href="#change-history" class="tocxref"><span class="secno">B.2 </span>Change History</a></li><li class="tocline"><a href="#acknowledgments" class="tocxref"><span class="secno">B.3 </span>Acknowledgments</a></li></ul></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">C. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">C.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">C.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 a Working Draft. This document is intended to become a W3C Recommendation. 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 Working Draft does not imply endorsement by the W3C 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 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/40318/status" rel="disclosure">public lst 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 W3C Patent Policy</a>.</p></div><div id="toc" typeof="bibo:Chapter" about="#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 href="#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="tcline"><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></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 hre="#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-1-and-level-2-based-processors" class="tocxref"><span class="secno">4.5 </span>DOM Level 1 and Level 2-based Processors</a><ul class="toc"><li class="tocline"><a href="#extracting-uri-mappings-via-dom-level-2" class="tocxref"><span class="secno">4.5.1 </span>Extracting URI Mappings via DOM Level 2</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></ul></li></ul></li><li class="tocline"><a href="#validation" class="tocxref"><span class="secno">A. </span>Validation</a><ul class="toc"><li class="tocline"><a href="#the-html-4.01---rdfa-1.1-dtd" class="tocxref"><span class="secno">A.1 </spn>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">B. </span>About this Document</a><ul class="toc"><li class="tocline"><a href="#history" class="tocxref"><span class="secno">B.1 </span>History</a></li><li class="tocline"><a href="#change-history" class="tocxref"><span class="secno">B.2 </span>Change History</a></li><li class="tocline"><a href="#acknowledgments" class="tocxref"><span class="secno">B.3 </span>Acknowledgments</a></li></ul></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">C. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">C.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">C.2 </span>Informative references</a></li></ul></li></ul></div> @@ -853,8 +851,8 @@ <p xmlns:ex="http://example.org/vocab#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> Two rectangles (the example markup for them are stored in a triple): <svg <span class="hilite">xmlns</span>="<span class="hilite">http://www.w3.org/2000/svg</span>" property="ex:markup" datatype="rdf:XMLLiteral"> - →<rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:1; stroke:rgb(0,0,0)"> - →<rect width="50" height="50" style="fill:rgb(255,0,0);stroke-width:2;stroke:rgb(0,0,0)"></rect></rect></svg> + →<rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:1; stroke:rgb(0,0,0)"></rect> + →<rect width="50" height="50" style="fill:rgb(255,0,0);stroke-width:2;stroke:rgb(0,0,0)"></rect></svg> </p></pre> <p>The markup above <em class="rfc2119" title="should">should</em> produce the following triple, which preserves the xmlns declaration in the markup by injecting the <code>xmlns</code> attribute @@ -902,11 +900,13 @@ <div id="xmlns--prefixed-attributes" typeof="bibo:Chapter" about="#xmlns--prefixed-attributes" class="section"> <h3><span class="secno">3.5 </span><code>xmlns:</code>-Prefixed Attributes</h3> - <p class="issue">While this section outlines xmlns: processing in RDFa, the - support for distributed extensibility in non-XML mode HTML5 (using xmlns - and xmlns:) is still an open issue. This section may be further modified - before Last Call based on progress made on the distributed extensibility - issue.</p> + <p>The RDFa Core 1.1 [<cite><a class="bibref" rel="biblioentry" href="#bib-RDFA-CORE">RDFA-CORE</a></cite>] specification effectively deprecates the + use of the <code>xmlns:</code> mechanism to declare CURIE prefix mappings in + favor of the <code>prefix</code> attribute. While utilizing + <code>xmlns:</code> is now frowned upon, there are instances where it is + unavoidable - such as publishing legacy documents as HTML5 or supporting + older XHTML+RDFa 1.0 documents that rely on the <code>xmlns:</code> + attribute.</p> <p>CURIE prefix mappings specified using attributes prepended with <code>xmlns:</code> <em class="rfc2119" title="must">must</em> be processed using the algorithm defined in @@ -937,8 +937,6 @@ <!-- OddPage --> <h2><span class="secno">4. </span>Extensions to the HTML5 Syntax</h2> - <p class="issue"><b>Status:</b> <a href="http://www.w3.org/html/wg/tracker/issues/41">ISSUE-41</a> (decentralized extensibility) blocks progress to Last Call</p> - <p>There are a few extensions to the HTML5 specification that are required in order to fully support RDFa. The following sub-sections outline the necessary extensions to the base HTML5 specification.</p> @@ -948,21 +946,16 @@ <p>All RDFa attributes and valid values (including CURIEs), as listed in <a href="http://www.w3.org/TR/rdfa-core/#rdfa-attributes">Section 2.1: - The RDFa Attributes</a>, are conforming when used in an HTML5 or XHTML5 - document.</p> + The RDFa Attributes</a>, are conforming when used in an HTML4, HTML5 + or XHTML5 document.</p> </div> <div id="conformance-criteria-for-xmlns--prefixed-attributes" typeof="bibo:Chapter" about="#conformance-criteria-for-xmlns--prefixed-attributes" class="section"> <h3><span class="secno">4.2 </span>Conformance Criteria for <code>xmlns:</code>-Prefixed Attributes</h3> - <p class="issue">While this section outlines xmlns: conformance criteria for - HTML+RDFa, the support for distributed extensibility in non-XML mode HTML5 - (using xmlns and xmlns:) is still an open issue. This section may be - further modified before Last Call based on progress made on the distributed - extensibility issue.</p> - - <p>Since RDFa uses attributes starting with <code>xmlns:</code> to specify + <p>Since RDFa documents may contain attributes starting with + <code>xmlns:</code> to specify CURIE prefixes, any attribute starting with a case-insensitive match on the text string "<code>xmlns:</code>" <em class="rfc2119" title="must">must</em> be preserved in the DOM or other tree-like model that is passed to the RDFa Processor. @@ -989,7 +982,7 @@ ensure that this feature does not conflict with user agent architecture and has no technical reason that it cannot be implemented.</p> - <p>RDFa is uses the <code>xmlns:</code> pattern to + <p>RDFa documents may contain the <code>xmlns:</code> pattern to declare prefix mappings, it is important that namespace information that is declared in non-XML mode HTML5 documents are mapped to an Infoset correctly. In order to ensure this mapping is performed correctly, the @@ -1011,15 +1004,15 @@ <p>For example, given the following input text:</p> <pre class="example"> -<div xmlns:audio="http://purl.org/media/audio#"></pre> +<div xmlns:com="http://purl.org/commerce#"></pre> <p> The <code>div</code> element above, when coerced from an HTML DOM into an Infoset, should contain an attribute in the [<a href="http://www.w3.org/TR/xml-infoset/#infoitem.element">namespace attributes</a>] list with a [namespace name] set to "<code>http://www.w3.org/2000/xmlns/</code>", a [local name] set to -<code>audio</code>, and a [normalized value] of -"<code>http://purl.org/media/audio#</code>". +<code>com</code>, and a [normalized value] of +"<code>http://purl.org/commerce#</code>". </p> </div> @@ -1097,19 +1090,35 @@ </div> </div> -<div id="dom-level-2-based-processors" typeof="bibo:Chapter" about="#dom-level-2-based-processors" class="section"> - <h3><span class="secno">4.5 </span>DOM Level 2-based Processors</h3> +<div id="dom-level-1-and-level-2-based-processors" typeof="bibo:Chapter" about="#dom-level-1-and-level-2-based-processors" class="section"> + <h3><span class="secno">4.5 </span>DOM Level 1 and Level 2-based Processors</h3> <p class="issue">This mechanism should be double-checked against all of the RDFa Javascript implementations to ensure correctness.</p> - <p>While the intent of the RDFa processing instructions were to provide a - set of rules that are as language and toolchain agnostic as possible, for - the sake of clarity, detailed methods of extracting RDFa content from - processors operating in a DOM2 environment are provided below.</p> + <p>Most DOM-aware RDFa Processors are capable of accessing DOM Level 1 + [<cite><a class="bibref" rel="biblioentry" href="#bib-DOM-LEVEL-1">DOM-LEVEL-1</a></cite>] + methods to process attributes on elements. To discover all + <code>xmlns:</code>-specified CURIE prefix mappings, the + <a href="http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-1950641247"> + Node.attributes</a> + <a href="http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-1780488922"> + NamedNodeMap</a> can be iterated over. Each + <a href="http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-637646024"> + Attr.name</a> that + starts with the text string <code>xmlns:</code> specifies a CURIE prefix + mapping. The value to be mapped is the string after the <code>xmlns:</code> + substring in the Attr.name variable and the value to be mapped is + the value of the Attr.value variable.</p> -<div id="extracting-uri-mappings-from-doms" typeof="bibo:Chapter" about="#extracting-uri-mappings-from-doms" class="section"> - <h4><span class="secno">4.5.1 </span>Extracting URI Mappings from DOMs</h4> + <p>The intent of the RDFa processing instructions are to provide a + set of rules that are as language and toolchain agnostic as possible. If + a developer chooses to not use the DOM1 environment mechanism outlined in + the previous paragraph, they may use the following DOM2 [<cite><a class="bibref" rel="biblioentry" href="#bib-DOM-LEVEL-2-CORE">DOM-LEVEL-2-CORE</a></cite>] + environment mechanism.</p> + +<div id="extracting-uri-mappings-via-dom-level-2" typeof="bibo:Chapter" about="#extracting-uri-mappings-via-dom-level-2" class="section"> + <h4><span class="secno">4.5.1 </span>Extracting URI Mappings via DOM Level 2</h4> <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 @@ -1144,10 +1153,10 @@ <p>For example, assume that the following markup is processed by a DOM2-based RDFa processor:</p> <pre class="example"> -<div xmlns:audio="http://purl.org/media/audio#" ...</pre> +<div xmlns:com="http://purl.org/commerce#" ...</pre> <p>After the markup is processed, there should exist a [URI mapping] in the [local list of URI mappings] that contains a mapping from -<code>audio</code> to <code>http://purl.org/media/audio#</code>. +<code>com</code> to <code>http://purl.org/commerce#</code>. </p> </div> @@ -1458,12 +1467,14 @@ <!ELEMENT <span class="element">BDO</span> - - (%inline;)* -- I18N BiDi over-ride --> <!ATTLIST BDO %coreattrs; -- id, class, style, title -- + %metainformation; -- metadata attributes -- lang %LanguageCode; #IMPLIED -- language code -- dir (ltr|rtl) #<em class="rfc2119" title="required">required</em> -- directionality -- > <!ELEMENT <span class="element">BASEFONT</span> - O EMPTY -- base font size --> <!ATTLIST BASEFONT + %metainformation; -- metadata attributes -- id ID #IMPLIED -- document-wide unique id -- size CDATA #<em class="rfc2119" title="required">required</em> -- base font size for FONT elements -- color %Color; #IMPLIED -- text color -- @@ -1473,6 +1484,7 @@ <!ELEMENT <span class="element">FONT</span> - - (%inline;)* -- local change to font --> <!ATTLIST FONT %coreattrs; -- id, class, style, title -- + %metainformation; -- metadata attributes -- %i18n; -- lang, dir -- size CDATA #IMPLIED -- [+|-]nn e.g. size="+1", size="4" -- color %Color; #IMPLIED -- text color -- @@ -1482,6 +1494,7 @@ <!ELEMENT <span class="element">BR</span> - O EMPTY -- forced line break --> <!ATTLIST BR %coreattrs; -- id, class, style, title -- + %metainformation; -- metadata attributes -- clear (left|all|right|none) none -- control of text flow -- > @@ -2151,6 +2164,7 @@ <!ELEMENT <span class="element">FRAMESET</span> - - ((FRAMESET|FRAME)+ & NOFRAMES?) -- window subdivision--> <!ATTLIST FRAMESET %coreattrs; -- id, class, style, title -- + %metainformation; -- metadata attributes -- rows %MultiLengths; #IMPLIED -- list of lengths, default: 100% (1 row) -- cols %MultiLengths; #IMPLIED -- list of lengths, @@ -2165,6 +2179,7 @@ <!ELEMENT <span class="element">FRAME</span> - O EMPTY -- subwindow --> <!ATTLIST FRAME %coreattrs; -- id, class, style, title -- + %metainformation; -- metadata attributes -- longdesc %URI; #IMPLIED -- link to long description (complements title) -- name CDATA #IMPLIED -- name of frame for targetting -- @@ -2180,6 +2195,7 @@ <!ELEMENT <span class="element">IFRAME</span> - - (%flow;)* -- inline subwindow --> <!ATTLIST IFRAME %coreattrs; -- id, class, style, title -- + %metainformation; -- metadata attributes -- longdesc %URI; #IMPLIED -- link to long description (complements title) -- name CDATA #IMPLIED -- name of frame for targetting -- @@ -2225,10 +2241,12 @@ <!ATTLIST ISINDEX %coreattrs; -- id, class, style, title -- %i18n; -- lang, dir -- + %metainformation; -- metadata attributes -- prompt %Text; #IMPLIED -- prompt message --> <!ELEMENT <span class="element">BASE</span> - O EMPTY -- document base URI --> <!ATTLIST BASE + %metainformation; -- metadata attributes -- href %URI; #IMPLIED -- URI that acts as base URI -- target %FrameTarget; #IMPLIED -- render in this frame -- > @@ -2245,6 +2263,7 @@ <!ELEMENT <span class="element">STYLE</span> - - %StyleSheet -- style info --> <!ATTLIST STYLE %i18n; -- lang, dir, for use with title -- + %metainformation; -- metadata attributes -- type %ContentType; #<em class="rfc2119" title="required">required</em> -- content type of style language -- media %MediaDesc; #IMPLIED -- designed for use with these media -- title %Text; #IMPLIED -- advisory title -- @@ -2252,6 +2271,7 @@ <!ELEMENT <span class="element">SCRIPT</span> - - %Script; -- script statements --> <!ATTLIST SCRIPT + %metainformation; -- metadata attributes -- charset %Charset; #IMPLIED -- char encoding of linked resource -- type %ContentType; #<em class="rfc2119" title="required">required</em> -- content type of script language -- language CDATA #IMPLIED -- predefined script language name -- @@ -2357,6 +2377,9 @@ <p>2010-10-19: Removal of @version attribute, migrated HTML Vocabulary Terms to RDFa Profile document, added statement to send comments to the HTML WG bug tracker. </p> +<p>2011-01-11: Removed decentralized extensibility issue markers, added +DOM Level 1 prefix mapping extraction algorithm. +</p> </div> <div class="informative section" id="acknowledgments" typeof="bibo:Chapter" about="#acknowledgments"> @@ -2382,8 +2405,10 @@ <div id="references" class="appendix section" typeof="bibo:Chapter" about="#references"> <!-- OddPage --> -<h2><span class="secno">C. </span>References</h2><div id="normative-references" typeof="bibo:Chapter" about="#normative-references" class="section"><h3><span class="secno">C.1 </span>Normative references</h3><dl class="bibliography" about=""><dt id="bib-HTML5">[HTML5]</dt><dd rel="dcterms:requires">Ian Hickson; David Hyatt. <a href="http://www.w3.org/TR/2010/WD-html5-20100304/"><cite>HTML 5.</cite></a> 4 March 2010. W3C Working Draft. (Work in progress.) URL: <a href="http://www.w3.org/TR/2010/WD-html5-20100304/">http://www.w3.org/TR/2010/WD-html5-20100304/</a> -</dd><dt id="bib-RDFA-CORE">[RDFA-CORE]</dt><dd rel="dcterms:requires">Shane McCarron; et al. <a href="http://www.w3.org/TR/2010/WD-rdfa-core-20100803"><cite>RDFa Core 1.1: Syntax and processing rules for embedding RDF through attributes.</cite></a>3 August 2010. W3C Working Draft. URL: <a href="http://www.w3.org/TR/2010/WD-rdfa-core-20100803">http://www.w3.org/TR/2010/WD-rdfa-core-20100803</a> +<h2><span class="secno">C. </span>References</h2><div id="normative-references" typeof="bibo:Chapter" about="#normative-references" class="section"><h3><span class="secno">C.1 </span>Normative references</h3><dl class="bibliography" about=""><dt id="bib-DOM-LEVEL-1">[DOM-LEVEL-1]</dt><dd rel="dcterms:requires">Vidur Apparao; et al. <a href="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/"><cite>Document Object Model (DOM) Level 1.</cite></a> 1 October 1998. W3C Recommendation. URL: <a href="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/">http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/</a> +</dd><dt id="bib-DOM-LEVEL-2-CORE">[DOM-LEVEL-2-CORE]</dt><dd rel="dcterms:requires">Arnaud Le Hors; et al. <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/"><cite>Document Object Model (DOM) Level 2 Core Specification.</cite></a> 13 November 2000. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/">http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/</a> +</dd><dt id="bib-HTML5">[HTML5]</dt><dd rel="dcterms:requires">Ian Hickson; David Hyatt. <a href="http://www.w3.org/TR/2010/WD-html5-20100304/"><cite>HTML 5.</cite></a> 4 March 2010. W3C Working Draft. (Work in progress.) URL: <a href="http://www.w3.org/TR/2010/WD-html5-20100304/">http://www.w3.org/TR/2010/WD-html5-20100304/</a> +</dd><dt id="bib-RDFA-CORE">[RDFA-CORE]</dt><dd rel="dcterms:requires">Shane McCarron; et al. <a href="http://www.w3.org/TR/2010/WD-rdfa-core-20101026"><cite>RDFa Core 1.1: Syntax and processing rules for embedding RDF through attributes.</cite></a>26 October 2010. W3C Working Draft. URL: <a href="http://www.w3.org/TR/2010/WD-rdfa-core-20101026">http://www.w3.org/TR/2010/WD-rdfa-core-20101026</a> </dd><dt id="bib-RFC2119">[RFC2119]</dt><dd rel="dcterms:requires">S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key words for use in RFCs to Indicate Requirement Levels.</cite></a> March 1997. Internet RFC 2119. URL: <a href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a> </dd><dt id="bib-RFC3236">[RFC3236]</dt><dd rel="dcterms:requires">P. Stark; M. Baker. <a href="http://www.rfc-editor.org/rfc/rfc3236.txt"><cite>The 'application/xhtml+xml' Media Type.</cite></a> January 2002. Internet RFC 3236. URL: <a href="http://www.rfc-editor.org/rfc/rfc3236.txt">http://www.rfc-editor.org/rfc/rfc3236.txt</a> </dd><dt id="bib-XML-NAMES11">[XML-NAMES11]</dt><dd rel="dcterms:requires">Andrew Layman; et al. <a href="http://www.w3.org/TR/2006/REC-xml-names11-20060816"><cite>Namespaces in XML 1.1 (Second Edition).</cite></a> 16 August 2006. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2006/REC-xml-names11-20060816">http://www.w3.org/TR/2006/REC-xml-names11-20060816</a>
Received on Wednesday, 12 January 2011 02:51:47 UTC