Re: DOM XPath and Text nodes

On Tue, 13 Sep 2011 23:26:25 +0200, Bjoern Hoehrmann <>  
> 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.

normalize() will likely be added back in.

Anne van Kesteren

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