[Webkit-unassigned] [Bug 15988] New: XPath preceding-axis query misses nested elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 14 12:17:28 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=15988

           Summary: XPath preceding-axis query misses nested elements
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: khooyp at cs.umd.edu


In the nightlies (but not Safari 3.0.3 for Tiger), when performing an XPath
query with a preceding axis, some nodes which do precede the context node are
not returned. It seems to occur when these missed nodes are nested in another
node. E.g.:

<div id="test">
    <span id="A"/>
    <div><span id="B">
        <span id="C"/>
    </span></div>
    <span id="D"/>
</div>

The query "preceding::xhtml:span" on span#D will not return span#C.


-- 
Configure bugmail: http://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