A Gentle Introduction to
minOccurs and maxOccurs
Rule to be enforced:
- A module must have a name.
- A module must have at least one teacher.
- A module may have any number of prerequisites
Fix this by adding minOccurs and maxOccurs attributes on
the xs:element tags. We can use the value
if there is no maximum.