Description of XML Update
XML Update is done in the following steps:
Deallocation of slave memory.
Import of changed objects.
Processing of XML instructions
XML instruction must be specified properly.
Some warnings occur during processing:
if the instruction contains the <REFERENCES> section and uid of some object reference is set
if attribute Id or Type occurs in TObjItemData structure of <CFGRECORDS> section (these attributes are ignored)
Some errors occur during processing:
if forbidden strings of attributes of SDT_EXPRESSION or SDT_RAW_DATA type occur in <CFGRECORDS> section
if instruction contains <MEMBEROFLOGGROUP> section or <MEMBEROFRESGROUP> section and some membership of object is set (Member attribute)
Check of duplicate attributes
Some errors occur during check:
if some attribute is entered several times within the structure <CFGRECORDS>
if the attribute containing a reference (object or column) to object that does not exist in target configuration occurs
Object matching
XML instruction is connected on the objects of target configuration on the basis of XML filter.
Some errors occur during matching:
if an exact object name is set in filter but it does not exist in the target configuration
if the mask for object name is set in filter but it meets none of objects from target configuration
if any object from the target configuration does not meet the filter
Value change applying
Set key attributes in the structure of the source object must match the proper key attributes in the structure of the target object. If the record does not contain the key attributes it conform to all records of the target object of the same type of structure. It means that the source object attribute updates the attribute in N structures of the target object.
Some errors occur during matching:
if attribute of source object does not satisfy or no attribute of target object exists for it
if the same attribute of structure of the target object varies several times (more instructions change the attribute of the same object)
Object and column references update
Some warnings occur during changing:
if another type of object or other type of object value is set in the object reference as it is in the object to which it refers
if the column name in reference will be changed because of the change of source column name
if the column value type in reference will be changed because of the change of source column value
Some errors occur during changing:
if the object reference wrong or uid, id, name is different as it is in the object to which it refers
if column with the given name does not exist in the object to which it refers
Related pages: