Skip to content

Commit

Permalink
[e] (0) Move 'Namespaces' section to a more generic place since it's …
Browse files Browse the repository at this point in the history
…used by more than just the parser section.

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

git-svn-id: http://svn.whatwg.org/webapps@4564 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 11, 2010
1 parent 67f54a2 commit 0fe3476
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 87 deletions.
63 changes: 32 additions & 31 deletions complete.html
Expand Up @@ -255,7 +255,8 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
<li><a href=#domstringmap-0><span class=secno>2.7.6 </span>DOMStringMap</a></li>
<li><a href=#dom-feature-strings><span class=secno>2.7.7 </span>DOM feature strings</a></li>
<li><a href=#exceptions><span class=secno>2.7.8 </span>Exceptions</a></li>
<li><a href=#garbage-collection><span class=secno>2.7.9 </span>Garbage collection</a></ol></ol></li>
<li><a href=#garbage-collection><span class=secno>2.7.9 </span>Garbage collection</a></ol></li>
<li><a href=#namespaces><span class=secno>2.8 </span>Namespaces</a></ol></li>
<li><a href=#dom><span class=secno>3 </span>Semantics, structure, and APIs of HTML documents</a>
<ol>
<li><a href=#documents><span class=secno>3.1 </span>Documents</a>
Expand Down Expand Up @@ -1117,10 +1118,9 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
<li><a href=#misnested-tags:-b-p-/b-/p><span class=secno>11.2.8.2 </span>Misnested tags: &lt;b&gt;&lt;p&gt;&lt;/b&gt;&lt;/p&gt;</a></li>
<li><a href=#unexpected-markup-in-tables><span class=secno>11.2.8.3 </span>Unexpected markup in tables</a></li>
<li><a href=#scripts-that-modify-the-page-as-it-is-being-parsed><span class=secno>11.2.8.4 </span>Scripts that modify the page as it is being parsed</a></ol></ol></li>
<li><a href=#namespaces><span class=secno>11.3 </span>Namespaces</a></li>
<li><a href=#serializing-html-fragments><span class=secno>11.4 </span>Serializing HTML fragments</a></li>
<li><a href=#parsing-html-fragments><span class=secno>11.5 </span>Parsing HTML fragments</a></li>
<li><a href=#named-character-references><span class=secno>11.6 </span>Named character references</a></ol></li>
<li><a href=#serializing-html-fragments><span class=secno>11.3 </span>Serializing HTML fragments</a></li>
<li><a href=#parsing-html-fragments><span class=secno>11.4 </span>Parsing HTML fragments</a></li>
<li><a href=#named-character-references><span class=secno>11.5 </span>Named character references</a></ol></li>
<li><a href=#the-xhtml-syntax><span class=secno>12 </span>The XHTML syntax</a>
<ol>
<li><a href=#writing-xhtml-documents><span class=secno>12.1 </span>Writing XHTML documents</a></li>
Expand Down Expand Up @@ -6593,6 +6593,30 @@ <h4 id=garbage-collection><span class=secno>2.7.9 </span>Garbage collection</h4>
</div>


<h3 id=namespaces><span class=secno>2.8 </span>Namespaces</h3>

<p>The <dfn id=html-namespace-0>HTML namespace</dfn> is: <code>http://www.w3.org/1999/xhtml</code></p>

<p>The <dfn id=mathml-namespace>MathML namespace</dfn> is: <code>http://www.w3.org/1998/Math/MathML</code></p>

<p>The <dfn id=svg-namespace>SVG namespace</dfn> is: <code>http://www.w3.org/2000/svg</code></p>

<p>The <dfn id=xlink-namespace>XLink namespace</dfn> is: <code>http://www.w3.org/1999/xlink</code></p>

<p>The <dfn id=xml-namespace>XML namespace</dfn> is: <code>http://www.w3.org/XML/1998/namespace</code></p>

<p>The <dfn id=xmlns-namespace>XMLNS namespace</dfn> is: <code>http://www.w3.org/2000/xmlns/</code></p>

<hr><p>Data mining tools and other user agents that perform operations
on <code><a href=#text/html>text/html</a></code> content without running scripts,
evaluating CSS or XPath expressions, or otherwise exposing the
resulting DOM to arbitrary content, may "support namespaces" by just
asserting that their DOM node analogues are in certain namespaces,
without actually exposing the above strings.</p>






<h2 id=dom><span class=secno>3 </span>Semantics, structure, and APIs of HTML documents</h2>
Expand Down Expand Up @@ -76786,31 +76810,8 @@ <h5 id=misnested-tags:-b-i-/b-/i><span class=secno>11.2.8.1 </span>Misnested tag



<h3 id=namespaces><span class=secno>11.3 </span>Namespaces</h3>

<p>The <dfn id=html-namespace-0>HTML namespace</dfn> is: <code>http://www.w3.org/1999/xhtml</code></p>

<p>The <dfn id=mathml-namespace>MathML namespace</dfn> is: <code>http://www.w3.org/1998/Math/MathML</code></p>

<p>The <dfn id=svg-namespace>SVG namespace</dfn> is: <code>http://www.w3.org/2000/svg</code></p>

<p>The <dfn id=xlink-namespace>XLink namespace</dfn> is: <code>http://www.w3.org/1999/xlink</code></p>

<p>The <dfn id=xml-namespace>XML namespace</dfn> is: <code>http://www.w3.org/XML/1998/namespace</code></p>

<p>The <dfn id=xmlns-namespace>XMLNS namespace</dfn> is: <code>http://www.w3.org/2000/xmlns/</code></p>

<hr><p>Data mining tools and other user agents that perform operations
on <code><a href=#text/html>text/html</a></code> content without running scripts,
evaluating CSS or XPath expressions, or otherwise exposing the
resulting DOM to arbitrary content, may "support namespaces" by just
asserting that their DOM node analogues are in certain namespaces,
without actually exposing the above strings.</p>




<h3 id=serializing-html-fragments><span class=secno>11.4 </span>Serializing HTML fragments</h3>
<h3 id=serializing-html-fragments><span class=secno>11.3 </span>Serializing HTML fragments</h3>

<p>The following steps form the <dfn id=html-fragment-serialization-algorithm>HTML fragment serialization
algorithm</dfn>. The algorithm takes as input a DOM
Expand Down Expand Up @@ -76994,7 +76995,7 @@ <h3 id=serializing-html-fragments><span class=secno>11.4 </span>Serializing HTML
tag for the <code><a href=#the-p-element>p</a></code>).</p>


<h3 id=parsing-html-fragments><span class=secno>11.5 </span>Parsing HTML fragments</h3>
<h3 id=parsing-html-fragments><span class=secno>11.4 </span>Parsing HTML fragments</h3>

<p>The following steps form the <dfn id=html-fragment-parsing-algorithm>HTML fragment parsing
algorithm</dfn>. The algorithm optionally takes as input an
Expand Down Expand Up @@ -77167,7 +77168,7 @@ <h3 id=parsing-html-fragments><span class=secno>11.5 </span>Parsing HTML fragmen



<h3 id=named-character-references><span class=secno>11.6 </span><dfn>Named character references</dfn></h3>
<h3 id=named-character-references><span class=secno>11.5 </span><dfn>Named character references</dfn></h3>

<p>This table lists the character reference names that are supported
by HTML, and the code points to which they refer. It is referenced
Expand Down
63 changes: 32 additions & 31 deletions index
Expand Up @@ -264,7 +264,8 @@
<li><a href=#domstringmap-0><span class=secno>2.7.6 </span>DOMStringMap</a></li>
<li><a href=#dom-feature-strings><span class=secno>2.7.7 </span>DOM feature strings</a></li>
<li><a href=#exceptions><span class=secno>2.7.8 </span>Exceptions</a></li>
<li><a href=#garbage-collection><span class=secno>2.7.9 </span>Garbage collection</a></ol></ol></li>
<li><a href=#garbage-collection><span class=secno>2.7.9 </span>Garbage collection</a></ol></li>
<li><a href=#namespaces><span class=secno>2.8 </span>Namespaces</a></ol></li>
<li><a href=#dom><span class=secno>3 </span>Semantics, structure, and APIs of HTML documents</a>
<ol>
<li><a href=#documents><span class=secno>3.1 </span>Documents</a>
Expand Down Expand Up @@ -997,10 +998,9 @@
<li><a href=#misnested-tags:-b-p-/b-/p><span class=secno>9.2.8.2 </span>Misnested tags: &lt;b&gt;&lt;p&gt;&lt;/b&gt;&lt;/p&gt;</a></li>
<li><a href=#unexpected-markup-in-tables><span class=secno>9.2.8.3 </span>Unexpected markup in tables</a></li>
<li><a href=#scripts-that-modify-the-page-as-it-is-being-parsed><span class=secno>9.2.8.4 </span>Scripts that modify the page as it is being parsed</a></ol></ol></li>
<li><a href=#namespaces><span class=secno>9.3 </span>Namespaces</a></li>
<li><a href=#serializing-html-fragments><span class=secno>9.4 </span>Serializing HTML fragments</a></li>
<li><a href=#parsing-html-fragments><span class=secno>9.5 </span>Parsing HTML fragments</a></li>
<li><a href=#named-character-references><span class=secno>9.6 </span>Named character references</a></ol></li>
<li><a href=#serializing-html-fragments><span class=secno>9.3 </span>Serializing HTML fragments</a></li>
<li><a href=#parsing-html-fragments><span class=secno>9.4 </span>Parsing HTML fragments</a></li>
<li><a href=#named-character-references><span class=secno>9.5 </span>Named character references</a></ol></li>
<li><a href=#the-xhtml-syntax><span class=secno>10 </span>The XHTML syntax</a>
<ol>
<li><a href=#writing-xhtml-documents><span class=secno>10.1 </span>Writing XHTML documents</a></li>
Expand Down Expand Up @@ -6458,6 +6458,30 @@ interface <dfn id=propertynodelist>PropertyNodeList</dfn> : <span>NodeList</span
</div>


<h3 id=namespaces><span class=secno>2.8 </span>Namespaces</h3>

<p>The <dfn id=html-namespace-0>HTML namespace</dfn> is: <code>http://www.w3.org/1999/xhtml</code></p>

<p>The <dfn id=mathml-namespace>MathML namespace</dfn> is: <code>http://www.w3.org/1998/Math/MathML</code></p>

<p>The <dfn id=svg-namespace>SVG namespace</dfn> is: <code>http://www.w3.org/2000/svg</code></p>

<p>The <dfn id=xlink-namespace>XLink namespace</dfn> is: <code>http://www.w3.org/1999/xlink</code></p>

<p>The <dfn id=xml-namespace>XML namespace</dfn> is: <code>http://www.w3.org/XML/1998/namespace</code></p>

<p>The <dfn id=xmlns-namespace>XMLNS namespace</dfn> is: <code>http://www.w3.org/2000/xmlns/</code></p>

<hr><p>Data mining tools and other user agents that perform operations
on <code><a href=#text/html>text/html</a></code> content without running scripts,
evaluating CSS or XPath expressions, or otherwise exposing the
resulting DOM to arbitrary content, may "support namespaces" by just
asserting that their DOM node analogues are in certain namespaces,
without actually exposing the above strings.</p>






<h2 id=dom><span class=secno>3 </span>Semantics, structure, and APIs of HTML documents</h2>
Expand Down Expand Up @@ -71105,31 +71129,8 @@ document.body.appendChild(text);



<h3 id=namespaces><span class=secno>9.3 </span>Namespaces</h3>

<p>The <dfn id=html-namespace-0>HTML namespace</dfn> is: <code>http://www.w3.org/1999/xhtml</code></p>

<p>The <dfn id=mathml-namespace>MathML namespace</dfn> is: <code>http://www.w3.org/1998/Math/MathML</code></p>

<p>The <dfn id=svg-namespace>SVG namespace</dfn> is: <code>http://www.w3.org/2000/svg</code></p>

<p>The <dfn id=xlink-namespace>XLink namespace</dfn> is: <code>http://www.w3.org/1999/xlink</code></p>

<p>The <dfn id=xml-namespace>XML namespace</dfn> is: <code>http://www.w3.org/XML/1998/namespace</code></p>

<p>The <dfn id=xmlns-namespace>XMLNS namespace</dfn> is: <code>http://www.w3.org/2000/xmlns/</code></p>

<hr><p>Data mining tools and other user agents that perform operations
on <code><a href=#text/html>text/html</a></code> content without running scripts,
evaluating CSS or XPath expressions, or otherwise exposing the
resulting DOM to arbitrary content, may "support namespaces" by just
asserting that their DOM node analogues are in certain namespaces,
without actually exposing the above strings.</p>




<h3 id=serializing-html-fragments><span class=secno>9.4 </span>Serializing HTML fragments</h3>
<h3 id=serializing-html-fragments><span class=secno>9.3 </span>Serializing HTML fragments</h3>

<p>The following steps form the <dfn id=html-fragment-serialization-algorithm>HTML fragment serialization
algorithm</dfn>. The algorithm takes as input a DOM
Expand Down Expand Up @@ -71313,7 +71314,7 @@ document.body.appendChild(text);
tag for the <code><a href=#the-p-element>p</a></code>).</p>


<h3 id=parsing-html-fragments><span class=secno>9.5 </span>Parsing HTML fragments</h3>
<h3 id=parsing-html-fragments><span class=secno>9.4 </span>Parsing HTML fragments</h3>

<p>The following steps form the <dfn id=html-fragment-parsing-algorithm>HTML fragment parsing
algorithm</dfn>. The algorithm optionally takes as input an
Expand Down Expand Up @@ -71486,7 +71487,7 @@ document.body.appendChild(text);



<h3 id=named-character-references><span class=secno>9.6 </span><dfn>Named character references</dfn></h3>
<h3 id=named-character-references><span class=secno>9.5 </span><dfn>Named character references</dfn></h3>

<p>This table lists the character reference names that are supported
by HTML, and the code points to which they refer. It is referenced
Expand Down
51 changes: 26 additions & 25 deletions source
Expand Up @@ -6321,7 +6321,33 @@ interface <dfn>PropertyNodeList</dfn> : <span>NodeList</span> {

</div>


<h3>Namespaces</h3>

<p>The <dfn>HTML namespace</dfn> is: <code>http://www.w3.org/1999/xhtml</code></p>

<p>The <dfn>MathML namespace</dfn> is: <code>http://www.w3.org/1998/Math/MathML</code></p>

<p>The <dfn>SVG namespace</dfn> is: <code>http://www.w3.org/2000/svg</code></p>

<p>The <dfn>XLink namespace</dfn> is: <code>http://www.w3.org/1999/xlink</code></p>

<p>The <dfn>XML namespace</dfn> is: <code>http://www.w3.org/XML/1998/namespace</code></p>

<p>The <dfn>XMLNS namespace</dfn> is: <code>http://www.w3.org/2000/xmlns/</code></p>

<hr>

<p>Data mining tools and other user agents that perform operations
on <code>text/html</code> content without running scripts,
evaluating CSS or XPath expressions, or otherwise exposing the
resulting DOM to arbitrary content, may "support namespaces" by just
asserting that their DOM node analogues are in certain namespaces,
without actually exposing the above strings.</p>

<!--END w3c-html-->


<!--START w3c-html-->

<h2 id="dom">Semantics, structure, and APIs of HTML documents</h2>
Expand Down Expand Up @@ -87555,31 +87581,6 @@ document.body.appendChild(text);



<h3>Namespaces</h3>

<p>The <dfn>HTML namespace</dfn> is: <code>http://www.w3.org/1999/xhtml</code></p>

<p>The <dfn>MathML namespace</dfn> is: <code>http://www.w3.org/1998/Math/MathML</code></p>

<p>The <dfn>SVG namespace</dfn> is: <code>http://www.w3.org/2000/svg</code></p>

<p>The <dfn>XLink namespace</dfn> is: <code>http://www.w3.org/1999/xlink</code></p>

<p>The <dfn>XML namespace</dfn> is: <code>http://www.w3.org/XML/1998/namespace</code></p>

<p>The <dfn>XMLNS namespace</dfn> is: <code>http://www.w3.org/2000/xmlns/</code></p>

<hr>

<p>Data mining tools and other user agents that perform operations
on <code>text/html</code> content without running scripts,
evaluating CSS or XPath expressions, or otherwise exposing the
resulting DOM to arbitrary content, may "support namespaces" by just
asserting that their DOM node analogues are in certain namespaces,
without actually exposing the above strings.</p>




<h3>Serializing HTML fragments</h3>

Expand Down

0 comments on commit 0fe3476

Please sign in to comment.