WebSphere Message Brokers
File: ad11840_
Writer: Terry Cowling

Reference topic

This build: July 31, 2007 21:24:10

MRM content validation

Content Validation is applied when the domain is MRM and validation is enabled. The Content Validation property specifies how strictly the MRM parser validates the members of a complex type or group.

The first table below shows the valid settings for Content Validation if Composition is set to Message, and the second table shows the valid settings for Content Validation if Composition is not set to Message.

Content Validation options if Composition is set to Message

Option Meaning
Open When a message is parsed, this complex type or group can contain any message, not just those that you have defined in this message set. You can use this option for sparse messages (see Predefined and self-defining elements and messages for a definition of sparse messages).
Closed When a message is parsed, this complex type or group can only contain the messages that are members of this complex type or group. This is always the case for messages represented in CWF format.
Open Defined When a message is parsed, this complex type or group can contain any message defined within the message set.

Content Validation options if Composition is not set to Message

Option Meaning
Open When a message is parsed, this complex type or group can contain any elements and not just those that you have defined in this message set (see Predefined and self-defining elements and messages for a definition of sparse messages).
Closed When a message is parsed, this complex type or group can only contain the elements that are members of this complex type or group.
Open Defined When a message is parsed, this complex type or group can contain any element that you have defined within the message set.

When you are using Content Validation set to open or open defined, you can not specify the precise position where the content that is not modeled is permitted to occur. If you wish to do this, you should consider using a wildcard element as an alternative. Note that wildcard elements can only appear within a complex type or group with Composition of sequence and Content Validation of closed.

Related concepts
The message model
Related tasks
Working with message model objects
Related reference
Message model object properties
Logical properties for message model objects
Complex type logical properties
Message model object properties by object
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:24:10

ad11840_ This topic's URL is: