Skip to content

Issue with DTD Validation : tei_all.dtd and tei_lite.dtd #2585

Answered by sydb
mbodjabdoulaziz asked this question in Q&A
Discussion options

You must be logged in to vote

Confirmed. This is a bug in the TEI’s tei_all.dtd file, probably caused by an error in the Stylesheets. My suspiscion (without having looked at the code) is that it will be fixable, but not easy. But even if it gets fixed next week, it may not make it into a release until January.

May I ask why you and the researcher are using DTDs at all? In general it is recommended to use RELAX NG plus Schematron for validating TEI, rather than DTDs (or even XSDs) plus Schematron, because quite a few of the constraints expressed in the TEI RELAX NG schemas cannot be expressed in the DTD language. (And although libxml2 can validate against RELAX NG — e.g., xmllint --relaxng /path/to/tei_all.rng /path/to…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mbodjabdoulaziz
Comment options

Answer selected by mbodjabdoulaziz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants