Skip to content

Commit

Permalink
[] (0) XPath 1.0 legacy compatibility.
Browse files Browse the repository at this point in the history
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 0c015d5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions source
Expand Up @@ -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
Expand Down

0 comments on commit 0c015d5

Please sign in to comment.