- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 07 Sep 2009 10:29:52 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv21324
Modified Files:
Overview.html
Log Message:
XPath 1.0 legacy compatibility. (whatwg r3765)
Index: Overview.html
===================================================================
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:01 UTC