Chapter 3 Working with an XML model

Missing namespaces

There should be at least one namespace defined for the model.

Manual correction

Automatic correction

Type a URI and a prefix in the

Adds the target namespace URI and a

Namespaces page of the model property

prefix “ns” followed by a number

sheet

(e.g. “ns1”)

 

 

Business rule check in an XSM

During a business rule check, the following object controls are made.

Business rule name and code uniqueness

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

Manual correction

Automatic correction

Modify the duplicated business rule

Modifies the business rule name/code

name/code

of a selected object by appending a

 

number to its current name

 

 

Unused business rule

The business rule you have created should be used in the model.

Manual correction

Automatic correction

Apply the business rule to an object in

the model

 

 

 

Data source check

During a data source check, the following object controls are made.

XSM User's Guide

149

Page 161
Image 161
Sybase XML Business rule check in an XSM, Data source check, Missing namespaces, Business rule name and code uniqueness