[html5] r3765 - [] (0) XPath 1.0 legacy compatibility.
whatwg at whatwg.org
whatwg at whatwg.org
Mon Sep 7 03:33:41 PDT 2009
Author: ianh
Date: 2009-09-07 03:33:40 -0700 (Mon, 07 Sep 2009)
New Revision: 3765
Modified:
index
source
Log:
[] (0) XPath 1.0 legacy compatibility.
Modified: index
===================================================================
--- index 2009-09-07 10:04:27 UTC (rev 3764)
+++ index 2009-09-07 10:33:40 UTC (rev 3765)
@@ -9406,6 +9406,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
Modified: source
===================================================================
--- source 2009-09-07 10:04:27 UTC (rev 3764)
+++ source 2009-09-07 10:33:40 UTC (rev 3765)
@@ -9781,6 +9781,17 @@
<li>The element's document is an <span title="HTML documents">HTML document</span>.</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 <span title="HTML documents">HTML document</span>.</li>
+ </ul>
+
<p class="note">These requirements are a <span>willful
violation</span> of the XPath 1.0 specification, motivated by desire
to have implementations be compatible with legacy content while
More information about the Commit-Watchers
mailing list