W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2011

Re: DOM XPath and Text nodes

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 13 Sep 2011 23:26:25 +0200
To: "Anne van Kesteren" <annevk@opera.com>
Cc: www-dom@w3.org
Message-ID: <o0ev67lqgp9smhfgqf09j3so7vg0qqb5sk@hive.bjoern.hoehrmann.de>
* Anne van Kesteren wrote:
>I think it would be more interesting if Gecko or WebKit had bug reports  
>requesting them to match Opera's behavior.

They are welcome to consider my initial reply such a request. Note that
if this was to be changed to match the Firefox behavior, then the easy
way to get the expected behavior, with unwelcome but unavoidable side-
effects in addition to being inefficient, is to use normalization APIs.
Since you want those gone in Core Web 5 DOM4 or whatever it's called at
the moment, what should authors to do reliably have text()[ . = 'abc' ]
match in a document with <y>abc</y>, as it does everywhere else? Cf.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 13 September 2011 21:26:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:18 UTC