netz98/n98-magerun — pull request #296 by riker09 (2014-01-29 15:09:17+00:00)
Title: loadXML must be called AFTER preserveWhiteSpace

I created a very simple test case and could confirm this for PHP 5.3.10-1ubuntu3.9. If I load the XML ***before*** calling `$dom->preserveWhiteSpace = false;` the passed XML will remain unchanged. If I load the XML ***after*** setting the value everything works as expected. This might be related to issue #3.