Allow blanks (line breaks and indentation) in the XML model files

SVN:trunk[1901]
This commit is contained in:
Romain Quetiez
2012-03-20 11:08:42 +00:00
parent 18a28df55f
commit ef50592a8d

View File

@@ -307,7 +307,7 @@ class ModelFactory
foreach($aDataModels as $sXmlFile)
{
$oDocument = new DOMDocument('1.0', 'UTF-8');
$oDocument->load($sXmlFile);
$oDocument->load($sXmlFile, LIBXML_NOBLANKS);
$oXPath = new DOMXPath($oDocument);
$oNodeList = $oXPath->query('//*');
foreach($oNodeList as $oNode)