- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 11 Aug 2008 00:07:14 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv27123 Modified Files: Overview.html Log Message: xref error (whatwg r2038) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1222 retrieving revision 1.1223 diff -u -d -r1.1222 -r1.1223 --- Overview.html 10 Aug 2008 22:44:25 -0000 1.1222 +++ Overview.html 11 Aug 2008 00:07:12 -0000 1.1223 @@ -8753,7 +8753,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> @@ -9134,27 +9135,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="#references">[XML]</a> <a href="#references">[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="#references">[XML]</a> <a href="#references">[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: @@ -9196,8 +9198,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: @@ -9207,22 +9209,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 @@ -9230,7 +9234,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 @@ -9252,8 +9257,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> @@ -26202,7 +26208,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
Received on Monday, 11 August 2008 00:07:51 UTC