three-way xml diff & visual diff

16
Three-way XML Diff & Visual Diff Octavian Nadolu [email protected] @OctavianNadolu

Upload: octavian-nadolu

Post on 14-Feb-2017

364 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Three-way XML Diff & Visual Diff

Three-way XML Diff&

Visual Diff

Octavian [email protected]@OctavianNadolu

Page 2: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Overview● Three-way documents comparison● Using an XML algorithm for three-way

comparison● Visualize and merge modifications in the Author

mode

Page 3: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Three-way Diff● Used when commit/reintegrate changes in a

document● Visualize and merge the modified content

Page 4: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Documents Workflow

Modify

Modify

Commit

Commit

Two-way compare

Two-way compare

Page 5: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Documents Workflow

Modify

Commit

Modify

Commit

Two-way compare

Three-way compare

Page 6: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Three-way Compare

Both Local and Remote Modifications

Three-way compare

Remote modificationsTwo-way compare

Local ModificationsTwo-way compare

Page 7: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Three-way Diff● Used by versioning systems (such as GIT, SVN,

Mercurial)– Review modified content– Solve conflicts

Page 8: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Three-way Diff in <oXygen/>● Available in Syncro SVN Client● Based on the “Lines” algorithm● Limitation if parts of the documents are rearranged

or when you want to ignore nodes

Page 9: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Three-way XML Diff● Marks the differences correctly also when the

document structure is rearranged● Merge only XML-relevant modifications

Page 10: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

XML Diff Ignore Options● Processing instructions● Comments● CData● DOCTYPE● Text ● Attributes order● Namespace and prefixe

Page 11: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Second-Level Diff● Easily spot the differences in text content● Merge the exact modification

Page 12: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Visual Diff● Visualize modifications in the Author page● Merge modifications in the Author page

Page 13: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Visual Diff Ignore Options● Processing instructions● Comments● CData● DOCTYPE● Text● Attributes order● Namespace and prefix

Page 14: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Visual Diff Second-Level● Simultaneously highlight of text block

modifications and word-level differences● Merge only the modified words

Page 15: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Visual Diff Merge ● Copy all non-conflicting modifications● Manage each difference● In-place widget for quicker access● Navigate through block of differences and

word-level differences

Page 16: Three-way XML Diff & Visual Diff

Three-way XML DiffThree-way XML Diff

Copyright @ Syncro Soft, 2016. All rights reserved.

Thank you!

Questions?

<oXygen/> XML Editorhttp://[email protected]@OctavianNadolu