[webkit-dev] XPath Issues?

Alexey Proskuryakov ap at webkit.org
Wed Nov 3 10:28:52 PDT 2010

03.11.2010, в 10:11, Alex Milowski написал(а):

> many of the incompatibilities may not occur
> within the context of the browser with a pre-built DOM.

WebKit currently applies XSLT to document source, not to pre-built DOM. This is different from Firefox, but in strict compliance to the spec.

We have separate XPath implementations for XSLT and for DOM bindings though, and the latter operates on DOM indeed (which is in accordance with <http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/DOM3-XPath.html>).

> Also, we can't expect to stay at XPath 1.0 forever.

Actually, I see this situation as similar to XHTML 2.0. XPath is embedded into browsers both directly and via XSLT. Any incompatible specification featuring the same name is likely to end up as an academic exercise, dead on arrival.

Looking at Mozilla bugs, they seem to have zero interest in XPath 2.0 and XSLT 2.0:


- WBR, Alexey Proskuryakov

More information about the webkit-dev mailing list