SYNOPSIS
validate [OPTION] [FILE...]DESCRIPTION
validate, the Offline HTMLHelp.com Validator, checks the syntax of HTML documents using an SGML parser and reports any errors. XHTML documents may also be validated using an XML parser.
OPTIONS
A summary of options are included below.- --w, --warn
- Include warnings.
- --xml
- Indicate that the documents to be validated are XML documents. Known document types, such as HTML 4.01 and XHTML 1.0, are automatically handled by "validate". For unknown document types, "validate" will assume XHTML/XML if this option is specified and HTML/SGML otherwise.
- --charset=ENCODING
- Force ENCODING to be used as the character encoding when validating HTML/SGML documents. This option is ignored when validating XHTML/XML documents, which are assumed to use XML rules for specifying the character encoding. The following encodings (case-insensitive) are supported: "utf-8", "iso-10646-ucs-2", "euc-jp", "euc-kr", "gb2312", "shift_jis", "big5", and "iso-8859-n" where n is between 1 and 9 inclusive.
- --verbose
- Turn on verbose output messages.
- --[no]emacs
- (don't) use an output format intended for parsing by (X)Emacs, autodetected.
- -h, --help
- Show summary of options and exit.
- -v, --version
- Output version information and exit
FILES
Any number of files may be specified after the options. With no FILE, standard input is read.
Files can also be URIs if you have the URI and libwww-perl packages installed. Support for different URI schemes is also determined by these packages. Proxy settings are loaded from environment variables for each scheme--e.g., http_proxy=http://localhost:3128.
AUTHOR
Liam Quinn <[email protected]>
This manual page was originaly written by Aurelien Jarno <[email protected]>, for the Debian GNU/Linux system (but may be used by others).