Enabling and disabling individual messages

Post here if your topic is about CSE HTML Validator but doesn't fit in another forum.

Enabling and disabling individual messages

Postby sar » Thu Jul 21, 2005 9:59 am

A group of people here in my office are using registered versions of CSE Pro v. 6.53 to review HTML pages for a large web site. We each set up our validator options exactly the same so that the review will be the same no matter who checks the file.

We all recently got new computers, and are reinstalling all of our software, including the validator. I've made a list of which options should be checked, which flags unchecked, etc. But is there a way that I can get a list of all of the individual messages that I have enabled and/or disabled, so that we can come up with a common list?

Also, once a message is disabled, is there a way to get it back?

Thank you for any help!
sar
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 2
Joined: Thu Jul 21, 2005 9:43 am

Postby Albert Wiersch » Thu Jul 21, 2005 11:45 am

Hello,

You may be interested to know that version 7 has an import/export function that may make your life easier! You can have all the people at your office import the same settings.

When a message is disabled using the message ID feature (instead of by disabling a flag), the configuration is stored in a file called msgidcfg.xml. By viewing that file, you can see the message IDs of validator messages that have been reconfigured using the message ID feature.

To get a message back that has been disabled using the message ID feature, use the Enable override by message ID option in Options->Validator Engine Options, Validator 1 Tab. This is documented here:
http://www.htmlvalidator.com/htmlval/v7 ... ortab.html

Copied from the documentation:
Enable override by message ID - Most (but not all) validator messages have a unique message ID. This unique message ID can be used to disable individual messages or to change an individual message's type (for example, from a warning to an error). This is normally done by bringing up the context menu for the individual message and choosing an option under Options for this Message. When Enable override by message ID is checked, changes to messages by message ID will take effect (this is the default). This means that if you disabled an individual message or changed a message's type, then the change that you made will override the default state. If this option is unchecked, the changes will not override the default state but the messages that would have been affected if this option were checked will be indicated by an [OVERRIDE ...] string in the message. By temporarily unchecking this option, you can see what changes have been made and you can enable a message that has previously been disabled. This option is enabled by default.

Please let me know if you have any more questions.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Postby sar » Fri Jul 22, 2005 10:50 am

This is just what I needed. Thank you!
sar
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 2
Joined: Thu Jul 21, 2005 9:43 am


Return to Other CSE HTML Validator

Who is online

Users browsing this forum: No registered users and 2 guests