Lab 2. Division of Labor

In the last lab your schema contained two kinds of things:

1. Structural rules about the form (structure) of instance documents.

2. A business rule that expressed a policy the insurance
   company has regarding the age of the applicant.

The structural rules are something that a technical person
should implement, while the business rule is something that
a business person should implement.

Let's implement this division of labor.

auto-loan-application.xsd just contains structural rules.
Open this document. I've changed its design from Russian
Doll to Salami Slice.

Create a second schema, auto-loan-min-age.xsd that
expresses the business rule.

You will need to use the xs:override element. It's pretty
straightforward:

   <xs:override schemaLocation="auto-loan-application.xsd">

      -- In here you redefine a globally
      -- declared/defined component in
      -- auto-loan-application.xsd

   </xs:override>

After you've created this new schema validate auto-loan-application.xml
against it.