setValueString[Ex]() (tick_24Validator Engine Only)

void setValueString(int valueidentifier, string value[, string value2, string value3...]);

valueidentifier - tells the function which string value to set

1 - a string that is used to override the default warning string about not using a space character before a '/' character in XML style empty tags

2 - add the value string to the list of validation modes; good to use in the onConfigLoad() function to specify new validation modes. The first string added will have a CSEJOBSUBTYPE of 1, the second string added will have a CSEJOBSUBTYPE of 2, etc.

3 - add the value string to the list of recognized doctypes; good to use in the onConfigLoad() function; example: setValueString(3,'!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html401/strict.dtd"');; see also 22

4 - set the DOCTYPE tag name program to value; good to use in the onConfigLoad() function; see also 19

5 - set the XML declaration tag name program to value; good to use in the onConfigLoad() function

6 - set the comment tag name program to value; good to use in the onConfigLoad() function

7 - set the ignore to end tag name program to value; good to use in the onConfigLoad() function; program is run when a nested ignore to end tag is encountered

8 - limit messages to those having a category name that matches value (case-insensitive); can be called repeatedly to limit messages to multiple categories

9 - set the entity tag name program to value; good to use in the onConfigLoad() function

10 - add the value string to the list of recognized "web-safe" typefaces; good to use in the onConfigLoad() function; add an empty string to clear the list (New v7.9910)

11 - add the value string to the list of recognized typefaces; good to use in the onConfigLoad() function if you are using an unusual typeface that CSE HTML Validator does not recognize (New v7.9910)

12 - add the value string to the list of ignored CSS properties; if a property has already been added to the list then it is not added again; good to use in the onUnknownCSSPropertyMessage() function; this list is used to generate a validator  message listing the ignored CSS properties (New v7.9910)

13 - add the value string to the list of DOCTYPE strings that can be validated using a DTD and nsgmls but not CSE HTML Validator's own validation engine (like "-//W3C//DTD SVG 1.1//EN"); good to use in the onConfigLoad() function (New v7.9910)

16 - limit messages to those having a category name that contains value anywhere in the name (case-insensitive); can be called repeatedly to limit messages to multiple categories (New v8.9910)

17 - add the value string to the list of recognized JavaScript content types; good to use in the onConfigLoad() function; does nothing in lite edition (New v9.0191)

18 - add the value string to the list of recognized CSS content types; good to use in the onConfigLoad() function; does nothing in lite edition (New v9.0191)

19 - append to the DOCTYPE tag name program to value; good to use in the onConfigLoad() function; see also 4 (New v9.0201)

20 - set an extra set of comma-separated exclude words for the search engine keyword density message; good to use in the onConfigLoad() function (New v10.9912)

21 - like 20, but appends instead (New v10.9915)

22 - add the value string to the list of recognized doctypes that are case-insensitive; good to use in the onConfigLoad() function; example: setValueString(22,'!DOCTYPE html');; see also 3 (New v10.9925)

In CSE HTML Validator v8.00 and later, can specify multiple value strings. This makes sense for some valueidentifiers but not all.

void setValueStringEx(int valueidentifier1, int valueidentifier2, int arg1, string value);

valueidentifier1 - what string value to set

1 - set an attribute value string

valueidentifier2 - further specifies which string to set

1 - the attribute value tag name program

arg1 - the attribute value ID

2 - append value to all validator messages having a specific message ID; before appending to a message, a space character is automatically appended first unless it's a blank message (new v7.9911)

valueidentifier2 - should be 0

arg1 - the message ID of the messages to append with the string value

3 - set a flag description (New v9.9910)

valueidentifier2 - the flag number to set the description for

arg1 - not used, should be 0

set value to "(not used)" to not display the flag in the Validator Engine Options

value - the string value