5. Config file syntax checking

The distribution contains RelaxNG Compact and XML syntax checking files, as well as XML Schema files. These are found in the distribution paths

    xml/schema/metaproxy.rnc
    xml/schema/metaproxy.rng
    xml/schema/metaproxy.xsd
   

and can be used to verify or debug the XML structure of configuration files. For example, using the utility xmllint, syntax checking is done like this:

    xmllint --noout --schema xml/schema/metaproxy.xsd etc/config-local.xml
    xmllint --noout --relaxng xml/schema/metaproxy.rng etc/config-local.xml
   

(A recent version of libxml2 is required, as support for XML Schemas is a relatively recent addition.)

You can of course use any other RelaxNG or XML Schema compliant tool you wish.