[Webkit-unassigned] [Bug 12497] New: XPathEvaluator sometimes fails to order nodes in its result

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 31 02:26:32 PST 2007


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

           Summary: XPathEvaluator sometimes fails to order nodes in its
                    result
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org


At least calculating id() and union ("|") has this problem.

Currently, the assumption is that all functions should preserve document order
on nodes, so I added FIXME comments to these functions. However, it may be
better to just sort the nodes after the fact, and only if the client has
requested ORDERED_NODE_SNAPSHOT_TYPE, ORDERED_NODE_ITERATOR_TYPE or
FIRST_ORDERED_NODE_TYPE result.


-- 
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