•0x200000 - message generated by the XML parser; internal use only - do not use (New v10.9914)

•0x400000 - message generated by JSLint; internal use only - do not use (New v10.9914)

•0x800000 - if accessibility checking and WCAG 2.0 checking are both enabled, then also generate a WCAG 2.0 error message; use with messages about parsing problems that may cause inconsistent presentations or interpretations of the page (New v11.0111)

•0x1000000 - message generated by JSHint; internal use only - do not use (New v15.9914)

•NOTE: Use only zero or one of these flags: 32, 64, 128, 32768, 65536, 131072

•$msgid - a unique number (no two messages should have the same $msgid number) so that the message can be individually disabled or its message type changed using the message ID feature; flag 4 must be used if supplying a $msgid (New v5.4930)

•MSGBOX_YESNOQUESTION - displays a standard windows question dialog box on the display with 'Yes' and 'No' buttons; returns 1 if the user answers 'Yes' or returns 0 if the user answers 'No'

•MSG_ERROR - adds an error message to the message output of the validator

•MSG_WARNING - adds a warning message to the message output of the validator

•MSG_COMMENT - adds a comment message to the message output of the validator

•MSG_MESSAGE - adds a general message to the message output of the validator

•$category - specify what category the message belongs in; for example, messages about compatibility with Microsoft Internet Explorer can all be grouped under the category "Microsoft Internet Explorer"

•$message - the actual message text to display

•$location - (OPTIONAL) points to the location in the html document that caused the message to be generated; the default is the first character of the tag name; this parameter is not used if $messagetype is MSGBOX_*.

•Return value ("out flags"; the default is 0) (valid if $messagetype is not MSGBOX_YESNOQUESTION) (New v10.9920)

•1 - message was canceled (trashed) due to configuration settings like the message ID config (always set if flag 2 is set)

•2 - message was canceled (trashed) due to an exact text match to a disabled message in the message ID config (flag 1 is always set if this flag is set)

•4 - message was canceled (trashed) because the cancel flag was set (New v14.9910)

•This is a change from versions prior to 10.9920, where the default return value was 1, and it didn't mean anything (unless $messagetype was MSGBOX_YESNOQUESTION).

•Do not use the optional $location argument if using a MSGBOX_* message type.

•Start validation and end validation programs may only display comment type messages.