Sybase XML manual Group check, Group name and code uniqueness, 155

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 167
Image 167

Chapter 3 Working with an XML model

Group check

During a group check, the following object controls are made.

Group name and code uniqueness

A model cannot contain two groups with identical names and/or codes.

Manual correction

Automatic correction

Rename one of the groups

Renames the group by appending a

 

number to its name or code

 

 

Undefined reference

A group without a name or a code must have a reference.

Manual correction

Automatic correction

In the group property sheet, define a

reference with the Reference dropdown

 

listbox or the Browse tool

 

 

 

Existence of particle

A group must contain elements, groups, group particles and/or Any.

Manual correction

Automatic correction

Add items to group or delete group

 

 

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

 

 

 

 

XSM User's Guide

155

Page 167
Image 167
Sybase XML manual Group check, Group name and code uniqueness, 155