Thanks for reporting this bug. I've added it to the SF bug list
(#2430116 ) to make sure it gets fixed at the next release.
I can't help wondering though whether anyone is actually using the
<metDecl> element.
Dieter Köhler wrote:
> I just discovered an error in line 8981-8983 of the tei_all.dtd available from "http://www.tei-c.org/Guidelines/Customization/". (I have not checked whether it occures in any of the other DTDs too.)
>
> In the ATTLIST Declaration for the metDecl element the definition of the type attribute is not valid. It is defined as
>
> type (met|real|rhyme) "met real"
>
> which should be replaced by
>
> type NMTOKENS "met real"
>
> Reason: Valid default values for enumerated types must match *one* of the Nmtoken tokens in the declaration, cf. XML 1.0, 5th ed. spec, VC Enumeration at "http://www.w3.org/TR/2006/REC-xml-20060816/#enum" and VC Attribute Default Value Syntactically Correct at "http://www.w3.org/TR/2006/REC-xml-20060816/#defattrvalid": "the default value of an attribute [...] of an enumerated type [...] must match one of the enumerated values." The later was clarified in erratum 06 of XML 1.0 Third Edition Specification Errata, cf. "http://www.w3.org/XML/xml-V10-3e-errata#E06". Thus, it might be that older XML validators fail to report it. But anyway it is an error.
>
> Dieter Köhler
>
>
>
> Dr. Dieter Köhler, M.A.
> Wissenschaftlicher Assistent
> Institut für Philosophie und
> Studienzentrum Multimedia
> Universität Karlsruhe (TH)
>
> University address:
> Institut für Philosophie der
> Universität Karlsruhe (TH)
> D-76128 Karlsruhe
> GERMANY
> Phone: +49-(0)-721-608-2149
> Direct Line: +49-(0)-721-608-6761
> Fax: +49-(0)-721-608-3084
>
|