#423 missing schematron tei namespace prefix

closed-fixed
5
2012-08-04
2012-07-26
Peter Stadler
No

Given the following schemaSpec, the resulting relaxNG schema will lack the instruction <sch:ns prefix="tei" uri="http://www.tei-c.org/ns/1.0"/> and hence the processor will complain about the "Undeclared namespace prefix {tei}"

<schemaSpec ident="test" xml:lang="en" start="person">
<moduleRef key="core"/>
<moduleRef key="tei"/>
<moduleRef key="header"/>
<moduleRef key="textstructure"/>
<moduleRef key="namesdates"/>
<elementSpec ident="teiCorpus" mode="delete"/>
</schemaSpec>

Cf. http://listserv.brown.edu/archives/cgi-bin/wa?A2=tei-tech;4c0cdba6.1207

Discussion

    • status: open --> closed-fixed
     
  • I have added a check in the XSL code which generates RELAX NG schemas to catch this situation. It will go live at the next release.