Checking an XSM

The XML model is a very flexible tool, which allows you quickly to develop your model without constraints. You can check the validity of your XSM at any time.

A valid XSM conforms to the following kinds of rules:

Note:

We recommend that you check your XML model before generating an XML document or another model from it . If the check encounters errors, generation will be stopped. The Check model option is enabled by default in the Generation dialog box.

You can check your model in any of the following ways:

The Check Model Parameters dialog opens, allowing you to specify the kinds of checks to perform, and the objects to apply them to. The following sections document the XSM -specific checks available by default. For information about checks made on generic objects available in all model types and for detailed information about using the Check Model Parameters dialog, see Core Features Guide > The PowerDesigner Interface > Objects > Checking Models.