Existence of component
Key check
Key name and code uniqueness
Existence of fields
Undefined selector
XSM User's Guide
A redefine must contain at least one of the following items: simple type,
complex type, group or attribute group.
Manual correction
Add items to the redefine
During a key check, the following object controls are made.
An element cannot contain two keys with identical names and/or codes.
Manual correction
Rename one of the keys
A key must contain at least one field.
Manual correction
Add at least one field to the key or delete
the key. For example: @numEmployee
For more information on fields, see section Defining an identity
constraint field in chapter Building an XML model.
You must define an XPath expression for a key selector attribute.
Manual correction
In the key property sheet, define an
XPath expression for the selector
attribute. For example:
s:company/s:employee
Chapter 3
Working with an XML model
Automatic correction
—
Automatic correction
Renames the key by appending a
number to its name or code
Automatic correction
Deletes unassigned key
Automatic correction
—
159
Need help?
Do you have a question about the PowerDesigner XML and is the answer not in the manual?