mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
Allow blanks (line breaks and indentation) in the XML model files
SVN:trunk[1901]
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user