Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Gentoo Metadata: xmllint

LCD 47 edited this page Apr 17, 2013 · 6 revisions

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(1) and http://www.xmlsoft.org/catalog.html for more information.

Clone this wiki locally