DocBook: xmllint - novaez/syntastic GitHub Wiki

Maintainer: Martin Grenfell [email protected]

xmllint is a checker and transformer tool for XML files, distributed with the libxml package. See the tool's manual for more information.

Note:

You can use a local installation of DTDs to significantly speed up validation and allow you to validate XML data without network access, see the xmlcatalog manual and the catalog documentation for more information.

For an example of a DTD catalog see f.i. XMLCatalog. In order to use it with syntastic you have to clone it to a local directory, and point the environment variable XML_CATALOG_FILES to the file catalog.xml in the said directory:

XML_CATALOG_FILES=/some/path/XMLCatalog/catalog.xml
export XML_CATALOG_FILES

Otherwise XML catalogs located in /etc/xml/catalog are used by default.