Sybase XML Impact Driver User Manual


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