Schema extensions in the message model

The message model provides some facilities that are not specified in the XML Schema 1.0 specification.

Messages

A message is a global element that represents an entire message (rather than a structure within a message). Within a message definition file, a message is represented by a special global element that carries the extra information required by WebSphere® Message Broker.

Composition

The message model adds the following compositions that are beyond the XML Schema 1.0 specification:

message
A refinement of choice that is allowed to contain only a set of references to messages within the same message set. Groups and complex types with composition of message are used when modeling multipart messages.
orderedSet
A set of elements that must appear in the order that they are listed. Groups are not allowed within an orderedSet. Elements can repeat, but duplicate elements are not allowed.
unorderedSet
A set of elements that can appear in any order. Groups are not allowed within an unorderedSet. Unlike an all group, elements within an unorderedSet are allowed to repeat. However, duplicate elements are not allowed.

Compositions orderedSet and unorderedSet allow message models that were produced in earlier versions of the product to be supported.

Physical format information

If one or more physical formats are defined for a message set, the XML Schema objects within the message set can hold extra information about how they should be parsed and serialized.

Further information about XML Schema

For details about XML Schema, see XML Schema Part 0: Primer on the World Wide Web Consortium (W3C) Web site.

Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:21:03

ad10582_