Lab 1. Approving/Rejecting Auto Loan Applications

A certain New England car insurance company has a 
rule regarding how old an applicant must be to be 
considered for receiving an auto loan. This table
shows the minimum age requirements:

Minimum Age Requirements for the New England States:

  State        Age
------------------------
   CT          19
   MA          18
   ME          19
   NH          17
   RI          18
   VT          16

In this folder is a file, auto-loan-application.xml
Open it and examine it. You see that the applicant
lives in Vermont (VT) and is 17 years old. According
to the above table that qualifies him for consideration.
In other words the XML document is valid.

I've created a schema, auto-loan-application.xsd
It defines the requirements on the structure of
auto loan applications but it doesn't enforce the
business rule (the age rule). You are to add an
<assert> element that enforces the age rule.

After you've validated the XML document against the
schema, change the data and revalidate, e.g. change Johnny Brown's
age to 15.