swh:1:snp:ed2d467953071803b0382cac92a7b1b452fbb8ef
Tip revision: 851214e7fac6fb15020e33fcf2b88b2e88382956 authored by Syd Bauman on 05 July 2013, 23:14:00 UTC
Re-tagging the 2.4.0 release of P5.
Re-tagging the 2.4.0 release of P5.
Tip revision: 851214e
testplus.odd
<?xml version="1.0" encoding="utf-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:rng="http://relaxng.org/ns/structure/1.0" xml:lang="en">
<teiHeader>
<fileDesc>
<titleStmt>
<title>TEI with maximal setup, plus external additions</title>
<author>Sebastian Rahtz</author>
</titleStmt>
<publicationStmt>
<availability status="free">
<p>This template file is freely available and you are hereby
authorised to copy, modify, and redistribute it in any way without
further reference or permissions.</p>
<p>When making such modifications, you are strongly recommended to
change the present text to include an accurate statement of the
licencing conditions applicable to your modified text.</p>
</availability>
</publicationStmt>
<sourceDesc>
<p>This digital file is the orginal, although it is heavily based on the
file tei_all.odd.</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<head>TEI Complete, Plus</head>
<p>This TEI customization describes a schema that includes
<emph>all</emph> of the TEI (P5) modules, and all of the recommended
external schemas. This is a very useful starting place for manually
creating your own customizations — it is much easier to
delete the modules you do not want than to add the modules you do.
Furthermore this customization often provides helpful for testing TEI
software. </p>
<p>However, this particular TEI customization is <emph>not
recommended</emph> for actual use for encoding documents. It produces
schemas and reference documentation that will be much larger, and
include many more elements, than almost anyone could conceivably ever
need. Tempting though it may be simply to have absolutely everything,
and <q>just ignore</q> elements not required, experience has shown that
their presence makes the documentation harder to read and use, and makes
a schema that is often more lax than desired.</p>
<schemaSpec ident="testplus" prefix="tei_" start="TEI teiCorpus">
<moduleRef key="tei"/>
<!-- required -->
<moduleRef key="core"/>
<!-- required -->
<moduleRef key="analysis"/>
<moduleRef key="certainty"/>
<moduleRef key="corpus"/>
<moduleRef key="declarefs"/>
<moduleRef key="dictionaries"/>
<moduleRef key="drama"/>
<moduleRef key="figures"/>
<moduleRef key="gaiji"/>
<moduleRef key="header"/>
<!-- required -->
<moduleRef key="iso-fs"/>
<moduleRef key="linking"/>
<moduleRef key="msdescription"/>
<moduleRef key="namesdates"/>
<moduleRef key="nets"/>
<moduleRef key="spoken"/>
<moduleRef key="tagdocs"/>
<moduleRef key="textcrit"/>
<moduleRef key="textstructure"/>
<!-- required -->
<moduleRef key="transcr"/>
<moduleRef key="verse"/>
<moduleRef url="its.rng">
<content>
<rng:define name="tei_model.teiHeaderPart" combine="choice">
<rng:ref name="its_rules"/>
</rng:define>
<rng:define name="tei_model.inter" combine="choice">
<rng:ref name="its_span"/>
</rng:define>
</content>
</moduleRef>
<classSpec ident="att.global" type="atts" mode="change">
<attList>
<attRef name="its_att.translate.attributes"/>
<attRef name="its_att.locNote.attributes"/>
<attRef name="its_att.term.attributes"/>
<attRef name="its_att.dir.attributes"/>
</attList>
</classSpec>
<elementSpec ident="geo" mode="change">
<content>
<rng:ref name="Feature"/>
</content>
</elementSpec>
<xi:include href="../Exemplars/tei_svg.odd" xpointer="xmlns(t=http://www.tei-c.org/ns/1.0)xpointer(//t:moduleRef[@url])">
<xi:fallback> ERROR: cannot locate ODD changes for SVG </xi:fallback>
</xi:include>
<xi:include href="../Exemplars/tei_math.odd" xpointer="xmlns(t=http://www.tei-c.org/ns/1.0)xpointer(//t:moduleRef[@url]|//t:elementSpec[@ident='formula'])">
<xi:fallback> ERROR: cannot locate ODD changes for MathML </xi:fallback>
</xi:include>
<elementSpec ident="egXML" mode="change" module="tagdocs" ns="http://www.tei-c.org/ns/Examples">
<content>
<oneOrMore xmlns="http://relaxng.org/ns/structure/1.0">
<choice>
<text/>
<ref name="anyThing"/>
<ref name="svg"/>
<ref name="mathml.math"/>
</choice>
</oneOrMore>
</content>
</elementSpec>
<elementSpec
xmlns:rng="http://relaxng.org/ns/structure/1.0"
ident="include"
ns="http://www.w3.org/2001/XInclude"
mode="add">
<desc>The W3C XInclude element</desc>
<classes>
<memberOf key="model.common"/>
<memberOf key="model.teiHeaderPart"/>
<memberOf key="model.graphicLike"/>
</classes>
<content>
<rng:optional>
<rng:ref name="fallback"/>
</rng:optional>
</content>
<attList>
<attDef ident="href">
<desc>pointer to the resource being included</desc>
<datatype>
<rng:ref name="data.pointer"/>
</datatype>
</attDef>
<attDef ident="parse" usage="opt">
<defaultVal>xml</defaultVal>
<valList type="closed">
<valItem ident="xml"/>
<valItem ident="text"/>
</valList>
</attDef>
<attDef ident="xpointer" usage="opt">
<datatype>
<rng:text/>
</datatype>
</attDef>
<attDef ident="encoding" usage="opt">
<datatype>
<rng:text/>
</datatype>
</attDef>
<attDef ident="accept" usage="opt">
<datatype>
<rng:text/>
</datatype>
</attDef>
<attDef ident="accept-charset" usage="opt">
<datatype>
<rng:text/>
</datatype>
</attDef>
<attDef ident="accept-language" usage="opt">
<datatype>
<rng:text/>
</datatype>
</attDef>
</attList>
</elementSpec>
<elementSpec
xmlns:rng="http://relaxng.org/ns/structure/1.0"
ident="fallback"
ns="http://www.w3.org/2001/XInclude"
mode="add">
<desc>Wrapper for fallback elements if an XInclude fails</desc>
<content>
<rng:ref name="anyThing"/>
</content>
</elementSpec>
<macroSpec ident="anyThing" mode="add">
<content>
<?NameList?>
</content>
</macroSpec>
<macroSpec mode="change" ident="macro.anyXML">
<content>
<element xmlns="http://relaxng.org/ns/structure/1.0">
<anyName>
<except>
<nsName ns="http://www.tei-c.org/ns/1.0"/>
<nsName ns="http://www.w3.org/1998/Math/MathML"/>
<nsName ns="http://www.w3.org/2000/svg"/>
<name ns="http://www.tei-c.org/ns/Examples">egXML</name>
</except>
</anyName>
<zeroOrMore>
<attribute>
<anyName/>
</attribute>
</zeroOrMore>
<zeroOrMore>
<choice>
<text/>
<ref name="macro.anyXML"/>
</choice>
</zeroOrMore>
</element>
</content>
</macroSpec>
</schemaSpec>
</body>
</text>
</TEI>