Browse files

[e] (0) Mention xml:space since people seem unable to read the XML spec.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10197

git-svn-id: http://svn.whatwg.org/webapps@5527 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 8540558 commit 846c6a62628790a65f0cf415b3e7703979f894e3 @Hixie Hixie committed Sep 28, 2010
Showing with 31 additions and 0 deletions.
  1. +9 −0 complete.html
  2. +9 −0 index
  3. +13 −0 source
View
9 complete.html
@@ -9265,6 +9265,15 @@ <h4 id=global-attributes><span class=secno>3.2.3 </span><dfn>Global attributes</
actually have an <code title="">xmlns</code> attribute in no
namespace specified.</p>
+ <hr><p>The XML specification also allows the use of the <code title=attr-xml-space>xml:space</code> attribute in the <a href=#xml-namespace>XML
+ namespace</a> on any element in an <a href=#xml-documents title="XML
+ documents">XML document</a>. This attribute has no effect on
+ <a href=#html-elements>HTML elements</a>, as the default behavior in HTML is to
+ preserve whitespace. <a href=#refsXML>[XML]</a></p>
+
+ <p class=note>There is no way to serialize the <code title=attr-xml-space>xml:space</code> attribute on <a href=#html-elements>HTML
+ elements</a> in the <code><a href=#text/html>text/html</a></code> syntax.</p>
+
<hr><p>To enable assistive technology products to expose a more
fine-grained interface than is otherwise possible with HTML elements
and attributes, a set of <a href=#annotations-for-assistive-technology-products-(aria)>annotations for assistive technology
View
9 index
@@ -9242,6 +9242,15 @@ interface <dfn id=htmlunknownelement>HTMLUnknownElement</dfn> : <a href=#htmlele
actually have an <code title="">xmlns</code> attribute in no
namespace specified.</p>
+ <hr><p>The XML specification also allows the use of the <code title=attr-xml-space>xml:space</code> attribute in the <a href=#xml-namespace>XML
+ namespace</a> on any element in an <a href=#xml-documents title="XML
+ documents">XML document</a>. This attribute has no effect on
+ <a href=#html-elements>HTML elements</a>, as the default behavior in HTML is to
+ preserve whitespace. <a href=#refsXML>[XML]</a></p>
+
+ <p class=note>There is no way to serialize the <code title=attr-xml-space>xml:space</code> attribute on <a href=#html-elements>HTML
+ elements</a> in the <code><a href=#text/html>text/html</a></code> syntax.</p>
+
<hr><p>To enable assistive technology products to expose a more
fine-grained interface than is otherwise possible with HTML elements
and attributes, a set of <a href=#annotations-for-assistive-technology-products-(aria)>annotations for assistive technology
View
13 source
@@ -9351,6 +9351,19 @@ interface <dfn>HTMLUnknownElement</dfn> : <span>HTMLElement</span> { };</pre>
<hr>
+ <p>The XML specification also allows the use of the <code
+ title="attr-xml-space">xml:space</code> attribute in the <span>XML
+ namespace</span> on any element in an <span title="XML
+ documents">XML document</span>. This attribute has no effect on
+ <span>HTML elements</span>, as the default behavior in HTML is to
+ preserve whitespace. <a href="#refsXML">[XML]</a></p>
+
+ <p class="note">There is no way to serialize the <code
+ title="attr-xml-space">xml:space</code> attribute on <span>HTML
+ elements</span> in the <code>text/html</code> syntax.</p>
+
+ <hr>
+
<p>To enable assistive technology products to expose a more
fine-grained interface than is otherwise possible with HTML elements
and attributes, a set of <span>annotations for assistive technology

0 comments on commit 846c6a6

Please sign in to comment.