- From: Manu Sporny via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 04 May 2010 00:24:12 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/rdfa/drafts/ED-rdfa-in-html-20100503 In directory hutz:/tmp/cvs-serv27282 Modified Files: Overview.html diff-20100304.html Log Message: Actually addressed HTML+RDFa bug #8983 by clarifying how the current language is extracted. Index: Overview.html =================================================================== RCS file: /sources/public/html5/rdfa/drafts/ED-rdfa-in-html-20100503/Overview.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Overview.html 4 May 2010 00:22:14 -0000 1.2 +++ Overview.html 4 May 2010 00:24:10 -0000 1.3 @@ -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-02-may-2010"><acronym title="World Wide Web Consortium">W3C</acronym> Editor's Draft 02 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-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> <div id="abstract" class="introductory section"><h2>Abstract</h2> @@ -280,14 +280,16 @@ <div id="specifying-the-language-for-a-literal" class="section"> <h3><span class="secno">3.3 </span>Specifying the language for a literal</h3> - <p>The <code>lang</code> attribute <em class="rfc2119" title="must">must</em> be processed in the same manner as - the <code>xml:lang</code> attribute is in the RDFa Core 1.1 specification, - <a href="http://www.w3.org/TR/rdfa-core/#sequence">Section 7.5: - Sequence</a>, step #3.</p>The rules for determining the language of a node - are specified in the section titled <a href="http://www.w3.org/TR/html5#the-lang-and-xml:lang-attributes"> - The lang and xml:lang attributes</a> in the HTML5 specification. + <p>RDFa Core 1.1 allows for the + <a class="tref" title="current_language" href="http://www.w3.org/TR/2010/WD-rdfa-core-20100422/#dfn-current_language">current language</a> + to be specified by the Host Language. In order for RDFa Processors to conform + to this specification, they <em class="rfc2119" title="must">must</em> use the mechanism described in + <em>The lang and xml:lang attributes</em> section of the [<a class="bibref" rel="biblioentry" href="#bib-HTML5">HTML5</a>] + specification to determine the + <a class="tref" title="language" href="http://www.w3.org/TR/html5/Overview.html#language">language</a> + of a node. - <p>If an author is editing an HTML fragment and is unsure of the final + </p><p>If an author is editing an HTML fragment and is unsure of the final encapsulating MIME type for their markup, it is suggested that the author specify both <code>lang</code> and <code>xml:lang</code> where the value in both attributes is exactly the same.</p> Index: diff-20100304.html =================================================================== RCS file: /sources/public/html5/rdfa/drafts/ED-rdfa-in-html-20100503/diff-20100304.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- diff-20100304.html 4 May 2010 00:22:14 -0000 1.2 +++ diff-20100304.html 4 May 2010 00:24:10 -0000 1.3 @@ -97,7 +97,7 @@ HTML5 </ins> </h2> -<h2 id="w3c-editor-s-draft-02-may-2010"> +<h2 id="w3c-editor-s-draft-03-may-2010"> <acronym title="World Wide Web Consortium"> W3C <del class="diff-old">Working @@ -109,7 +109,7 @@ <del class="diff-old">04 March </del> -<ins class="diff-chg">02 +<ins class="diff-chg">03 May </ins> 2010 @@ -253,17 +253,17 @@ </ins><a href="http://"><ins class="diff-chg"> Creative Commons -</ins></a> -</dd> -<dd> -<ins class="diff-new">Mark +</ins></a></dd><dd><ins class="diff-chg"> +Mark Birbeck, -</ins><a href="http://"><ins class="diff-new"> +</ins><a href="http://"><ins class="diff-chg"> Web Backplane Ltd. -</ins></a></dd><dd><ins class="diff-new"> -Steven +</ins></a> +</dd> +<dd> +<ins class="diff-new">Steven Pemberton, </ins><a href="http://"><ins class="diff-new"> CWI @@ -3279,24 +3279,45 @@ for <del class="diff-old">both types +of +serializations </del> <ins class="diff-chg">HTML4, HTML5 +</ins> and -XHTML5 +<del class="diff-old">DOMs. +</del> +<ins class="diff-chg">XHTML5 serializations, DOMs and/or Infosets. -</ins></p><div id="additional-rdfa-processing-rules" class="section"><h3><span class="secno"><ins class="diff-chg"> -3.1 -</ins></span><ins class="diff-chg"> -Additional +</ins> +</p> +<div id="additional-rdfa-processing-rules" class="section"> +<h3> +<del class="diff-old">4.1 +</del> +<span class="secno"> +<ins class="diff-chg">3.1 +</ins> +</span> +<del class="diff-old">Specifying +the +language +for +a +literal +</del> +<ins class="diff-chg">Additional RDFa Processing Rules -</ins></h3><p><ins class="diff-chg"> -Documents +</ins> +</h3> +<p> +<ins class="diff-new">Documents conforming to the @@ -3309,57 +3330,61 @@ according to [ -</ins><a class="bibref" rel="biblioentry" href="#bib-RDFA-CORE"><ins class="diff-chg"> +</ins><a class="bibref" rel="biblioentry" href="#bib-RDFA-CORE"><ins class="diff-new"> RDFA-CORE -</ins></a><ins class="diff-chg"> +</ins></a><ins class="diff-new"> ] with the following extensions: -</ins></p><ul><li><ins class="diff-chg"> +</ins></p><ul><li><ins class="diff-new"> The -</ins><a class="tref" title="default_vocabulary_URI"><ins class="diff-chg"> +</ins><a class="tref" title="default_vocabulary_URI"><ins class="diff-new"> default vocabulary URI -</ins></a><ins class="diff-chg"> +</ins></a><ins class="diff-new"> is -</ins><code><ins class="diff-chg"> +</ins><code><ins class="diff-new"> http://www.w3.org/1999/xhtml/vocab# -</ins></code>.</li><li><ins class="diff-chg"> +</ins></code>.</li><li> The -</ins><a class="tref" title="default_collection_of_terms"><ins class="diff-chg"> -default +<a class="tref" title="default_collection_of_terms"> +<ins class="diff-new">default collection -</ins> of -<del class="diff-old">serializations -</del> -<ins class="diff-chg">terms -</ins></a><ins class="diff-chg"> +terms +</ins></a><ins class="diff-new"> is defined in -</ins><a href="#html-default-vocabulary-terms"><ins class="diff-chg"> +</ins><a href="#html-default-vocabulary-terms"><ins class="diff-new"> HTML Default Vocabulary Terms -</ins></a>.</li><li><ins class="diff-chg"> +</ins></a>.</li><li><ins class="diff-new"> The -</ins><a class="tref" title="base"><ins class="diff-chg"> +</ins><a class="tref" title="base"><ins class="diff-new"> base -</ins></a><ins class="diff-chg"> +</ins></a><ins class="diff-new"> can be set using the -</ins><code><ins class="diff-chg"> -base -</ins></code><ins class="diff-chg"> -element. +</ins> +<code> +<del class="diff-old">lang +</del> +<ins class="diff-chg">base +</ins> +</code> +<del class="diff-old">attribute +must +</del> +<ins class="diff-chg">element. </ins></li><li><ins class="diff-chg"> The </ins><a class="tref" title="current_language"><ins class="diff-chg"> @@ -3367,13 +3392,22 @@ language </ins></a><ins class="diff-chg"> can +</ins> be -set +<del class="diff-old">processed +in +</del> +<ins class="diff-chg">set using either +</ins> the -</ins><span class="aref"><ins class="diff-chg"> -@lang +<del class="diff-old">same +manner +as +</del> +<span class="aref"> +<ins class="diff-chg">@lang </ins></span><ins class="diff-chg"> or </ins><span class="aref"><ins class="diff-chg"> @@ -3408,11 +3442,17 @@ the element is +</ins> the -</ins><code><ins class="diff-chg"> -head -</ins></code><ins class="diff-chg"> -or +<code> +<del class="diff-old">xml:lang +</del> +<ins class="diff-chg">head +</ins> +</code> +<del class="diff-old">attribute +</del> +<ins class="diff-chg">or </ins><code><ins class="diff-chg"> body </ins></code><ins class="diff-chg"> @@ -3425,36 +3465,48 @@ as if there +</ins> is -an +<del class="diff-old">in +</del> +<ins class="diff-chg">an empty </ins><span class="aref"><ins class="diff-chg"> @about </ins></span><ins class="diff-chg"> present, -</ins> and -<del class="diff-old">DOMs. -</del> -<ins class="diff-chg">process +process it according to +</ins> the -rule +<del class="diff-old">XHTML+RDFa +specification, +</del> +<ins class="diff-chg">rule for </ins><span class="aref"><ins class="diff-chg"> @about </ins></span>.</li><li><ins class="diff-chg"> In -</ins><a href="http://www.w3.org/TR/rdfa-core/#sequence"><ins class="diff-chg"> +</ins><a href="http://www.w3.org/TR/rdfa-core/#sequence"> Section -7.5: +<del class="diff-old">5.5: +</del> +<ins class="diff-chg">7.5: +</ins> Sequence -</ins></a>,<ins class="diff-chg"> -processing +</a>, +<ins class="diff-new">processing +</ins> step -7, +<del class="diff-old">#3. +The +rules +</del> +<ins class="diff-chg">7, if no URI @@ -3500,15 +3552,21 @@ to the rule +</ins> for -</ins><span class="aref"><ins class="diff-chg"> -@about +<del class="diff-old">determining +</del> +<span class="aref"> +<ins class="diff-chg">@about </ins></span>.</li></ul></div><div id="modifying-the-input-document" class="section"><h3><span class="secno"><ins class="diff-chg"> 3.2 </ins></span><ins class="diff-chg"> Modifying +</ins> the -Input +<del class="diff-old">language +</del> +<ins class="diff-chg">Input Document </ins></h3><p><ins class="diff-chg"> RDFa's @@ -3521,17 +3579,17 @@ Section 7.5: Sequence -</ins></a><ins class="diff-chg"> +</ins></a> of -the +<ins class="diff-new">the RDFa Core 1.1 specification [ -</ins><a class="bibref" rel="biblioentry" href="#bib-RDFA-CORE"><ins class="diff-chg"> +</ins><a class="bibref" rel="biblioentry" href="#bib-RDFA-CORE"><ins class="diff-new"> RDFA-CORE -</ins></a><ins class="diff-chg"> +</ins></a><ins class="diff-new"> ], allow an @@ -3564,9 +3622,9 @@ in HTML documents -</ins><em class="rfc2119" title="should"><ins class="diff-chg"> +</ins><em class="rfc2119" title="should"><ins class="diff-new"> should -</ins></em><ins class="diff-chg"> +</ins></em><ins class="diff-new"> be corrected before @@ -3578,8 +3636,12 @@ into the DOM, +</ins> a -valid +<del class="diff-old">node +are +</del> +<ins class="diff-chg">valid tree-based model, on @@ -3590,10 +3652,8 @@ rules will operate. -</ins> -</p> -<p> -<ins class="diff-chg">Any +</ins></p><p><ins class="diff-chg"> +Any mechanism that generates @@ -3633,88 +3693,90 @@ RDFa processing rules. -</ins></p></div><div id="specifying-the-language-for-a-literal" class="section"><h3> -<del class="diff-old">4.1 -</del> -<span class="secno"> -<ins class="diff-chg">3.3 -</ins> -</span> +</ins></p></div><div id="specifying-the-language-for-a-literal" class="section"><h3><span class="secno"><ins class="diff-chg"> +3.3 +</ins></span><ins class="diff-chg"> Specifying the language for a literal -</h3> -<p> -The -<code> -lang -</code> -attribute -<em class="rfc2119" title="must"> -must -</em> -be -processed -in -the -same -manner -as -the -<code> -xml:lang -</code> -attribute -is -in -the -<del class="diff-old">XHTML+RDFa -</del> -<ins class="diff-chg">RDFa +</ins></h3><p><ins class="diff-chg"> +RDFa Core 1.1 -</ins> -specification, -<a href="http://www.w3.org/TR/rdfa-core/#sequence"> -Section -<del class="diff-old">5.5: -</del> -<ins class="diff-chg">7.5: -</ins> -Sequence -</a>, -step -#3. -</p> -The -rules +allows for -determining the +</ins><a class="tref" title="current_language" href="http://www.w3.org/TR/2010/WD-rdfa-core-20100422/#dfn-current_language"><ins class="diff-chg"> +current language -of -a -node -are +</ins></a><ins class="diff-chg"> +to +be +</ins> specified -in +<del class="diff-old">in +</del> +<ins class="diff-chg">by +</ins> the -section +<del class="diff-old">section titled -<a href="http://www.w3.org/TR/html5#the-lang-and-xml:lang-attributes"> +</del> +<ins class="diff-chg">Host +Language. +In +order +for +RDFa +Processors +to +conform +to +this +specification, +they +</ins><em class="rfc2119" title="must"><ins class="diff-chg"> +must +</ins></em><ins class="diff-chg"> +use +the +mechanism +described +in +</ins><em> The lang and xml:lang attributes -</a> -in +<del class="diff-old">in +</del> +</em> +<ins class="diff-chg">section +of +</ins> the +<ins class="diff-new">[ +</ins><a class="bibref" rel="biblioentry" href="#bib-HTML5"> HTML5 -specification. +<del class="diff-old">specification. +</del> +</a> +<ins class="diff-chg">] +specification +to +determine +the +</ins><a class="tref" title="language" href="http://www.w3.org/TR/html5/Overview.html#language"><ins class="diff-chg"> +language +</ins></a><ins class="diff-chg"> +of +a +node. +</ins></p> <p> If an @@ -6203,10 +6265,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 @@ -6217,10 +6277,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. @@ -6647,8 +6709,10 @@ collection. </ins></dd><dt><ins class="diff-chg"> start -</ins></dt><dd><ins class="diff-chg"> -Refers +</ins> +</dt> +<dd> +<ins class="diff-new">Refers to the first @@ -6671,12 +6735,10 @@ in a book. -</ins></dd><dt><ins class="diff-chg"> +</ins></dd><dt><ins class="diff-new"> top -</ins> -</dt> -<dd> -<ins class="diff-new">Synonym +</ins></dt><dd><ins class="diff-new"> +Synonym for start. </ins></dd><dt><ins class="diff-new"> @@ -7692,9 +7754,8 @@ would eventually become -</ins> RDFa -<ins class="diff-new">(The +(The Resource Description Framework @@ -7763,8 +7824,9 @@ (title, paragraphs, links), +</ins> RDFa -provides +<ins class="diff-new">provides a mechanism to @@ -8530,15 +8592,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. @@ -8546,12 +8610,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 Tuesday, 4 May 2010 00:24:16 UTC