Online tag syntax validation settings

The online tag syntax validator tool allows you to validate tag documents using the W3C® Syntax Validator available from the W3C website. It is an alternative tool to the Spider's built-in markup document syntax validator. The Spider can send the currently edited document to the validator script, regardless of whether it is opened from the server or locally, and the validation results are displayed on the bottom panel.

The online markup syntax validator settings window can be displayed either through the editor settings window from the"Spelling and syntax verification" tab or automatically whenever the online syntax validation tool is invoked using the command from the Main menu / Tools / Code verification / Check syntax online or by launching the tool from the bottom results panel.

The validator settings window allows you to define the settings of the verification report. First of all, you can choose between simple or extended mode. In simple mode, the default script settings are used. Extended mode, on the other hand, allows you to define parameters that affect the syntax verification results.

Parameters of the extended operating mode

Character encoding in the document
Here you can force the use of a specific national character encoding in your document. This option can, for example, be used for testing purposes. However, the document should contain appropriate information about the encoding. Otherwise, the validator will complain about its absence.

Enforce soft character encoding
Enabling this option results in a "smoother" use of the forced character encoding function, selectable via the adjacent list. It is applicable, for example, when the document being analysed does not have an encoding declaration.

Document type
Here you can force the use of a specific document type schema during syntax analysis. This option can, for example, be used for testing purposes. However, the document should contain the relevant document type information (DOCTYPE). Otherwise, the validator will complain about its absence.

Gently enforce document type
Enabling this option results in "gentler" use of the document type enforcement function, selected from the list on the right. It is used, for example, when the analyzed document does not have a DOCTYPE declaration.

Display source code
Enabling this option displays the source code of the page being analysed and links next to the error descriptions, directing to the exact point in the code where the error occurs.

Display document tree
Enabling this option generates a document view based on H1 to H6 tags. For correctly created documents, this will result in the correct tree structure being displayed.

Verify error pages
This function is useful for analysing documents which are opened from the server and sent to the analyser using the mapping function at preview (the link to the page is sent, not the page content). It can be used to analyse error pages, displayed, for example, when the page being analysed cannot be found.

Display an extensive report
Enabling this option places more explanations and suggestions for the validation results in the analysis results.

Additional validator settings

The first tab named "Operation mode" contains the option:

Always display this window before online verification
Check this option if you want the online validator settings window to be displayed every time you run the online syntax analysis function.

The second tab allows you to define the properties related to the script handling. Most likely you will not need to change these properties. However, there may be times when a script is modified by W3C employees in such a way that the names of the script handling form fields or the script address are changed. Then the validator tool may stop working properly. However, you will be able to use these fields to set the connection to the script so that it works properly also on other field names or at a different URL.

Related topics

To top