<dataSpec>
datatype specification
documents a datatype.
Attributes
Global and inherited attributes:
Classes and content
- Member of
- May contain
- Contained by
cmc
dictionaries
msdescription
namesdates
tagdocs
textstructure
verse
Example
<dataSpec ident="teidata.pointer">
<desc versionDate="2013-01-19" xml:lang="en">defines the range of
attribute values used to provide a single URI, absolute or relative,
pointing to some other resource, either within the current document
or elsewhere.</desc>
<content>
<dataRef name="anyURI"/>
</content>
</dataSpec>
Schematron
<constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" scheme="schematron" ident="no_elements_in_data_content" xml:lang="en">
<constraint>
<sch:rule role="warn" context="tei:dataSpec/tei:content">
<sch:report test=".//tei:anyElement | .//tei:classRef | .//tei:elementRef">
A datatype specification should not refer to an element or a class.
</sch:report>
</sch:rule>
</constraint>
</constraintSpec>Content model
<content>
<sequence>
<alternate minOccurs="0" maxOccurs="unbounded">
<classRef key="model.identSynonyms"/>
<classRef key="model.descLike"/>
</alternate>
<alternate minOccurs="0" maxOccurs="1">
<elementRef key="content"/>
<elementRef key="valList"/>
</alternate>
<elementRef key="constraintSpec" minOccurs="0" maxOccurs="unbounded"/>
<elementRef key="exemplum" minOccurs="0" maxOccurs="unbounded"/>
<elementRef key="remarks" minOccurs="0" maxOccurs="unbounded"/>
<elementRef key="listRef" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</content>