Project

General

Profile

Actions

Bug #5310

closed

//*[xxx] generates a wrong execution plan

Added by Reynaud Sylvain about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
High
Assigned To:
Category:
Engine
Target version:
Start date:
10/10/2013
Due date:
% Done:

100%

Estimated time:

Description

Since the DOM tree is built for first candidate node (i.e. root), the execution plan should be:

<XPath>
    <tree nodes="descendant-or-self::*[child::xxx]" depth="999" localName="*">
        <predicate>self::*/parent::*</predicate>
    </tree>
</XPath>

instead of:

<XPath>
    <tree nodes="self::*[child::xxx]" depth="999" localName="*">
        <predicate>self::*/parent::*</predicate>
    </tree>
</XPath>

Actions

Also available in: Atom PDF