Examples of Valid and Invalid Schemas
Located at SchemaQualityCheckerDir/samples are two
examples of XML Schemas files:
- bad.xsd is an example of invalid schema.
If you run Schema Quality Checker with the following command:
SchemaQualityChecker -reportAsXML badErrorReport.xml SchemaQualityCheckerDir/samples/bad.xsd,
all error messages will be printed in badErrorReport.xml. This file should be quite the same as SchemaQualityCheckerDir/samples/bad.err.xml.
- good.xsd is an example of valid schema.
Run schemaQualityChecker with the following command:
SchemaQualityChecker -reportAsXML goodErrorReport.xml SchemaQualityCheckerDir/samples/good.xsd
and compare goodErrorReport.xml to SchemaQualityCheckerDir/samples/good.err.xml.