Skip to content

Commit

Permalink
[e] (0) Clarify what the XML fragment serialization algorithm means b…
Browse files Browse the repository at this point in the history
…y an internal general parsed entity being XML namespace-well-formed.

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

git-svn-id: http://svn.whatwg.org/webapps@3949 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 22, 2009
1 parent 3f4bcb8 commit 1fb863c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
15 changes: 10 additions & 5 deletions index
Expand Up @@ -27599,9 +27599,9 @@ function AddCloud(data, x, y) { ... }</pre>
appropriate error message.</p>

<p>To enable authors to use MathML tools that only accept MathML in
its XML form, interactive HTML user agents are encouraged to
provide a way to export any MathML fragment as a
namespace-well-formed XML fragment.</p>
its XML form, interactive HTML user agents are encouraged to provide
a way to export any MathML fragment as an XML namespace-well-formed
XML fragment.</p>

</div>

Expand Down Expand Up @@ -27655,7 +27655,7 @@ function AddCloud(data, x, y) { ... }</pre>

<p>To enable authors to use SVG tools that only accept SVG in its
XML form, interactive HTML user agents are encouraged to provide a
way to export any SVG fragment as a namespace-well-formed XML
way to export any SVG fragment as an XML namespace-well-formed XML
fragment.</p>

</div>
Expand Down Expand Up @@ -71026,8 +71026,13 @@ document.body.appendChild(text);
pick up the surrounding default ns when setting --> (This doesn't
apply in the <code>Document</code> case.) <a href=#refsXML>[XML]</a> <a href=#refsXMLNS>[XMLNS]</a></p>

<p>For the purposes of this section, an internal general parsed
entity is considered XML namespace-well-formed if a document
consisting of an element whose contents are the internal general
parsed entity would itself be XML namespace-well-formed.</p>

<p>If any of the following error cases are found in the DOM subtree
being serialized, then the algorithm raises an
being serialized, then the algorithm must raise an
<code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception instead of returning a
string:</p>

Expand Down
15 changes: 10 additions & 5 deletions source
Expand Up @@ -30383,9 +30383,9 @@ function AddCloud(data, x, y) { ... }</pre>
appropriate error message.</p>

<p>To enable authors to use MathML tools that only accept MathML in
its XML form, interactive HTML user agents are encouraged to
provide a way to export any MathML fragment as a
namespace-well-formed XML fragment.</p>
its XML form, interactive HTML user agents are encouraged to provide
a way to export any MathML fragment as an XML namespace-well-formed
XML fragment.</p>

</div>

Expand Down Expand Up @@ -30439,7 +30439,7 @@ function AddCloud(data, x, y) { ... }</pre>

<p>To enable authors to use SVG tools that only accept SVG in its
XML form, interactive HTML user agents are encouraged to provide a
way to export any SVG fragment as a namespace-well-formed XML
way to export any SVG fragment as an XML namespace-well-formed XML
fragment.</p>

</div>
Expand Down Expand Up @@ -84347,8 +84347,13 @@ document.body.appendChild(text);
apply in the <code>Document</code> case.) <a
href="#refsXML">[XML]</a> <a href="#refsXMLNS">[XMLNS]</a></p>

<p>For the purposes of this section, an internal general parsed
entity is considered XML namespace-well-formed if a document
consisting of an element whose contents are the internal general
parsed entity would itself be XML namespace-well-formed.</p>

<p>If any of the following error cases are found in the DOM subtree
being serialized, then the algorithm raises an
being serialized, then the algorithm must raise an
<code>INVALID_STATE_ERR</code> exception instead of returning a
string:</p>

Expand Down

0 comments on commit 1fb863c

Please sign in to comment.