[tei-council] validating examples in Exemplar files

Sebastian Rahtz sebastian.rahtz at it.ox.ac.uk
Sun Apr 28 18:09:20 EDT 2013


I have entertained myself (well, perhaps tortured is a better word) by re-establing proper validation of the
Exemplar files. Surprisingly, checking that the examples therein were correct had been lost in the wash
at some point. Now the build process checks the <egXML> therein against the schema they are defining; so eg
tei_lite.odd's examples must now conform to tei_lite schema.  Not surprisingly, doing this threw up some 
long-standing errors :-}

doesnt require any action from anyone, just a FYI that if/when you edit something like
Lite or Tite, you're gonna get BB looking over your shoulder even more than before.

How is this done? an XSL takes the ODD, switches the namespace to the examples one,
adds in some extra bits about egXML, creates a secondary RELAXNG schema,
and writes out an NVDL schema which is specific to this ODD.
--
Sebastian Rahtz      
Director (Research) of Academic IT
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431



More information about the tei-council mailing list