- From: poot <cvsmail@w3.org>
- Date: Mon, 7 Sep 2009 19:30:08 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: XPath 1.0 legacy compatibility. (whatwg r3765) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2934&r2=1.2935&f=h http://html5.org/tools/web-apps-tracker?from=3764&to=3765 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2934 retrieving revision 1.2935 diff -u -d -r1.2934 -r1.2935 --- Overview.html 7 Sep 2009 10:00:36 -0000 1.2934 +++ Overview.html 7 Sep 2009 10:29:48 -0000 1.2935 @@ -8365,6 +8365,14 @@ <li>The element has local name <var title="">local</var>.</li> <li>The element is in the <a href="#html-namespace-0">HTML namespace</a>.</li> <li>The element's document is an <a href="#html-documents" title="HTML documents">HTML document</a>.</li> + </ul><p>Irrespective of the requirements defined in XPath 1.0, a name + expression must not evaluate to matching a node when the following + conditions are all met:</p> + + <ul class="brief"><li>The name expression has no namespace.</li> + <li>The expression is being tested against an element node.</li> + <li>The element is in no namespace.</li> + <li>The element's document is an <a href="#html-documents" title="HTML documents">HTML document</a>.</li> </ul><p class="note">These requirements are a <a href="#willful-violation">willful violation</a> of the XPath 1.0 specification, motivated by desire to have implementations be compatible with legacy content while
Received on Monday, 7 September 2009 10:30:44 UTC