
Chapter 3 Working with an XML model
Group check
During a group check, the following object controls are made.
Group name and code uniqueness
A model cannot contain two groups with identical names and/or codes.
Manual correction | Automatic correction |
Rename one of the groups | Renames the group by appending a |
| number to its name or code |
|
|
Undefined reference
A group without a name or a code must have a reference.
Manual correction | Automatic correction |
In the group property sheet, define a | — |
reference with the Reference dropdown |
|
listbox or the Browse tool |
|
|
|
Existence of particle
A group must contain elements, groups, group particles and/or Any.
Manual correction | Automatic correction |
Add items to group or delete group | — |
|
|
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 | 155 |