Cosmetic improvement of an error message (data model compilation - collision of ids)

SVN:trunk[3360]
This commit is contained in:
Romain Quetiez
2014-10-07 14:41:11 +00:00
parent f794d0222e
commit 472802e11b

View File

@@ -1512,7 +1512,7 @@ class MFElement extends DOMElement
{
if ($oExisting->getAttribute('_alteration') != 'removed')
{
throw new Exception("Attempting to add a node that already exists: $oNode->tagName (id: ".$oNode->getAttribute('id')."");
throw new Exception("Attempting to add a node that already exists: $oNode->tagName (id: ".$oNode->getAttribute('id').")");
}
$oExisting->ReplaceWith($oNode);
$sFlag = 'replaced';