[webkit-dev] XPath Issues?
alex at milowski.org
Thu Nov 4 06:16:23 PDT 2010
On Wed, Nov 3, 2010 at 6:28 PM, Alexey Proskuryakov <ap at webkit.org> wrote:
> 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.
WebKit currently applies XSLT to a serialization of the pre-build XML
DOM. As such, we have several bugs relating to cases where that
serialization is not the same as the data received off the wire.
>> 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:
They might not but users do.
Mozilla has its own XSLT 1.0 implementation that is not complete. I
don't think that's a great comparison.
We would need to pull an "off the shelf" implementation of XPath and XSLT 2.0.
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
Bertrand Russell in a footnote of Principles of Mathematics
More information about the webkit-dev