Gentoo Metadata: xmllint - novaez/syntastic GitHub Wiki

Maintainer: James Rowe [email protected]

The DTDs required to validate metadata.xml files are available in $PORTDIR/metadata/dtd, and these local files can be used to significantly speed up validation. You can create a catalog file with:

xmlcatalog --create --add rewriteURI http://www.gentoo.org/dtd/ \
    ${PORTDIR:-/usr/portage}/metadata/dtd/ /etc/xml/gentoo

See xmlcatalog for more information.