[html5] r2038 - [e] (0) xref error
whatwg at whatwg.org
whatwg at whatwg.org
Sun Aug 10 17:07:08 PDT 2008
Author: ianh
Date: 2008-08-10 17:07:08 -0700 (Sun, 10 Aug 2008)
New Revision: 2038
Modified:
index
source
Log:
[e] (0) xref error
Modified: index
===================================================================
--- index 2008-08-10 22:43:51 UTC (rev 2037)
+++ index 2008-08-11 00:07:08 UTC (rev 2038)
@@ -8745,7 +8745,8 @@
<td><a href="#innerhtml0"
title=dom-innerHTML-HTML><code>innerHTML</code> in HTML</a>
- <td><span title=dom-innerHTML-XML><code>innerHTML</code> in XML</span>
+ <td><a href="#innerhtml1" title=dom-innerHTML-XML><code>innerHTML</code>
+ in XML</a>
<tr>
<th><dfn id=outerhtml title=dom-outerHTML><code>outerHTML</code></dfn>
@@ -9126,27 +9127,28 @@
<h4 id=dynamic2><span class=secno>3.7.3 </span>Dynamic markup insertion in
XML</h4>
- <p>In an XML context, the <code title=dom-innerHTML-XML>innerHTML</code>
- DOM attribute on <code><a href="#htmlelement">HTMLElement</a></code>s must
- return a string in the form of an <a
- href="http://www.w3.org/TR/xml/#wf-entities">internal general parsed
- entity</a>, and on <code><a href="#htmldocument">HTMLDocument</a></code>s
- must return a string in the form of a <a
- href="http://www.w3.org/TR/xml/#sec-well-formed">document entity</a>. The
- string returned must be XML namespace-well-formed and must be an
- isomorphic serialization of all of that node's child nodes, in document
- order. User agents may adjust prefixes and namespace declarations in the
- serialization (and indeed might be forced to do so in some cases to obtain
- namespace-well-formed XML). For the <code
- title=dom-innerHTML-XML>innerHTML</code> attribute on <code><a
- href="#htmlelement">HTMLElement</a></code> objects, if any of the elements
- in the serialization are in no namespace, the default namespace in scope
- for those elements must be explicitly declared as the empty
- string.<!-- because otherwise round-tripping might break
+ <p>In an XML context, the <dfn id=innerhtml1
+ title=dom-innerHTML-XML><code>innerHTML</code></dfn> DOM attribute on
+ <code><a href="#htmlelement">HTMLElement</a></code>s must return a string
+ in the form of an <a href="http://www.w3.org/TR/xml/#wf-entities">internal
+ general parsed entity</a>, and on <code><a
+ href="#htmldocument">HTMLDocument</a></code>s must return a string in the
+ form of a <a href="http://www.w3.org/TR/xml/#sec-well-formed">document
+ entity</a>. The string returned must be XML namespace-well-formed and must
+ be an isomorphic serialization of all of that node's child nodes, in
+ document order. User agents may adjust prefixes and namespace declarations
+ in the serialization (and indeed might be forced to do so in some cases to
+ obtain namespace-well-formed XML). For the <code
+ title=dom-innerHTML-XML><a href="#innerhtml1">innerHTML</a></code>
+ attribute on <code><a href="#htmlelement">HTMLElement</a></code> objects,
+ if any of the elements in the serialization are in no namespace, the
+ default namespace in scope for those elements must be explicitly declared
+ as the empty string.<!-- because otherwise round-tripping might break
since it'll pick up the surrounding default ns when setting -->
- (This doesn't apply to the <code title=dom-innerHTML-XML>innerHTML</code>
- attribute on <code><a href="#htmldocument">HTMLDocument</a></code>
- objects.) <a href="#refsXML">[XML]</a> <a href="#refsXMLNS">[XMLNS]</a>
+ (This doesn't apply to the <code title=dom-innerHTML-XML><a
+ href="#innerhtml1">innerHTML</a></code> attribute on <code><a
+ href="#htmldocument">HTMLDocument</a></code> objects.) <a
+ href="#refsXML">[XML]</a> <a href="#refsXMLNS">[XMLNS]</a>
<p>If any of the following cases are found in the DOM being serialized, the
user agent must raise an <code>INVALID_STATE_ERR</code> exception:
@@ -9188,8 +9190,8 @@
attribute with a name that contains an equals sign (=) will raised an
<code>INVALID_CHARACTER_ERR</code> exception.
- <p>On setting, in an XML context, the <code
- title=dom-innerHTML-XML>innerHTML</code> DOM attribute on <code><a
+ <p>On setting, in an XML context, the <code title=dom-innerHTML-XML><a
+ href="#innerhtml1">innerHTML</a></code> DOM attribute on <code><a
href="#htmlelement">HTMLElement</a></code>s and <code><a
href="#htmldocument">HTMLDocument</a></code>s must run the following
algorithm:
@@ -9199,22 +9201,24 @@
<p>The user agent must create a new <span>XML parser</span>.</p>
<li>
- <p>If the <code title=dom-innerHTML-XML>innerHTML</code> attribute is
- being set on an element, the user agent must <span>feed the
- parser</span> just created the string corresponding to the start tag of
- that element, declaring all the namespace prefixes that are in scope on
- that element in the DOM, as well as declaring the default namespace (if
- any) that is in scope on that element in the DOM.</p>
+ <p>If the <code title=dom-innerHTML-XML><a
+ href="#innerhtml1">innerHTML</a></code> attribute is being set on an
+ element, the user agent must <span>feed the parser</span> just created
+ the string corresponding to the start tag of that element, declaring all
+ the namespace prefixes that are in scope on that element in the DOM, as
+ well as declaring the default namespace (if any) that is in scope on
+ that element in the DOM.</p>
<li>
<p>The user agent must <span>feed the parser</span> just created the
- string being assigned into the <code
- title=dom-innerHTML-XML>innerHTML</code> attribute.</p>
+ string being assigned into the <code title=dom-innerHTML-XML><a
+ href="#innerhtml1">innerHTML</a></code> attribute.</p>
<li>
- <p>If the <code title=dom-innerHTML-XML>innerHTML</code> attribute is
- being set on an element, the user agent must <span>feed the
- parser</span> the string corresponding to the end tag of that element.</p>
+ <p>If the <code title=dom-innerHTML-XML><a
+ href="#innerhtml1">innerHTML</a></code> attribute is being set on an
+ element, the user agent must <span>feed the parser</span> the string
+ corresponding to the end tag of that element.</p>
<li>
<p>If the parser found a well-formedness error, the attribute's setter
@@ -9222,7 +9226,8 @@
<li>
<p>The user agent must remove the children nodes of the node whose <code
- title=dom-innerHTML-XML>innerHTML</code> attribute is being set.</p>
+ title=dom-innerHTML-XML><a href="#innerhtml1">innerHTML</a></code>
+ attribute is being set.</p>
<li>
<p>If the attribute is being set on a <code>Document</code> node, let
@@ -9244,8 +9249,9 @@
<li>
<p>Append all the <var title="">new children</var> nodes to the node
- whose <code title=dom-innerHTML-XML>innerHTML</code> attribute is being
- set, preserving their order.</p>
+ whose <code title=dom-innerHTML-XML><a
+ href="#innerhtml1">innerHTML</a></code> attribute is being set,
+ preserving their order.</p>
</ol>
<hr>
@@ -26194,7 +26200,8 @@
href="#without">without script</a>, or if the <code><a
href="#script1">script</a></code> element was created by an <span>XML
parser</span> that itself was created as part of the processing of the
- <code title=dom-innerHTML-XML>innerHTML</code> attribute's setter<!--
+ <code title=dom-innerHTML-XML><a href="#innerhtml1">innerHTML</a></code>
+ attribute's setter<!--
no need to worry about the innerHTML-HTML case, as the HTML parser
handles that for us, and outerHTML-XML doesn't work-->,
or if the user agent does not <a href="#support">support the scripting
Modified: source
===================================================================
--- source 2008-08-10 22:43:51 UTC (rev 2037)
+++ source 2008-08-11 00:07:08 UTC (rev 2038)
@@ -7096,12 +7096,12 @@
<h4>Dynamic markup insertion in XML</h4>
- <p>In an XML context, the <code
- title="dom-innerHTML-XML">innerHTML</code> DOM attribute on
- <code>HTMLElement</code>s must return a string in the form of an <a
- href="http://www.w3.org/TR/xml/#wf-entities">internal general parsed
- entity</a>, and on <code>HTMLDocument</code>s must return a string
- in the form of a <a
+ <p>In an XML context, the <dfn
+ title="dom-innerHTML-XML"><code>innerHTML</code></dfn> DOM attribute
+ on <code>HTMLElement</code>s must return a string in the form of an
+ <a href="http://www.w3.org/TR/xml/#wf-entities">internal general
+ parsed entity</a>, and on <code>HTMLDocument</code>s must return a
+ string in the form of a <a
href="http://www.w3.org/TR/xml/#sec-well-formed">document
entity</a>. The string returned must be XML namespace-well-formed
and must be an isomorphic serialization of all of that node's child
More information about the Commit-Watchers
mailing list