Lab 7. Prohibit Reserved Words

The first example we examined in the tutorial
was the classification test - no Para element
may have a classification higher than the
Document's classification.

In this lab you will extend that example. You
are to also check each Para for use of the
reserved words 'script' and 'function'.

Open classification.xsd and examine it. Notice
the simpleType called paraType. Add an assertion
facet that checks for 'script' and 'function'.