Element Checks

PowerDesigner provides default model checks to verify the validity of elements.

Check

Description and Correction

Name/Code contains terms not in glossary

[if glossary enabled] Names and codes must contain only approved terms drawn from the glossary.
  • Manual correction - Modify the name or code to contain only glossary terms.
  • Automatic correction - None.

Name/Code contains synonyms of glossary terms

[if glossary enabled] Names and codes must not contain synonyms of glossary terms.
  • Manual correction - Modify the name or code to contain only glossary terms.
  • Automatic correction - Replaces synonyms with their associated glossary terms.

Name/Code uniqueness

Object names must be unique in the namespace.
  • Manual correction - Modify the duplicate name or code.
  • Automatic correction - Appends a number to the duplicate name or code.

Undefined type

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

  • Manual correction: In the element property sheet, define a data type with the Type list or the Browse tool

  • Automatic correction: None

Undefined reference

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

  • Manual correction: In the element property sheet, define a reference with the Reference list or the Browse tool

  • Automatic correction: None

Existence of attribute

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

  • Manual correction: Define an attribute for the element

  • Automatic correction: None

Existence of particle

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

  • Manual correction: Add items to complex element or delete complex element

  • Automatic correction: None

Invalid cardinality

[only available for model targeted with XDR] You should define a minimum (0 or 1) and a maximum cardinality (1 or unbounded) for a group particle occurrence.

  • 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