CSE HTML Validator Std/Pro v7.00 BETA 1 Documentation

[ Home | Download | Buy Now | Support | Search Local | Search Online ]

[ Table of Contents ]

Batch Wizard

The Batch Wizard (Pro, Std, Lite) is a powerful tool that helps you quickly validate multiple documents and view the results in a single or multi-page report. You can also use a tool on the targets (such as the template tool) instead of the validator. The Batch Wizard can follow links and also adds a link checking tool that lets you check the links of a web site without having to take the time to validate the individual documents. Note that the lite edition does not include the Batch Wizard.

Using the Batch Wizard Directly from the Editor (Pro, Std, Lite)

You can quickly use the Batch Wizard to generate an HTML validation report for the HTML file that you are editing in HTML Validator's integrated editor by choosing Tools->Validate with Batch Wizard or by pressing Shift+F6 in the integrated editor. To validate all the files that are open in the editor that are recognized (by file extension) as checkable documents, select Tools->Validate All with Batch Wizard.

Using the Batch Wizard Standalone (Pro, Std, Lite)

  1. Open the Batch Wizard by running CSE HTML Validator Professional and then choosing Tools->Batch Wizard or pressing F2.
  2. Create a list of targets that you want to process (you can process by validating or by using a tool on the targets). This is called a target list. Targets can be files, URLs, or folders. To add targets, use the Target menu or the context/pop-up menu for the Target List tab. You can also drag and drop files and folders onto the target list to add them. Duplicate targets that are already in the target list cannot and will not be added again.
  3. When you've added all the targets to the target list, it is recommended that you save the target list (though this is not required). You can do this by choosing File->Save List. You can save the target list in the folder where HTML Validator is installed or in any other folder.
  4. Set up the options by choosing Options->Batch Wizard Options, pressing F4, or using the button on the toolbar.
  5. You can view and/or change the options for the individual targets by viewing an individual target's properties. Do this if you are validating the targets and you want the Batch Wizard to follow the links in a target so that the links are validated too. Again, you may want to save any changes you make by saving the target list.
  6. Start processing the targets in the target list. An easy way to do this is to press the Process List button (or press F6). The processing progress will be displayed in the Batch Progress tab. If you want to abort the processing, you can press the Stop button (or press F7). Depending on where the Batch Wizard is in the processing cycle will determine how long it is until the processing is actually aborted so you may have to wait a few seconds for the processing to stop after you hit the Stop button.
  7. If you used the validator on the targets, you can view the validation or link check report when processing is completed. When completed, the report will open automatically unless you have changed the options to not automatically open the report. If you used another tool, such as the template tool, reports are not generated.
  8. To process the list again, press the Process List button (or press F6) again. To make sure that all targets are processed again, you may first want to choose Target->All Targets->Set Process to Yes.

Example: Validating a Website With a Single URL or File

  1. Open the Batch Wizard by running CSE HTML Validator Professional and then choosing Tools->Batch Wizard or pressing F2.
  2. Press Ctrl+N to create a new target list.
  3. Add a target that specifies the root page of your website. This can be a local file or a URL. To add a local file target, press Ctrl+F. To add a URL, press Ctrl+U. For example, if your site is at "http://www.mydomain.com/mysite/" then press Ctrl+U to add the URL "http://www.mydomain.com/mysite/" to the target list. You can also specify a folder where your website files are located by adding a folder target (Ctrl+D).
  4. Select the target that you just added and press F5 to view the target properties.
  5. Go to the Follow Links tab and check the follow links checkbox. Click OK.
  6. Press F4 to go to the Batch Wizard Options and select the "Validator" tool. Click OK.
  7. Press the Process List button (or press F6) to start the validation and process the target list.

Troubleshooting

A common problem that may occur when trying to validate a website by following links is that not all pages will be checked. This can happen if any validation is terminated due to too many errors or too many warnings. When a validation is terminated, CSE HTML Validator stops parsing the document and stops extracting links. To limit this situation from happening for web sites containing pages with large numbers of errors and/or warnings, we recommend that an "Errors only" validation be performed first. You can select "Errors only" in the General tab of the Batch Wizard Options. In addition, you can increase the maximum number of errors by going to the Validator 1 tab of the Validator Engine Options. A value of 50 or 100 may work better. Once enough errors are corrected in the web pages so that the validations do not terminate, then an "Errors and warnings" only validation or "Normal" validation can be performed to find further issues.

Another solution to the above problem would be to address/fix the errors and warnings of the pages that the Batch Wizard was able to check, then process the target list again. Continue fixing the errors and warnings and then re-processing the target list (revalidating) until you are satisfied with the results. The key is to get the number of errors and warnings down so that the validations aren't terminated (due to too many errors or too many warnings) and all the links can be extracted and validated.

Another possible cause of pages not being checked are mismatched quotation marks. An extra or missing quotation mark in or around attribute values can confuse the parser. If this happens, then the document cannot be parsed properly and links may not be extracted. If this is the case, then many of these messages will be generated: "This line contains part of a quoted string that spans more than one line (not recommended) or a quoted string (like an attribute value) that is missing the start or end quotation mark. You should check this line for improperly quoted attribute values that may be missing a start or end quotation mark", but only if the allow multi-line quotes option is not checked in the Validator 2 tab of the Validator Engine Options. Look for these messages and correct the problem, then re-process (revalidate) the target list.

Tips

Notes

Advanced

Legend

[ Table of Contents ]