It also adds the ability to ignore the order of columns, which means that a change in order doesn’t trigger delta markup in the result.
Two-way table comparison is complicated enough, and extending that to n-way comparison has been a challenge! But we’re confident that this update will improve your merge results and make it easier to produce a single, resolved table merge if that’s your final output target.
Please note that we have kept both versions of the table processing in XML Merge 11. To use the new processing, you will need to enable it using the appropriate parameter settings. This allows you to test the new approach before using it in production.
The new table algorithm is currently only available in ConcurrentMerge.
If some of the table versions have different structures, we have to select a ‘master’ table from which to create the result. We use the Merge version priority to determine which version to use as the master. The spans in that version are prioritised, and other spans are created around them, sometimes as they were in the original and sometimes fragmented as necessary to ensure table validity. This approach helps to keep the result table as compact as possible while still representing how the table content has changed.
The following examples demonstrate some of the improved results that the new table processing produces. The colouring in the screenshots is added to visualise the different versions and is based on the delta values in the XML result.
Use the tabs below to flick through how change between tables can now be shown depending on changes found.
The “Column addition” example highlights one of the quirks of n-way table comparison: addition of the same column by different versions doesn’t always align. However, there is a simple fix – adding column keys will ensure that these align as expected. See our table documentation for more detail on how to achieve this. Column keying can also be used alongside unordered column comparison to ignore changes to column order.
We’d love to hear your feedback on the new table algorithm. Feedback is important for our ongoing product development and we read everything that we receive. So download or upgrade to the latest version of XML Merge today and give it a spin on your table content.