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

Re: DOM XPath and Text nodes

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 14 Sep 2011 08:56:54 +0200
To: www-dom@w3.org
Message-ID: <op.v1sdk4kn64w2qv@annevk-macbookpro.local>
On Tue, 13 Sep 2011 23:26:25 +0200, Bjoern Hoehrmann <derhoermi@gmx.net>  
> 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.
> http://www.google.com/codesearch?q=text%5C(%5C)%5C%5B%5Cs*%5C.%5Cs*%3D

normalize() will likely be added back in.

Anne van Kesteren
Received on Wednesday, 14 September 2011 06:57:33 UTC

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