W3C home > Mailing lists > Public > public-html-diffs@w3.org > September 2010

hixie: Mention xml:space since people seem unable to read the XML spec. (whatwg r5527)

From: poot <cvsmail@w3.org>
Date: Wed, 29 Sep 2010 02:44:36 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100928174436.AD5032BC06@toro.w3.mag.keio.ac.jp>
hixie: Mention xml:space since people seem unable to read the XML spec.
(whatwg r5527)


RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4416
retrieving revision 1.4417
diff -u -d -r1.4416 -r1.4417
--- Overview.html	28 Sep 2010 06:49:59 -0000	1.4416
+++ Overview.html	28 Sep 2010 17:44:19 -0000	1.4417
@@ -8064,7 +8064,12 @@
   namespace like namespace declaration attributes in XML do.<p class="note">In XML, an <code title="">xmlns</code> attribute is
   part of the namespace declaration mechanism, and an element cannot
   actually have an <code title="">xmlns</code> attribute in no
-  namespace specified.<hr><p>To enable assistive technology products to expose a more
+  namespace specified.<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 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.<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
   products</a> can be specified (the ARIA <code title="attr-aria-role">role</code> and <code title="attr-aria-*">aria-*</code> attributes).<h5 id="the-id-attribute"><span class="secno"> </span>The <dfn title="attr-id"><code>id</code></dfn> attribute</h5><p>The <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute specifies its
Received on Tuesday, 28 September 2010 17:45:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:41:50 UTC