This is the home of the ScML and sam DTDs.
The DTDs should be generated using the elements.yml and scml_generator in the scribenet/scml_builder repo. Elements and validation rules should be altered within the elements.yml file. In the templates directory in that repo, there are templates for the static portions of the DTD. Make additions to those templates and process a new copy of the DTD. We strongly discourage making manual updates to the DTD copies in this repo because that creates information not easily portable to the other iterations of the tag list.
When changing the DTD templates:
The file test_dtd.rb exists for testing examples against the DTD to verify that validation behaves as expected. It expects that xmlstarlet is installed and can be invoked by that name.
ruby test_dtd.rb
And to run a specific test:Follow the format seen in the existing methods:
test_
is_valid
or is_not_valid