Implemented DTD and XSD versions, tests for all