- From: poot <cvsmail@w3.org>
- Date: Fri, 06 May 2011 18:41:36 -0400
- To: public-html-diffs@w3.org
microdata; hixie: clarify how to generate ifragment thingies (whatwg r6112) http://dev.w3.org/cvsweb/html5/md/Overview.html?r1=1.126&r2=1.127&f=h http://html5.org/tools/web-apps-tracker?from=6111&to=6112 =================================================================== RCS file: /sources/public/html5/md/Overview.html,v retrieving revision 1.126 retrieving revision 1.127 diff -u -d -r1.126 -r1.127 --- Overview.html 6 May 2011 19:42:19 -0000 1.126 +++ Overview.html 6 May 2011 22:34:43 -0000 1.127 @@ -1668,7 +1668,7 @@ characters (:), generate the following triple:</p> <dl class="triple"><dt>subject <dd> <a href="#the-document-s-current-address">the document's current address</a> - <dt>predicate <dd> the concatenation of the string "<code title="">http://www.w3.org/1999/xhtml/vocab#</code>" and <var title="">token</var>, with any characters in <var title="">token</var> that are not valid in the <ifragment> production of the IRI syntax being %-escaped <a href="#refsRFC3987">[RFC3987]</a> + <dt>predicate <dd> the <span>fragment-escaped</span> concatenation of the string "<code title="">http://www.w3.org/1999/xhtml/vocab#</code>" and <var title="">token</var> <dt>object <dd> the <a href="#absolute-url">absolute URL</a> that results from <a href="#resolve-a-url" title="resolve a URL">resolving</a> the value of the element's <code title="">href</code> attribute relative to the element </dl><p>For each token <var title="">token</var> in <var title="">list of tokens</var> that is an <a href="#absolute-url">absolute URL</a>, generate the following triple:</p> @@ -1690,7 +1690,7 @@ triple:</p> <dl class="triple"><dt>subject <dd> <a href="#the-document-s-current-address">the document's current address</a> - <dt>predicate <dd> the concatenation of the string "<code title="">http://www.w3.org/1999/xhtml/vocab#</code>" and the value of the element's <code title="attr-meta-name">name</code> attribute, <span>converted to ASCII lowercase</span>, with any characters in the value that are not valid in the <ifragment> production of the IRI syntax being %-escaped <a href="#refsRFC3987">[RFC3987]</a> + <dt>predicate <dd> the <span>fragment-escaped</span> concatenation of the string "<code title="">http://www.w3.org/1999/xhtml/vocab#</code>" and the value of the element's <code title="attr-meta-name">name</code> attribute, <span>converted to ASCII lowercase</span> <dt>object <dd> the value of the element's <code title="attr-meta-content">content</code> attribute, as a plain literal, with the language information set from the <a href="#language">language</a> of the element, if it is not unknown </dl><p>For each <code>meta</code> element in the <code>Document</code> that has a <code title="attr-meta-name">name</code> attribute and @@ -1814,10 +1814,7 @@ character (%), a U+0032 DIGIT TWO character (2), and a U+0030 DIGIT ZERO character (0) to <var title="">type</var>.</li> - <li><p>Append the value of <var title="">fallback name</var> to - <var title="">type</var>, with any characters in <var title="">fallback name</var> that are not valid in the - <ifragment> production of the IRI syntax being - %-escaped. <a href="#refsRFC3987">[RFC3987]</a></li> + <li><p>Append the <span>fragment-escaped</span> value of <var title="">fallback name</var> to <var title="">type</var>.</li> </ol></li> @@ -1872,17 +1869,14 @@ SIGN character (%), a U+0032 DIGIT TWO character (2), and a U+0030 DIGIT ZERO character (0) to <var title="">s</var>.</li> - <li><p>Append the value of <var title="">name</var> to <var title="">s</var>, with any characters in <var title="">name</var> that are not valid in the - <ifragment> production of the IRI syntax being - %-escaped. <a href="#refsRFC3987">[RFC3987]</a></li> + <li><p>Append the <span>fragment-escaped</span> value of + <var title="">name</var> to <var title="">s</var>.</li> <li> <p>Let <var title="">predicate</var> be the concatenation of the string "<code title="">http://www.w3.org/1999/xhtml/microdata#</code>" - and <var title="">s</var>, with any characters in <var title="">s</var> that are not valid in the <ifragment> - production of the IRI syntax being %-escaped, but without - double-escaping existing %-escapes. <a href="#refsRFC3987">[RFC3987]</a></p> + and the <span>fragment-escaped</span> value of <var title="">s</var>.</p> <p class="example">For example if the string <var title="">s</var> is "<code title="">http://example.com/a#:q%20r</code>", the resulting <var title="">predicate</var> would be "<code title="">http://www.w3.org/1999/xhtml/microdata#http://example.com/a%23:q%20r</code>".</p> @@ -2073,10 +2067,6 @@ <dd><cite><a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a></cite>, S. Bradner. IETF.</dd> - <dt id="refsRFC3987">[RFC3987]</dt> - <dd><cite><a href="http://tools.ietf.org/html/rfc3987">Internationalized - Resource Identifiers (IRIs)</a></cite>, M. Dürst, M. Suignard. IETF.</dd> - <dt id="refsWEBIDL">[WEBIDL]</dt> <dd><cite><a href="http://dev.w3.org/2006/webapi/WebIDL/">Web IDL</a></cite>, C. McCormack. W3C.</dd>
Received on Friday, 6 May 2011 22:41:38 UTC