[Webkit-unassigned] [Bug 12413] New: Missunderstood NameSpace with DOM Level 3 XPath

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 26 03:24:06 PST 2007


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

           Summary: Missunderstood NameSpace with DOM Level 3 XPath
           Product: WebKit
           Version: 417.x
          Platform: Macintosh PowerPC
               URL: http://www.yvon-
                    thoraval.com/DOM/xpath_svg_test_case.xhtml
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yt.dev at free.fr
                CC: yt.dev at free.fr


WebKit doesn't honor correctly the namespace for an xhtml document having to
used namespaces : 'xhtml' and 'svg'.

See the page given in reference, at the top left corner the image is an svg
one.
The select tag allows to choose différent XPath expressions, notices all are
replicated for example for the firsts two :

//body       <!-- works only with WebKit build 19107-->
//xhtml:body <!-- works with Firefox 2.0.0.1 and Opera 9.1 -->

It seems this is ONLY a namespace prob because firstly all the XPath expression
are correctly understood by WebKit and secondly notice WebKit never calls the
function nsResolver(prefix) which returns the corresponding NameSpaceURI.

The page logs the result of the XPath expression (below XPath expression result
log), shows the source code of the page itself (below SOurce code of this page
and finally a WebKit log (bottom of the page) corresponding to the
"WebKitDetect.js".

Notice also i'll add new expressions in order to test most of the XPath
functionnality.

Best,

Yvon


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