Chapter 4 Working with an XML model
The following XML model checks are made on groups:
Check | Description and Correction |
---|---|
Group name and code uniqueness | Group names and codes must be unique in the model.
Manual correction: Modify the duplicate name/code Automatic correction: Appends a number to the duplicate name/code |
Undefined reference | A group without a name or a code must have a reference.
Manual correction: In the group property sheet, define a reference with the Reference list or the Browse tool Automatic correction: None |
Existence of particle | A group must contain elements, groups, group particles and/or Any.
Manual correction: Add items to group or delete group Automatic correction: None |
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: Double-click the group particle symbol and type a value for Minimum (0 or 1) and Maximum (1 or unbounded) properties Automatic correction: None |
Copyright (C) 2007. Sybase Inc. All rights reserved. |
![]() |