[Webkit-unassigned] [Bug 26005] New: Optimization for XPath //* does not preserve context size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 25 00:33:46 PDT 2009


           Summary: Optimization for XPath //* does not preserve context
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org

//* is an abbreviated form for /descendant-or-self::node()/child::*. When
applying predicates to the last step, the context should contain all children
elements of a given node, so e.g. //*[2] locates all second children elements
in document.

We wrongfully optimize this to /descendant:node()/self::*, so the context for
predicates always contains a single element.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list