COSMOS User's Guide


Validating an SML-IF document

To perform this task you must have a Navigator window open.

An SML model is a set of interrelated XML documents. Each SML model contains a special subset of documents that describe the schema and rules governing the structure and content of the model's documents.

SML model validation is the process of verifying that all documents in a model are valid with respect to this special subset. The key contribution of SML to validation lies in its handling of inter-document constraints, which are layered on top of the single-document validation of XML Schema and Schematron.

To validate an SML-IF document, use the following procedure:

  1. From the Navigator window, select a desired document to be validated.
  2. Do one of the following to Validate the document:
    1. Right-click the document and select Validate SML-IF
    2. Alternatively, open the file with the SML-IF editor, select the Overview tab and click Validate entire document. All errors or warnings information are reported in the problems view. If there is no warning, error or information to be displayed, then a Validation Passed message dialog appears to notify you that the document is valid and well formed.

If you receive an error or warning, go to Navigating and fixing a problem.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]