3.2.2. Validating Configuration Files

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. Most XML editing tools can be used with this schema to ensure the configuration file you create is correct and valid.