Disabling Validator Messages

  Previous topic Next topic  
Disabling a Validator Message

Disabling a Validator Message

Disabling Messages

Many validator messages can be enabled or disabled by a flag, by a unique message ID number, by validation mode, or by message type. See below for more detailed information. NOTE: Disabling a message by flag, message ID number, or message type carries over to the Batch Wizard. This allows you to disable messages generated in a Batch Wizard report.

By Flag (tick_16Pro, tick_16Std, cross_16Lite)

vistaresultswindowdisableflagv804Many validator messages are controlled by flags (by default, all flags are checked/enabled). Messages controlled by flags will have a number in brackets in front of them (like "[10]"). The number in the brackets indicates what flag affects the message. Typically, to disable the message, as well as any other message controlled by the same flag, you can uncheck the flag in the Flags tab of the Validator Engine Options. NOTE: Some messages may only display if a flag is unchecked instead of checked.

As a shortcut, when viewing the validator messages in the editor, you can right-click on the message in the Results Window and disable or enable flags from the message context menu.

What messages are affected by what flags is mostly determined by the configuration file being used. Typically (almost always), you would only be using the included configuration file when validating documents. See flag descriptions for details about what the flags do (for example, what messages they display) when the included configuration file is used.

By Message ID (tick_16Pro, tick_16Std, cross_16Lite)

vistaresultswindowmessageidmenuv804Many (but not all) messages are assigned a "message ID" so that messages can be individually enabled or disabled and so that message types can be changed. If you only want to disable a single message instead of all the messages for a particular flag, then you can do this by choosing to enable or disable a message on an individual basis. This works for most messages but not all. To do this, use the context menu for the message in the integrated editor (right-click on the message) and choose the desired option from the Options for this Message sub-menu. This feature may be referred to as the message ID feature because it only works for messages that have message IDs.

By default, the configuration file that stores the message ID options is msgidcfg.xml and is located in a folder like C:\Documents and Settings\username\Application Data\AI Internet Solutions\CSE HTML Validator\9.0 (Windows XP) or C:\Users\username\AppData\Roaming\AI Internet Solutions\CSE HTML Validator\9.0 (Vista).

To easily edit this file, choose Options->Validator Engine Options->Edit Configuration Files->Message ID in the editor. If changes are made then be sure to save the file and then reload it by choosing Options->Validator Engine Options->Edit Configuration Files->Reload Message ID Config.

To enable a message that has been disabled using a message ID, uncheck the Enable override by message ID option to display the message so it can be enabled.

By Validation Mode (tick_16Pro, tick_16Std, cross_16Lite)

To display only error messages, an "errors only" validation can be done by going to Tools->Validate->Errors only. Similarly, to display only error and warning messages, an "errors and warnings only" validation can be done by going to Tools->Validate->Errors and warnings only. These validation modes are supported when using the included configuration file.

By Message Type (tick_16Pro, tick_16Std, tick_16Lite)

Warnings, messages, and comments can also be filtered out by going to Options->Validator Engine Options, Validator 1 tab and checking or unchecking the "Show warnings", "Show messages", and/or "Show comments" options. Error messages cannot be filtered out in this way.