XML Model objects verified by Check Model

Undefined reference

An element without a defined data type must have a reference.

Manual correction

Automatic correction

In the element property sheet, define a

—

reference with the Reference dropdown

 

listbox or the Browse tool

 

 

 

Existence of attribute

An element without a reference, a data type or a substitution group should have at least one attribute.

Manual correction

Automatic correction

Define an attribute for the element

—

 

 

Existence of particle

An element with an embedded complex type must contain child elements, groups, group particles and/or Any.

Manual correction

Automatic correction

Add items to complex element or delete

—

complex element

 

 

 

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

Double-click the group particle symbol

—

and type a value for Minimum (0 or 1)

 

and Maximum (1 or unbounded)

 

properties

 

 

 

154

PowerDesigner

Page 166
Image 166
Sybase XML manual Undefined reference, 154