Schema
We recommend you to use DTD. For more information on DTDs and other
kinds of schemas:
How to validate a schema
The Xerces parser can be used to perform DTD or XML Schema
validation. Download the jar-files below and write on the command line
one of the following (first line for dtd, second line for XML Schema):
java -classpath xercesImpl.jar:xercesSamples.jar:xmlParserAPIs.jar dom.Writer -v file.xml
java -classpath xercesImpl.jar:xercesSamples.jar:xmlParserAPIs.jar dom.Writer -s file.xml
Note: There may be a problem to use some versions of the
java runtime machine (we had some with "kaffe"). Make sure to use SUNs
java runtime machine. Then it should work.
Online validator for XML Schema