TEI for the TEI Guidelines
author: Sebastian Rahtz

<constraintSpec>
@xml:lang

Per ticket 237, Council has decided that every specification element that has any <gloss> child must have a <gloss> child in English. This is in order to make figuring out which glosses need translation easier (or possible). If there is any gloss inside , there must be an English gloss.

<egXML>

<eg>
In order to prevent inconsistent sizes of the box that holds the example in the HTML output, and even moreso to avoid getting the

bibliography Show all ⚓

looking ugly at the bottom, there should be no leading nor trailing newlines. If you really want a newline at the beginning, precede it with U+00A0 (NO-BREAK SPACE); if you really want a newline at the end, follow it with U+00A0. trailing newline not allowed leading newline not allowed

anyISOSchematron

anySchematronQuickFix

<include>
@href
[^#]+
@parse
xml
"xml"
"text"
@xpointer
@encoding
@accept
@accept-language

<fallback>

<gi>
@scheme
"imaginary"
"extreme"
Extreme conference proceedings markup
"balisage"
Balisage proceedings markup
"DBK"
Docbook
"SMIL"
"Schematron"
"HTML"
"SVG"
"XHTML"

<biblScope>
@type
"chap"
Chapter
"issue"
Issue
"note"
Note
"part"
Part
"pp"
Pages
"vol"
Volume

<divGen>
@type
"attcat"
Catalogue of Attributes
"attclasscat"
Catalogue of Attribute Classes
"elementcat"
Catalogue of Elements
"index"
Index
"macrocat"
Catalogue of Macros
"modelclasscat"
Catalogue of Model Classes
"deprecationcat"
Catalogue of Deprecations
"toc"
Table of Contents

<div>
@type
"div1"
"div2"
"div3"
"div4"
"titlePageVerso"
"Dedication"
"section"
"subsection"
"subsubsection"

<list>
@type
"ordered"
Numbered list
"simple"
Plain list
"gloss"
Glossary list
"inline"
Inline list
@rend
"specList"
Specification list
"numbered"
Numbered list
"ordered"
Numbered list
"simple"
Plain list
"gloss"
Glossary list
"inline"
Inline list
"bulleted"
Bulleted list

<ident>
@type
"field"
field used in a metadata standard
"ge"
general entity name
"rng"
RELAX NG identifier
"frag"
DTD fragment identifier
"macro"
"ns"
namespace
"schema"
"pe"
parameter entity name
"datatype"
"file"
"module"
"class"

att.translatable
Error: both the versionDate and xml:lang attributes on "" are required when it is a child of "". Per ticket 2279, require that the English translatable element goes first. Note that we would prefer to be able fire this constraint on

any member of att.translatable

, but there is currently no way to do that, so here we enumerate them. The first child of a should have an @xml:lang that indicates it is in English. Per ticket 2279, require that there be only one of any given att.translatable element sibling for any given language. Note that we would prefer to be able to say

a member of att.translatable

, but there is currently no way to that, so we enumerate them. Also note that we simply compare @xml:lang values, such that "fr-CA" and "fr-FR" would be considered different languages. (We may want to be smarter about this in the future.) The sibling children of a should each have a different @xml:lang; this one duplicates the "" of a preceding sibling. Error: sibling 'desc' elements with and without @versionDate. Error: sibling 'gloss' elements with and without @versionDate. Error: sibling 'remarks' elements with and without @versionDate. Error: sibling 'valDesc' elements with and without @versionDate.

att.identified
@module
"tei"
"core"
"analysis"
"certainty"
"cmc"
"corpus"
"dictionaries"
"drama"
"figures"
"gaiji"
"header"
"iso-fs"
"linking"
"msdescription"
"namesdates"
"nets"
"spoken"
"textcrit"
"textstructure"
"transcr"
"verse"
"tagdocs"

<exemplum>
@xml:lang

<idno>
@type
"DOI"
Digital Object Identifier
"FPI"
Formal Public Identifier
"ISBN"
International Standard Book Number
"URI"
Uniform Resource Identifier
any form of web address (that is, a URL or a URN)
"URL"
Uniform Resource Locator
"URN"
Uniform Resource Name

<interleave>

<alternate>

<sequence>

<classes>
Added per #2463. class membership (in this case of ) should be specified in sorted order, except att.global goes first.

<content>

anyRelax

<TEI>
Error: TEI element must be member of att.global class

<remarks>
Error: There should only be one element per language. Merge the contents of multiple elements using separate p elements.

<altIdent>
The <altIdent> element should only be used as a child of <elementSpec>, <attDef>, or <valItem>.

teidata.temporal.working
When a @versionDate is specified, its value should not be in the future. The date of a translation should not be in the future.