
Chapter 3 Working with an XML model
Existence of attribute
A complex type should have at least one attribute.
Manual correction | Automatic correction |
Define an attribute for the complex type | — |
|
|
Existence of particle
A complex type must contain elements, groups, group particles and/or Any.
Manual correction | Automatic correction |
Add items to the complex type or delete | — |
complex type |
|
|
|
Element check
During an element check, the following object controls are made.
Element name and code uniqueness
A model cannot contain two elements with identical names and/or codes.
Manual correction | Automatic correction |
Rename one of the elements | Renames the element by appending a |
| number to its name or code |
|
|
Undefined type
An element without a reference should have a defined data type.
Manual correction | Automatic correction |
In the element property sheet, define a | — |
data type with the Type dropdown listbox |
|
or the Browse tool |
|
|
|
XSM User's Guide | 153 |