openlayers/openlayers — pull request #1161 by Zay (2013-11-01 13:23:51+00:00)
Title: ignore textnodes when searching for a sibling containing geometry.

Some WMS/WFS servers send a pretty-printed response to a WFS/Wms GetFeatureInfo request. Browsers like Mozilla and Chrome will create an empty textnode for each linebreak or whitespace.

I've added a piece of code that will ignore the textnodes when looking for feature.gml as it will crash on the textnodes.