Chapter 3 Working with an XML model
XML Model objects verified by Check Model
The Check Model verifies the validity of XML model objects.
When errors are encountered during a check model, corrections can be made manually or automatically. Manual corrections depend on how you are using your model.
Some checks are not available if the object is not supported in the model.
Use the Help command to select object control options
When you right click an XML model object control in the Check Model Parameters page, a menu appears listing several options. The Help command opens a contextual help page explaining the checks performed for the selected object type.
Group particle check
During a group particle check, the following object control is made.
Existence of particle
A group particle must contain elements, groups, group particles and/or Any.
Manual correction | Automatic correction |
Add items to the group particle or delete | — |
it |
|
|
|
Invalid cardinality
You should define a minimum (0 or 1) and a maximum cardinality (1 or unbounded) for a group particle occurrence.
This check is only available in a model targeted with XDR.
| Manual correction | Automatic correction |
|
| — | ||
| and type a value for Minimum (0 or 1) |
|
|
| and Maximum (1 or unbounded) |
|
|
| properties |
|
|
|
| ||
XSM User's Guide | 147 |