Skip to content
Permalink
Browse files
[] (0) XPath 1.0 legacy compatibility.
git-svn-id: http://svn.whatwg.org/webapps@3765 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 7, 2009
1 parent 5402075 commit 0c015d5964b6a7e10f6e70cc49a2a932695611da
Showing with 19 additions and 0 deletions.
  1. +8 −0 index
  2. +11 −0 source
8 index
@@ -9406,6 +9406,14 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<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
11 source
@@ -9781,6 +9781,17 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<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

0 comments on commit 0c015d5

Please sign in to comment.