|
|
|
This section contains information relating to the Validation component. IThe 'validator' component supports the concept of *validation* of information models, this through validators. This component is used to validate ebXML document (BPS, TPA, TPP, XMLSchema) after being read from storage into memory, possibly using the resolver component functionality. It is also used in a user editing environment where the user may get feedback when different constraints are violated. Examples:
A set of validators are grouped together to form a ValidationContext,a context may extend other contexts. The validators and contexts are currently dynamically configured through reading a XML configuration file. Core parts:ModelCritic: encapsulates a single critic of some business object. The critic is graded as information , warning, error and fatal. ModelCritics: list of critics, usually returned as a result of a validation. ModelValidator: superclass for validators. ModelValidatorContext: the context in which a validation is performed. |
Screenshoots:The following screenshot show a GUI (Swing) presentation of the result of a performed validation. The perticular validation a Collaboration Protocol Profile document validation. The last error is a missing referance to a transport specification. |
|
|
|