openlayers/ol3 — pull request #713 by ahocevar (2013-05-16 19:12:08+00:00)
Title: Do not rely on responseXML, also use responseText

On servers that report an incorrect content type for XML
documents, responseXML will be empty. In these cases we need to
use responseText instead. This change also prevents readNode
calls with empty data.