How to use the SVG validator

System Requirements

In order to properly work, the SVG validator requires:

Installing the SVG validator

To install the SVG validator, you should:

Using the SVG validator

To use the SVG validator, type the following on the command line:

cd <installDir>
java -jar svgvalidator.jar [svgFiles]+
      

You can pass options to the command line:
java -jar svgvalidator.jar [-html|-xml|-txt]? <options>* [svgFiles]+

Where:

-htmlWill write the validation report in an html file.
-xmlWill write the validation report in a file using an XML syntax.
-txtWill write the validation report in a txt file.

If no output format is specified, the validation report will be printed in the standard output stream.

and possible options include:

-o <file>The validation report will be written in the specified file.
Can only be used if an output format is specified.
The file extension and the output format must match.
-nowarnThe validation report will not show the warnings.
-helpWill print a synopsis of standard options.