IBM Support

Syntax error reported during compare or merge of UTF-8 XML files

Troubleshooting


Problem

This technote identifies an IBM® Rational® ClearCase® defect relating to a syntax error being reported when trying to compare an XML file, and provides you with information on how to workaround the issue.

Symptom

Attempts to compare an XML file to a previous version can result in the following error:


XML Diff Merge


    X   Syntax Error

Note: Upon clicking OK, the Diff / Merge tool fails to start.

Cause


Defect APAR PK47447 has been opened to investigate this issue.

Resolving The Problem

Defect APAR PK47447 has been resolved in the following ClearCase updates:

ClearCase 7.0.1
Fixpack 7.0.1.4
ClearCase 7.0.0
FixPack 7.0.0.4


WORKAROUND:

Either of the following workarounds can be used:

  • Use a third party compare tool such as kdiff3 to compare previous versions. Refer to technote 1256807 for more information.

  • Change the element's type from xml to text_file using the cleartool chtype. This will suppress the firing of the XML/Diff tool and the errors, however, you will have to diff/merge the file in text mode. This is similar to using kdiff3.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"GUI: Diff","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0.1.1;7.0.1;7.0.0.2;7.0.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21293268