|
@@ -519,6 +519,15 @@ class iTopDesignFormat
|
|
|
$this->LogWarning('The attribute '.self::GetItopNodePath($oNode).' is irrelevant and must be removed.');
|
|
|
$this->DeleteNode($oNode);
|
|
|
}
|
|
|
+
|
|
|
+ // Discard _delta="if_exists"
|
|
|
+ //
|
|
|
+ $oNodeList = $oXPath->query("//*[@_delta='if_exists']");
|
|
|
+ foreach ($oNodeList as $oNode)
|
|
|
+ {
|
|
|
+ $this->LogWarning('The flag _delta="if_exists" on '.self::GetItopNodePath($oNode).' is irrelevant and must be replaced by _delta="must_exist".');
|
|
|
+ $oNode->setAttribute('_delta', 'must_exist');
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/**
|