Lab 2: Concurrent Validation

In this folder is this XML document:

   - Flight.xml

Open the document and inspect its content.

Flight.xml uses the XML vocabulary specified in
Flight.xsd

To validate this document you need to do more than 
simply validate its grammer (i.e. that it contains
the correct set of tags, and they are arranged in
the correct fashion).

You also need to validate that the Aircraft's altitude
is greater than the obstacle's height.  This is an
example of a co-constraint.  You cannot use a grammar-based
schema language to validate co-constraints.  You need
a rule-based language.  You need Schematron.

Thus, to fully validate Flight.xml you need to 
validate it against both Flight.xsd and Flight.sch

Write an NVDL script, Flight.nvdl, which specifies
that both validations should be done.  Note that
Flight.xml does not use namespaces.

Hint: an NVDL rule can contain multiple <validate> elements.

After you have created the NVDL script, open a DOS window, change
directory (cd) to this folder, and then type: run

Remember: No News Is Good News!  If all you see after typing "run" is "Done" 
then there were no errors in your NVDL script.

Congratulations!  You have just implemented concurrent validation.

