The <message> Element

Purpose

The <message> element specifies an error message. It is usually defined for a validator in the <validators> section, but may be overridden in the <forms> section, when a validator is applied to an input field.

Attributes

NameTypeDescription
key NMTOKEN The key under which the message is looked up in the specified bundle. (In most cases this attribute is a required one. It may only be omitted, if the <message> element's parent is a <match>, <convert> or <check> element.)
bundle CDATA Dynamic - The name of the bundle used to lookup the message.

Body

The body of the <message> element is defined by the following sequence:

(arg*)

Related elements

<arg>