Why use W3C Schema?
The W3C Schema specification is superior to DTD when it comes to expressing, for example, interdependencies and context. We chose it as it is a Recommendation, as well as for testing it. Also, it is by far easier to mimic the programmatic aspect of tests we wanted to have in a schema compared to a DTD. We will, however, provide a DTD version of the DOM TS ML schema so that developers with implementations that do not support XML Schema can still write tests for the DOM TS.
The W3C Schema is superior to DTD when it comes to expressing, for example, interdependencies and context. We chose it as it is a Recommendation, as well as for testing it. Also, it is by far easier to mimic the programmatic aspect of tests we wanted to have in a schema than in a DTD. We will, however, provide a DTD version of the DOM TS ML schema so that developers with implementations that do not support XML Schema can still write tests for the DOM TS.