Download Altova DiffDog 2016
Transcript
Comparing Files Modifying the File Comparison Options 33 consecutive nodes that are different are displayed as a single node. This applies also to consecutive nodes on different hierarchical levels, such as an element node and its child attribute node. Please note that detailed differencing must be checked to enable merging and exporting differences. Whitespace Whitespace characters are space, tab, carriage return, and line feed. The three options here compare files with whitespace unchanged; with whitespace normalized (i.e., all consecutive whitespace characters are reduced to one whitespace character); and with all whitespace stripped (i.e., not considered for comparison). Namespace/Prefix These are options for ignoring namespaces and prefixes when searching for differences. Entities If Resolve entities is selected, then all entities in the document are resolved. Otherwise the files are compared with the entities as is. Text If Ignore text is selected, then differences in corresponding text nodes are not reported. The different first name is ignored since only the XML structure is compared but not the text content of the tags. Depth If Ignore node depth is selected, then the additional depth of any element (i.e., more levels of descendants) relative to the depth of the corresponding element in the compared file is ignored. This option must be unselected to enable merging and exporting differences. Case sensitivity If the Ignore case check box is checked, then case is ignored, and you have the option of ignoring or not ignoring case in node names. Order If Ignore order of child nodes is selected, then the relative position of the child nodes of an element is ignored, provided that the individual nodes within a node level have unique node names. As long as an element node with the same name exists in each of the two sets of sibling nodes, the two sets are considered to be equal. In the following example, the order of the <Name> and <FirstName> nodes is different in the left and right file and is marked as different if the Ignore order of child nodes option is deactivated. Checking the Ignore order of child nodes option will ignore this difference in the comparison window. © 2015 Altova Gmb H Altova DiffDog 2016