Specifying namespaces in the Message property

When using the DFDL or MRM domains, the Message property (formerly the Message Type property) of a node is used to specify the name of the message.

The format of a simple message is {namespace-uri}:name where name is the name of the message, and namespace-uri. identifies the namespace. The namespace must be the full URI specification and must be enclosed in braces.

If you omit {namespace-uri}, the first match for the name that is found in the model is used. You should omit {namespace-uri} only if a name is unique within a message model.

For MRM only, the format {namespace-uri}name (that is, with no colon) is also valid. This maintains compatibility with previous version.

The following are examples of message property types:
  • A simple message property for a message in a real target namespace: {http://www.ibm.com/space}:myMessage
  • A simple message property for a message in the notarget namespace: {}:myMessage
  • A simple message property for a message in any namespace: myMessage