[html5] r1729 - /

whatwg at whatwg.org whatwg at whatwg.org
Fri Jun 6 11:55:04 PDT 2008


Author: ianh
Date: 2008-06-06 11:55:04 -0700 (Fri, 06 Jun 2008)
New Revision: 1729

Modified:
   index
   source
Log:
[ac] (0) Allow xml:base explicitly.

Modified: index
===================================================================
--- index	2008-06-06 11:29:03 UTC (rev 1728)
+++ index	2008-06-06 18:55:04 UTC (rev 1729)
@@ -375,19 +375,22 @@
         <code>lang</code> (HTML only) and <code>xml:lang</code> (XML only)
         attributes</a>
 
-       <li><a href="#the-dir"><span class=secno>3.4.4 </span>The
+       <li><a href="#the-xmlbase"><span class=secno>3.4.4 </span>The
+        <code>xml:base</code> attribute (XML only)</a>
+
+       <li><a href="#the-dir"><span class=secno>3.4.5 </span>The
         <code>dir</code> attribute</a>
 
-       <li><a href="#classes"><span class=secno>3.4.5 </span>The
+       <li><a href="#classes"><span class=secno>3.4.6 </span>The
         <code>class</code> attribute</a>
 
-       <li><a href="#the-irrelevant"><span class=secno>3.4.6 </span>The
+       <li><a href="#the-irrelevant"><span class=secno>3.4.7 </span>The
         <code>irrelevant</code> attribute</a>
 
-       <li><a href="#the-style"><span class=secno>3.4.7 </span>The
+       <li><a href="#the-style"><span class=secno>3.4.8 </span>The
         <code>style</code> attribute</a>
 
-       <li><a href="#embedding"><span class=secno>3.4.8 </span>Embedding
+       <li><a href="#embedding"><span class=secno>3.4.9 </span>Embedding
         custom non-visible data</a>
       </ul>
 
@@ -2334,10 +2337,12 @@
      used in this specification for resolving relative URIs in DOM trees. <a
      href="#refsXMLBASE">[XMLBASE]</a></p>
 
-    <p class=note>It is possible for <code
-     title=attr-xml-base>xml:base</code> attributes to be present even in
+    <p class=note>It is possible for <code title=attr-xml-base><a
+     href="#xmlbase">xml:base</a></code> attributes to be present even in
      HTML fragments, as such attributes can be added dynamically using
-     script.</p>
+     script. (Such scripts would not be conforming, however, as <code
+     title=attr-xml-base><a href="#xmlbase">xml:base</a></code> attributes as
+     not allowed in <a href="#html-">HTML documents</a>.)</p>
 
    <dt>DOM
 
@@ -6942,7 +6947,19 @@
    must <a href="#reflect">reflect</a> the <code title=attr-lang><a
    href="#lang">lang</a></code> content attribute.
 
-  <h4 id=the-dir><span class=secno>3.4.4 </span>The <dfn id=dir
+  <h4 id=the-xmlbase><span class=secno>3.4.4 </span>The <dfn id=xmlbase
+   title=attr-xml-base><code>xml:base</code></dfn> attribute (XML only)</h4>
+
+  <p>The <code title=attr-xml-base><a href="#xmlbase">xml:base</a></code>
+   attribute is defined in XML Base. <a href="#refsXMLBASE">[XMLBASE]</a>
+
+  <p>The <code title=attr-xml-base><a href="#xmlbase">xml:base</a></code>
+   attribute may be used on elements of <a href="#xml-documents">XML
+   documents</a>. Authors must not use the <code title=attr-xml-base><a
+   href="#xmlbase">xml:base</a></code> attribute in <a href="#html-">HTML
+   documents</a>.
+
+  <h4 id=the-dir><span class=secno>3.4.5 </span>The <dfn id=dir
    title=attr-dir><code>dir</code></dfn> attribute</h4>
 
   <p>The <code title=attr-dir><a href="#dir">dir</a></code> attribute
@@ -6977,7 +6994,7 @@
    known values</a>. If there is no such element, then the attribute must
    return the empty string and do nothing on setting.
 
-  <h4 id=classes><span class=secno>3.4.5 </span>The <dfn id=class
+  <h4 id=classes><span class=secno>3.4.6 </span>The <dfn id=class
    title=attr-class><code>class</code></dfn> attribute</h4>
 
   <p>Every <a href="#html-elements" title="HTML elements">HTML element</a>
@@ -7009,7 +7026,7 @@
    attributes must both <a href="#reflect">reflect</a> the <code
    title=attr-class><a href="#class">class</a></code> content attribute.
 
-  <h4 id=the-irrelevant><span class=secno>3.4.6 </span>The <dfn id=irrelevant
+  <h4 id=the-irrelevant><span class=secno>3.4.7 </span>The <dfn id=irrelevant
    title=attr-irrelevant><code>irrelevant</code></dfn> attribute</h4>
 
   <p>All elements may have the <code title=attr-irrelevant><a
@@ -7063,7 +7080,7 @@
    title=dom-irrelevant><code>irrelevant</code></dfn> DOM attribute must <a
    href="#reflect">reflect</a> the content attribute of the same name.
 
-  <h4 id=the-style><span class=secno>3.4.7 </span>The <dfn id=style
+  <h4 id=the-style><span class=secno>3.4.8 </span>The <dfn id=style
    title=attr-style><code>style</code></dfn> attribute</h4>
 
   <p>All elements may have the <code title=attr-style><a
@@ -7106,7 +7123,7 @@
 background: transparent">blue</span>.</p></pre>
   </div>
 
-  <h4 id=embedding><span class=secno>3.4.8 </span><dfn
+  <h4 id=embedding><span class=secno>3.4.9 </span><dfn
    id=embedding0>Embedding custom non-visible data</dfn></h4>
 
   <p>A <dfn id=custom>custom data attribute</dfn> is an attribute whose name
@@ -7748,9 +7765,10 @@
   <p>If the base URI given by this attribute is a relative URI, it must be
    resolved relative to the higher-level base URIs (i.e. the base URI from
    the encapsulating entity or the URI used to retrieve the entity) to obtain
-   an absolute base URI. All <code title=attr-xml-base>xml:base</code>
-   attributes must be ignored when resolving relative URIs in this <code
-   title=attr-base-href><a href="#href">href</a></code> attribute.
+   an absolute base URI. All <code title=attr-xml-base><a
+   href="#xmlbase">xml:base</a></code> attributes must be ignored when
+   resolving relative URIs in this <code title=attr-base-href><a
+   href="#href">href</a></code> attribute.
 
   <p class=note>If there are multiple <code><a href="#base">base</a></code>
    elements with <code title=att-base-href>href</code> attributes, all but
@@ -8018,8 +8036,8 @@
    order that they were given in the HTTP entity header. Relative URIs in
    these headers are resolved according to the rules given in HTTP, not
    relative to base URIs set by the document (e.g. using a <code><a
-   href="#base">base</a></code> element or <code
-   title=attr-xml-base>xml:base</code> attributes). <a
+   href="#base">base</a></code> element or <code title=attr-xml-base><a
+   href="#xmlbase">xml:base</a></code> attributes). <a
    href="#refsRFC2616">[RFC2616]</a> <a href="#refsRFC2068">[RFC2068]</a>
 
   <p>The DOM attributes <dfn id=href2

Modified: source
===================================================================
--- source	2008-06-06 11:29:03 UTC (rev 1728)
+++ source	2008-06-06 18:55:04 UTC (rev 1729)
@@ -578,7 +578,9 @@
     <p class="note">It is possible for <code
     title="attr-xml-base">xml:base</code> attributes to be present
     even in HTML fragments, as such attributes can be added
-    dynamically using script.</p>
+    dynamically using script. (Such scripts would not be conforming,
+    however, as <code title="attr-xml-base">xml:base</code> attributes
+    as not allowed in <span>HTML documents</span>.)</p>
 
    </dd>
 
@@ -5359,6 +5361,18 @@
   content attribute.</p>
 
 
+  <h4>The <dfn title="attr-xml-base"><code>xml:base</code></dfn>
+  attribute (XML only)</h4>
+
+  <p>The <code title="attr-xml-base">xml:base</code> attribute is
+  defined in XML Base. <a href="#refsXMLBASE">[XMLBASE]</a></p>
+
+  <p>The <code title="attr-xml-base">xml:base</code> attribute may be
+  used on elements of <span>XML documents</span>.  Authors must not
+  use the <code title="attr-xml-base">xml:base</code> attribute in
+  <span>HTML documents</span>.</p>
+
+
   <h4>The <dfn title="attr-dir"><code>dir</code></dfn> attribute</h4>
 
   <p>The <code title="attr-dir">dir</code> attribute specifies the




More information about the Commit-Watchers mailing list