Validating models in Rational XDE before import

Before you import a Rational® XDE model into the Rational UML modeling products, you should check the model for Unified Modeling Language (UML) compliance in Rational XDE. Models that have been validated have a better chance of being successfully imported from XDE.

If rule violations such as errors or warning are detected, a summary message appears in the XDE Output window; informational messages appear in the XDE Task List window.

The following table lists the three levels of model validation severity:

Model validation severity level Description
Error An error indicates a critical violation that is not allowed.
Warning A warning is less severe than an error; it indicates a rule violation that is allowed, but which results in your model being semantically incorrect.
Informational Messages An informational message is the least severe form of violation; it indicates a rule that is inconsistent with UML standards but does not need to be corrected.

To validate an XDE model:

  1. In the Model Explorer, right-click the model, and click Validate. The validation results appear in the Output window.
  2. Correct any violations for model elements and their relationships that you want to conform to UML 1.4 standards.
  3. (Optional) Validate the model again to ensure compliance.

Feedback