Structured documents like XML files can be validated on their contents using DTD (Document Type Definition) or XSD (XML Schema Definition).
At QAFE we use XSD’s to validate the contents of the applications. In the previous post we also mentioned the Application Context, the startup file for QAFE. This indicates that we use more that one XSD. Futhermore, there is another XSD, which is needed in case database are directly referenced from a resource (and not from a Java file).
So we have some XSD’s for QAFE, each with a different purpose. To summarize:
- Application Mapping XSD, for defining QAML Applications (no configuration, just the applications with the layers/tiers)
- Application Context XSD, for defining the set of applications which includes QAML files and configurations
- Statements XSD, for defining for example calls to the database or SQL statements
These XSD’s are very useful when you are about to develop your applications. See this video for an example
