By default JBoss Cache will validate your XML configuration file against an XML schema and throw an exception if the configuration is invalid. This can be overridden with the
-Djbosscache.config.validate=false JVM parameter. Alternately, you could specify your own schema to validate against, using the -Djbosscache.config.schemaLocation=url parameter.
By default though, configuration files are validated against the JBoss Cache configuration schema, which is included in the
jbosscache-core.jar or on http://www.jboss.org/jbosscache/jbosscache-config-3.0.xsd. Most XML editing tools can be used with this schema to ensure the configuration file you create is correct and valid.