- From: poot <cvsmail@w3.org>
- Date: Mon, 5 Oct 2009 11:16:36 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Elaborate on how foreign elements are to be written in the HTML
syntax. (whatwg r4075)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3236&r2=1.3237&f=h
http://html5.org/tools/web-apps-tracker?from=4074&to=4075
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3236
retrieving revision 1.3237
diff -u -d -r1.3236 -r1.3237
--- Overview.html 4 Oct 2009 11:45:20 -0000 1.3236
+++ Overview.html 5 Oct 2009 02:16:19 -0000 1.3237
@@ -215,7 +215,7 @@
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
<!--ZZZ:-->
<!--<h2 class="no-num no-toc">W3C Working Draft 25 August 2009</h2>-->
- <h2 class="no-num no-toc" id="editor-s-draft-4-october-2009">Editor's Draft 4 October 2009</h2>
+ <h2 class="no-num no-toc" id="editor-s-draft-5-october-2009">Editor's Draft 5 October 2009</h2>
<!--:ZZZ-->
<dl><!-- ZZZ: update the month/day (twice), (un)comment out--><!--
<dt>This Version:</dt>
@@ -317,7 +317,7 @@
track.
<!--ZZZ:-->
<!--This specification is the 25 August 2009 Working Draft.-->
- This specification is the 4 October 2009 Editor's Draft.
+ This specification is the 5 October 2009 Editor's Draft.
<!--:ZZZ-->
</p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are
identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -53104,9 +53104,10 @@
use characters in the range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE,
U+0061 LATIN SMALL LETTER A .. U+007A LATIN SMALL LETTER Z, and
U+0041 LATIN CAPITAL LETTER A .. U+005A LATIN CAPITAL LETTER Z. In
- the HTML syntax, tag names may be written with any mix of lower- and
- uppercase letters that, when converted to all-lowercase, matches the
- element's tag name; tag names are case-insensitive.<h5 id="start-tags"><span class="secno">9.1.2.1 </span>Start tags</h5><p><dfn id="syntax-start-tag" title="syntax-start-tag">Start tags</dfn> must have the
+ the HTML syntax, tag names, even those for <a href="#foreign-elements">foreign
+ elements</a>, may be written with any mix of lower- and uppercase
+ letters that, when converted to all-lowercase, matches the element's
+ tag name; tag names are case-insensitive.<h5 id="start-tags"><span class="secno">9.1.2.1 </span>Start tags</h5><p><dfn id="syntax-start-tag" title="syntax-start-tag">Start tags</dfn> must have the
following format:<ol><li>The first character of a start tag must be a U+003C LESS-THAN
SIGN (<code><</code>).</li>
@@ -53157,8 +53158,9 @@
MARK ("), U+0027 APOSTROPHE ('), U+003E GREATER-THAN SIGN
(>), U+002F SOLIDUS (/), and U+003D EQUALS SIGN (=) characters,
the control characters, and any characters that are not defined by
- Unicode. In the HTML syntax, attribute names may be written with any
- mix of lower- and uppercase letters that are an <a href="#ascii-case-insensitive">ASCII
+ Unicode. In the HTML syntax, attribute names, even those for
+ <a href="#foreign-elements">foreign elements</a>, may be written with any mix of lower-
+ and uppercase letters that are an <a href="#ascii-case-insensitive">ASCII
case-insensitive</a> match for the attribute's name.<p><dfn id="syntax-attribute-value" title="syntax-attribute-value">Attribute values</dfn> are a
mixture of <a href="#syntax-text" title="syntax-text">text</a> and <a href="#syntax-charref" title="syntax-charref">character references</a>, except with the
additional restriction that the text cannot contain an <a href="#syntax-ambiguous-ampersand" title="syntax-ambiguous-ampersand">ambiguous ampersand</a>.<p>Attributes can be specified in four different ways:<dl><dt>Empty attribute syntax</dt>
@@ -53279,7 +53281,25 @@
</dl><p>There must never be two or more attributes on the same start tag
whose names are an <a href="#ascii-case-insensitive">ASCII case-insensitive</a> match for
- each other.<h5 id="optional-tags"><span class="secno">9.1.2.4 </span>Optional tags</h5><p>Certain tags can be <dfn id="syntax-tag-omission" title="syntax-tag-omission">omitted</dfn>.<p class="note">Omitting an element's <a href="#syntax-start-tag" title="syntax-start-tag">start tag</a> does not mean the element
+ each other.<hr><p>When a <a href="#foreign-elements" title="foreign elements">foreign element</a> has
+ one of the namespaced attributes given by the local name and
+ namespace of the first and second cells of a row from the following
+ table, it must be written using the name given by the third cell
+ from the same row.<table><thead><tr><th> Local name <th> Namespace <th> Attribute name
+ <tbody><tr><td> <code title="">actuate</code> <td> <a href="#xlink-namespace">XLink namespace</a> <td> <code title="">xlink:actuate</code>
+ <tr><td> <code title="">arcrole</code> <td> <a href="#xlink-namespace">XLink namespace</a> <td> <code title="">xlink:arcrole</code>
+ <tr><td> <code title="">href</code> <td> <a href="#xlink-namespace">XLink namespace</a> <td> <code title="">xlink:href</code>
+ <tr><td> <code title="">role</code> <td> <a href="#xlink-namespace">XLink namespace</a> <td> <code title="">xlink:role</code>
+ <tr><td> <code title="">show</code> <td> <a href="#xlink-namespace">XLink namespace</a> <td> <code title="">xlink:show</code>
+ <tr><td> <code title="">title</code> <td> <a href="#xlink-namespace">XLink namespace</a> <td> <code title="">xlink:title</code>
+ <tr><td> <code title="">type</code> <td> <a href="#xlink-namespace">XLink namespace</a> <td> <code title="">xlink:type</code>
+ <tr><td> <code title="">base</code> <td> <a href="#xml-namespace">XML namespace</a> <!-- attr-xml-base --> <td> <code title="">xml:base</code>
+ <tr><td> <code title="">lang</code> <td> <a href="#xml-namespace">XML namespace</a> <td> <code title="">xml:lang</code>
+ <tr><td> <code title="">space</code> <td> <a href="#xml-namespace">XML namespace</a> <td> <code title="">xml:space</code>
+ <tr><td> <code title="">xmlns</code> <td> <a href="#xmlns-namespace">XMLNS namespace</a> <td> <code title="">xmlns</code>
+ <tr><td> <code title="">xlink</code> <td> <a href="#xmlns-namespace">XMLNS namespace</a> <td> <code title="">xmlns:xlink</code>
+ </table><p>No other namespaced attribute can be expressed in the <a href="#syntax">the
+ HTML syntax</a>.<h5 id="optional-tags"><span class="secno">9.1.2.4 </span>Optional tags</h5><p>Certain tags can be <dfn id="syntax-tag-omission" title="syntax-tag-omission">omitted</dfn>.<p class="note">Omitting an element's <a href="#syntax-start-tag" title="syntax-start-tag">start tag</a> does not mean the element
is not present; it is implied, but it is still there. An HTML
document always has a root <code><a href="#the-html-element-0">html</a></code> element, even if the
string <code title=""><html></code> doesn't appear anywhere in
Received on Monday, 5 October 2009 02:17:05 UTC