IBM Support

XML automatic validation is not started when saving XML file in Rational Software Architect

Troubleshooting


Problem

When saving XML file in IBM Rational Software Architect for WebSphere Software, the validation is not started even with the "XML Validator" and "Build Automatically" feature turned on.

Symptom

When saving XML files, the validation is not started even with the "XML Validator" and "Build Automatically" feature turned on.

Note: The manual validation still works if you right-click the file and select validate.

Cause

The validation builder is not added to the project properly.

Resolving The Problem

Enable the "Add Validation Builder to project" option for the build validation.

  1. Right click the project properties and select "Validation"
  2. Select the box for "Add Validation Builder to project" and click OK

  3. Rational Software Architect will now validate the XML file automatically every time it is saved.
Note: If this check box is not displayed, the validation builder has added already.
[{"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Code Review","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.5.1;7.5.2;7.5.3;7.5.4;7.5.5;7.5.5.1;7.5.5.2;7.5.5.3;8.0","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]

Document Information

More support for:
Rational Software Architect for WebSphere Software

Software version:
7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.5.1, 7.5.5.2, 7.5.5.3, 8.0

Operating system(s):
Linux, Windows

Document number:
416239

Modified date:
16 June 2018

UID

swg21461240