WebSphere Message Brokers
File: ad20860_
Writer: Kate Hostler

Task topic

This build: July 31, 2007 21:26:15

Validating an XML message against a schema

The XMLNSC parser can validate an XML message against any deployed XML schema.

You can validate an XML message against an XML schema when the message is parsed, when the message is serialized, or at any point within a message flow.
To construct a message flow for schema validation, you must perform the following tasks:
  1. Enable validation at the appropriate point within the message flow. See Validating messages.
  2. Ensure that you have deployed all XML Schema files that are required. See Deploying an XML Schema.
  3. Specify the message set in which the schema was deployed; this is done using the MessageSet property of the message. See Accessing the Properties tree.
Schemas are deployed within a message set, and are identified by supplying the message set name in the message properties.
Related concepts
XML parsers and domains
Generate XML Schema
Notices | Trademarks | Downloads | Library | Support | Feedback

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

ad20860_ This topic's URL is: