[html5] r4075 - [a] (0) Elaborate on how foreign elements are to be written in the HTML syntax.

whatwg at whatwg.org whatwg at whatwg.org
Sun Oct 4 19:25:49 PDT 2009


Author: ianh
Date: 2009-10-04 19:25:48 -0700 (Sun, 04 Oct 2009)
New Revision: 4075

Modified:
   index
   source
   vocabs-index
Log:
[a] (0) Elaborate on how foreign elements are to be written in the HTML syntax.

Modified: index
===================================================================
--- index	2009-10-04 11:54:43 UTC (rev 4074)
+++ index	2009-10-05 02:25:48 UTC (rev 4075)
@@ -112,7 +112,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id=draft-standard-—-4-october-2009>Draft Standard — 4 October 2009</h2>
+   <h2 class="no-num no-toc" id=draft-standard-—-5-october-2009>Draft Standard — 5 October 2009</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -59251,9 +59251,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.</p>
+  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.</p>
 
 
   <h5 id=start-tags><span class=secno>9.1.2.1 </span>Start tags</h5>
@@ -59319,8 +59320,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>
 
   <p><dfn id=syntax-attribute-value title=syntax-attribute-value>Attribute values</dfn> are a
@@ -59449,7 +59451,29 @@
   whose names are an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for
   each other.</p>
 
+  <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.</p>
 
+  <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>.</p>
+
+
   <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>

Modified: source
===================================================================
--- source	2009-10-04 11:54:43 UTC (rev 4074)
+++ source	2009-10-05 02:25:48 UTC (rev 4075)
@@ -76625,9 +76625,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.</p>
+  the HTML syntax, tag names, even those for <span>foreign
+  elements</span>, 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.</p>
 
 
   <h5>Start tags</h5>
@@ -76707,8 +76708,9 @@
   MARK (&#x22;), U+0027 APOSTROPHE (&#x27;), 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 <span>ASCII
+  Unicode. In the HTML syntax, attribute names, even those for
+  <span>foreign elements</span>, may be written with any mix of lower-
+  and uppercase letters that are an <span>ASCII
   case-insensitive</span> match for the attribute's name.</p>
 
   <p><dfn title="syntax-attribute-value">Attribute values</dfn> are a
@@ -76851,7 +76853,36 @@
   whose names are an <span>ASCII case-insensitive</span> match for
   each other.</p>
 
+  <hr>
 
+  <p>When a <span title="foreign elements">foreign element</span> 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.</p>
+
+  <table>
+   <thead>
+    <tr> <th> Local name <th> Namespace <th> Attribute name
+   <tbody>
+    <tr> <td> <code title="">actuate</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:actuate</code>
+    <tr> <td> <code title="">arcrole</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:arcrole</code>
+    <tr> <td> <code title="">href</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:href</code>
+    <tr> <td> <code title="">role</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:role</code>
+    <tr> <td> <code title="">show</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:show</code>
+    <tr> <td> <code title="">title</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:title</code>
+    <tr> <td> <code title="">type</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:type</code>
+    <tr> <td> <code title="">base</code> <td> <span>XML namespace</span> <!-- attr-xml-base --> <td> <code title="">xml:base</code>
+    <tr> <td> <code title="">lang</code> <td> <span>XML namespace</span> <td> <code title="">xml:lang</code>
+    <tr> <td> <code title="">space</code> <td> <span>XML namespace</span> <td> <code title="">xml:space</code>
+    <tr> <td> <code title="">xmlns</code> <td> <span>XMLNS namespace</span> <td> <code title="">xmlns</code>
+    <tr> <td> <code title="">xlink</code> <td> <span>XMLNS namespace</span> <td> <code title="">xmlns:xlink</code>
+  </table>
+
+  <p>No other namespaced attribute can be expressed in the <span>the
+  HTML syntax</span>.</p>
+
+
   <h5>Optional tags</h5>
 
   <p>Certain tags can be <dfn

Modified: vocabs-index
===================================================================
--- vocabs-index	2009-10-04 11:54:43 UTC (rev 4074)
+++ vocabs-index	2009-10-05 02:25:48 UTC (rev 4075)
@@ -48,7 +48,7 @@
   <div class="head">
    <p><a class="logo" href="http://www.whatwg.org/" rel="home"><img alt="WHATWG" src="/images/logo"></a></p>
    <h1>Microdata Vocabularies: vCard, vEvent, and works</h1>
-   <h2 class="no-num no-toc" id="draft-standard-4-october-2009">Draft Standard — 4 October 2009</h2>
+   <h2 class="no-num no-toc" id="draft-standard-5-october-2009">Draft Standard — 5 October 2009</h2>
    <p>You can take part in this work. <a href="http://www.whatwg.org/mailing-list">Join the working group's discussion list.</a></p>
    <dl><dt>This specification:</dt>
     <dd><a href="http://www.whatwg.org/specs/web-apps/current-work/">http://www.whatwg.org/specs/web-apps/current-work/</a></dd>




More information about the Commit-Watchers mailing list