Throw an expection in case of unexpected value for the _delta attribute in the XML...

SVN:trunk[4042]
This commit is contained in:
Denis Flaven
2016-05-10 13:49:35 +00:00
parent 1621f2ba31
commit 3335d0a453

View File

@@ -488,6 +488,9 @@ class ModelFactory
}
$oTargetNode->Delete();
break;
default:
throw new Exception(MFDocument::GetItopNodePath($oSourceNode).' at line '.$oSourceNode->getLineNo().": unexpected value for attribute _delta: '".$oSourceNode->getAttribute('_delta')."'");
}
if ($oSourceNode->hasAttribute('_rename_from'))