- From: Manu Sporny via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 05 May 2010 02:59:57 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/rdfa/drafts/ED-rdfa-in-html-20100504 In directory hutz:/tmp/cvs-serv31314 Modified Files: Overview.html diff-20100304.html Log Message: Fixed bug #8990, made generation rules for namespace tuples during Coercion to Infoset more clear. Index: Overview.html =================================================================== RCS file: /sources/public/html5/rdfa/drafts/ED-rdfa-in-html-20100504/Overview.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Overview.html 5 May 2010 02:42:10 -0000 1.7 +++ Overview.html 5 May 2010 02:59:55 -0000 1.8 @@ -229,7 +229,7 @@ RDFa Core 1.1 in order to support extracting RDF from HTML documents.</p> <p>The requirements and rules, as specified in RDFa Core and further - modified in this document, apply to all HTML5 documents. The RDFa Processor + extended in this document, apply to all HTML5 documents. The RDFa Processor operating on HTML and XHTML documents, specifically the resulting DOMs or Infosets, <em class="rfc2119" title="must">must</em> apply the same processing rules for HTML4, HTML5 and XHTML5 serializations, DOMs and/or Infosets.</p> @@ -494,24 +494,32 @@ is declared in non-XML mode HTML5 documents are mapped to an Infoset correctly. In order to ensure this mapping is performed correctly, the "Coercing an HTML DOM into an infoset" rules defined in [<a class="bibref" rel="biblioentry" href="#bib-HTML5">HTML5</a>] - must be modified to include the following rule:</p> + must be extended to include the following rule:</p> - <p>If the XML API is namespace-aware, the tool must ensure that proper + <p>If the XML API is namespace-aware, the tool must ensure that ([<a href="http://www.w3.org/TR/xml-infoset/#infoitem.attribute">namespace name</a>], [<a href="http://www.w3.org/TR/xml-infoset/#infoitem.attribute">local name</a>], [<a href="http://www.w3.org/TR/xml-infoset/#infoitem.attribute">normalized value</a>]) namespace tuples are created when converting the non-XML mode - DOM into an Infoset.</p> + DOM into an Infoset. Given a standard <code>xmlns:</code> definition, + <code>xmlns:foo="http://example.org/bar#"</code>, the [namespace name] + is <code>http://www.w3.org/2000/xmlns/</code>, + the [local name] is <code>foo</code>, and the + [normalized value] is <code>http://example.org/bar#</code>, thus the + namespace tuple would be (<code>http://www.w3.org/2000/xmlns/</code>, + <code>foo</code>, <code>http://example.org/bar#</code>).</p> <p>For example, given the following input text:</p> <pre class="example"><div xmlns:audio="http://purl.org/media/audio#"></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>". +</p> </div> Index: diff-20100304.html =================================================================== RCS file: /sources/public/html5/rdfa/drafts/ED-rdfa-in-html-20100504/diff-20100304.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- diff-20100304.html 5 May 2010 02:42:11 -0000 1.7 +++ diff-20100304.html 5 May 2010 02:59:55 -0000 1.8 @@ -261,11 +261,6 @@ 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 @@ -282,6 +277,12 @@ 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 @@ -3259,7 +3260,10 @@ </ins> and further -modified +<del class="diff-old">modified +</del> +<ins class="diff-chg">extended +</ins> in this document, @@ -5343,7 +5347,10 @@ ] must be -modified +<del class="diff-old">modified +</del> +<ins class="diff-chg">extended +</ins> to include the @@ -5362,7 +5369,8 @@ must ensure that -proper +<del class="diff-old">proper +</del> ([ <a href="http://www.w3.org/TR/xml-infoset/#infoitem.attribute"> namespace @@ -5394,6 +5402,54 @@ into an Infoset. +<ins class="diff-new">Given +a +standard +</ins><code><ins class="diff-new"> +xmlns: +</ins></code><ins class="diff-new"> +definition, +</ins><code><ins class="diff-new"> +xmlns:foo="http://example.org/bar#" +</ins></code>,<ins class="diff-new"> +the +[namespace +name] +is +</ins><code><ins class="diff-new"> +http://www.w3.org/2000/xmlns/ +</ins></code>,<ins class="diff-new"> +the +[local +name] +is +</ins><code><ins class="diff-new"> +foo +</ins></code>,<ins class="diff-new"> +and +the +[normalized +value] +is +</ins><code><ins class="diff-new"> +http://example.org/bar# +</ins></code>,<ins class="diff-new"> +thus +the +namespace +tuple +would +be +( +</ins><code><ins class="diff-new"> +http://www.w3.org/2000/xmlns/ +</ins></code>,<code><ins class="diff-new"> +foo +</ins></code>,<code><ins class="diff-new"> +http://example.org/bar# +</ins></code><ins class="diff-new"> +). +</ins> </p> <p> For @@ -5413,6 +5469,7 @@ xmlns:audio="http://purl.org/media/audio#"> </ins> </pre> +<p> The <code> div @@ -5470,6 +5527,7 @@ http://purl.org/media/audio# </code> ". +</p> </div> <div id="infoset-based-processors" class="section"> <h3> @@ -7075,10 +7133,8 @@ collection. </ins></dd><dt><ins class="diff-chg"> start -</ins> -</dt> -<dd> -<ins class="diff-new">Refers +</ins></dt><dd><ins class="diff-chg"> +Refers to the first @@ -7101,10 +7157,12 @@ in a book. -</ins></dd><dt><ins class="diff-new"> +</ins></dd><dt><ins class="diff-chg"> 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"> @@ -8120,8 +8178,9 @@ would eventually become +</ins> RDFa -(The +<ins class="diff-new">(The Resource Description Framework @@ -8190,9 +8249,8 @@ (title, paragraphs, links), -</ins> RDFa -<ins class="diff-new">provides +provides a mechanism to @@ -8873,31 +8931,31 @@ http://www.ietf.org/rfc/rfc2119.txt </ins></a></dd><dt id="bib-RFC3236"><ins class="diff-chg"> [RFC3236] -</ins></dt><dd><ins class="diff-chg"> -P. +</ins> +</dt> +<dd> +<ins class="diff-new">P. Stark; M. Baker. -</ins><a href="http://www.rfc-editor.org/rfc/rfc3236.txt"><cite><ins class="diff-chg"> +</ins><a href="http://www.rfc-editor.org/rfc/rfc3236.txt"><cite><ins class="diff-new"> The 'application/xhtml+xml' Media Type. -</ins></cite></a><ins class="diff-chg"> +</ins></cite></a><ins class="diff-new"> January 2002. Internet RFC 3236. URL: -</ins><a href="http://www.rfc-editor.org/rfc/rfc3236.txt"><ins class="diff-chg"> +</ins><a href="http://www.rfc-editor.org/rfc/rfc3236.txt"><ins class="diff-new"> http://www.rfc-editor.org/rfc/rfc3236.txt -</ins></a></dd><dt id="bib-XML-NAMES11"><ins class="diff-chg"> +</ins></a></dd><dt id="bib-XML-NAMES11"><ins class="diff-new"> [XML-NAMES11] -</ins> -</dt> -<dd> -<ins class="diff-new">Andrew +</ins></dt><dd><ins class="diff-new"> +Andrew Layman; et al. @@ -8982,17 +9040,15 @@ 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-new">Shane +</ins></dt><dd><ins class="diff-chg"> +Shane McCarron; et. al. -</ins><a href="http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422"><cite><ins class="diff-new"> +</ins><a href="http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422"><cite><ins class="diff-chg"> XHTML+RDFa 1.1. -</ins></cite></a><ins class="diff-new"> +</ins></cite></a><ins class="diff-chg"> 22 April 2010. @@ -9000,11 +9056,12 @@ Working Draft. URL: -</ins><a href="http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422"><ins class="diff-new"> +</ins><a href="http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422"><ins class="diff-chg"> http://www.w3.org/TR/WD-xhtml-rdfa-20100422 -</ins></a></dd><dt id="bib-XHTML-VOCAB"><ins class="diff-new"> +</ins></a></dd><dt id="bib-XHTML-VOCAB"><ins class="diff-chg"> [XHTML-VOCAB] -</ins></dt> +</ins> +</dt> <dd> XHTML <del class="diff-old">and
Received on Wednesday, 5 May 2010 03:00:00 UTC