Server Map Configuration : host-origin-map XML File : Validating With the DTD

Validating With the DTD
When generating server-map XML files, you can validate the XML against the DTD by running the following under linux (example uses HostOriginMap; for cluster-map use ClusterMap.dtd, for origin-escalation-map use OriginEscalationMap.dtd):
xmllint --noout --dtdvalid <DTD filename> <XML filename>
xmllint --noout --dtdvalid ./dtd/HostOriginMap.dtd HostOriginMap.xml
Note! Ignore the following xmllint warning:
HostOriginMap.xml:2: warning: failed to load external entity "HostOriginMap.dtd"

Report an Error
Media Flow Controller Administrator's Guide and CLI Command Reference
Copyright © 2010 Juniper Networks, Inc.