[Webkit-unassigned] [Bug 17725] New: XPath and case sensitivity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 8 09:57:26 PST 2008


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

           Summary: XPath and case sensitivity
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
               URL: http://chivil.com/demos/safari+xpath/
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P4
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: romuald at chivil.com


It is not necessarily a bug (since XML is case sensitive), but I've found that
XPath implementation in Safari differs from some other browsers (Firefox and
Opera).

For exemple, in a xhtml 1.0 document, retrieving .//IMG won't return anything
(either if the tags are uppercase, which is invalid xhtml, or if they are not).
You can check the url for a practical example

Found this bug because I'm used to use uppercase for tags in CSS selectors.

Since this behavior applies in Firefox and Opera, you may choose to change
Safari's implementation.


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