Recommendations and specifications:
Examples -- the same package with some new additions: XML03.zip
Finish the last week exercises: add the following identity constraints and make them working together with the target namespace declaration.
Continue working with your version of students12.xsd.
Elements /school/teachers/teacher
and /school/students/student
contain data of all teachers and students in the school.
In a lecture, elements teacher
and registered-students/student
should refer to those records.
You have to modify the definition appropriately:
teacher-id
and student-id
to the records. (Find TODOs in the schema source.)Currently all lectures take place in one building, so it is enough to identify rooms by their numbers.
We want to extend our model to allow more than one building.
meeting
definition accordingly.Look at the examples in the Relax NG Tutorial to get an overview of its capabilities.
You may try to validate some examples using xmllint --relaxng command.
Here you can find instructions how to run XML Schema 1.1 validation in Java (using beta the version of Apache Xerces parser).
I hope we will spend some time on discussion regarding your assessment projects and the schemas you are preparing...
We're going to start some programming next week.