- From: CVS User lsilli <cvsmail@w3.org>
- Date: Sat, 02 Nov 2013 02:27:37 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html-polyglot
In directory roscoe:/tmp/cvs-serv13100/html-polyglot
Modified Files:
html-polyglot.html
Log Message:
Fixing bug 23372, about xmlns:xlink declaration https://www.w3.org/Bugs/Public/show_bug.cgi?id=23372
--- /sources/public/html5/html-polyglot/html-polyglot.html 2013/10/31 21:03:17 1.3
+++ /sources/public/html5/html-polyglot/html-polyglot.html 2013/11/02 02:27:37 1.4
@@ -173,7 +173,7 @@
<li>identical DOMs when processed as HTML and when processed as XML, with some notable exceptions: HTML and XML parsers generate different DOMs for some
<code>xml</code> (<code>xml:lang</code>, <code>xml:space</code>, and <code>xml:base</code>),
<code>xmlns</code> (<code>xmlns=""</code> and <code>xmlns:xlink=""</code>), and <code>xlink</code> (such as <code>xlink:href</code>) attributes.
- XML requires and HTML5 permits these attributes in certain locations and the attributes are preserved by HTML parsers. The exception must not break the requiremetn to be a valid HTML document.
+ XML requires and HTML5 permits these attributes in certain locations and the attributes are preserved by HTML parsers. The exception must not break the requirement to be a valid HTML document.
</li>
</ul>
<p>
@@ -323,8 +323,9 @@
<h4>Attribute-level namespaces</h4>
<p>
[[!HTML5]] introduces undeclared (native) support for attributes in the XLink namespace and with the prefix <code>xlink:</code>.
- <a title="polyglot markup">Polyglot markup</a> declares the XLink namespace on the HTML root element (<code>html</code>) or
- once on the foreign element where it is used (<code>svg</code> or <code>math</code>), to maintain XML-compatibility [[!XML10]].
+ To maintain XML-compatibility, <a title="polyglot markup">polyglot markup</a> explicitly declares the XLink namespace inside
+ each foreign content section where it is used, and typically on a such section’s root element (e.g. on the <code>svg</code> start
+ tag for an SVG section and on the <code>math</code> start tag for a MathML section). [[!XML10]].
</p>
<p>In <a>polyglot markup</a>, the xlink prefix uses the namespace declaration <code>xmlns:xlink="http://www.w3.org/1999/xlink"</code> before using the xlink prefix for the following attributes:</p>
<ul class="inline-list">
Received on Saturday, 2 November 2013 02:27:38 UTC