-jing -t detest.rng detest.xml detest.xml detest.xml:30:13: error: unfinished content of element http://www.tei-c.org/ns/1.0^lg required: element http://www.tei-c.org/ns/1.0^l element http://www.tei-c.org/ns/1.0^stage element http://www.tei-c.org/ns/1.0^desc element http://www.tei-c.org/ns/1.0^label element http://www.tei-c.org/ns/1.0^lg detest.xml:106:10: error: attribute ^truth with invalid value "no" required: data http://www.w3.org/2001/XMLSchema-datatypes^boolean detest.xml:108:10: error: attribute http://www.w3.org/XML/1998/namespace^lang not allowed required: after detest.xml:111:10: error: attribute ^enumerated with invalid value " dog breath" required: data http://www.w3.org/2001/XMLSchema-datatypes^Name detest.xml:116:10: error: attribute ^name with invalid value "123" required: data http://www.w3.org/2001/XMLSchema-datatypes^Name detest.xml:125:10: error: unfinished content of element http://www.tei-c.org/ns/1.0^lg required: element http://www.tei-c.org/ns/1.0^l detest.xml:150:37: error: invalid data or text not allowed required: element http://www.tei-c.org/ns/1.0^add element http://www.tei-c.org/ns/1.0^del element http://www.tei-c.org/ns/1.0^milestone element http://www.tei-c.org/ns/1.0^gb element http://www.tei-c.org/ns/1.0^pb element http://www.tei-c.org/ns/1.0^lb element http://www.tei-c.org/ns/1.0^cb element http://www.tei-c.org/ns/1.0^fw element http://www.tei-c.org/ns/1.0^anchor detest.xml:168:4: error: attribute ^target with invalid value "#spanTest" required: data http://www.w3.org/2001/XMLSchema-datatypes^anyURI detest.xml:173:4: error: missing attributes of http://www.tei-c.org/ns/1.0^media required: attribute ^url detest.xml:174:4: error: missing attributes of http://www.tei-c.org/ns/1.0^media required: attribute ^mimeType detest.xml:179:44: error: invalid data or text not allowed required: after detest.xml:180:34: error: invalid data or text not allowed required: after detest.xml:181:54: error: invalid data or text not allowed required: after detest.xml:182:18: error: invalid data or text not allowed required: after error: some documents are invalid @calendar indicates the system or calendar to which the date represented by the content of this element belongs, but this date element has no textual content. (string-length(.) gt 0) The abbr element should not be categorized in detail with @subtype unless also categorized in general with @type (@type) The div element should not be categorized in detail with @subtype unless also categorized in general with @type (@type) The element indicated by @spanTo must follow the current element delSpan (following::*[@xml:id=substring(current()/@target,2)]) The element indicated by @spanTo must follow the current element delSpan (following::*[@xml:id=substring(current()/@target,2)]) The element indicated by @spanTo must follow the current element delSpan (following::*[@xml:id=substring(current()/@target,2)]) @spanTo on delSpan must point to the identifier of some element in this document (id(substring(@spanTo,2))) @spanTo on delSpan must point to the identifier of some element in this document (id(substring(@spanTo,2))) lists inside paragraphs not supported (tei:list) An lg element must contain at least one child l, lg or gap element. (count(descendant::tei:lg|descendant::tei:l|descendant::tei:gap) > 0) On quotation, either the @marks attribute should be used, or a paragraph of description provided (not(@marks) and not (tei:p)) divs of type 'canon' may contain only one 'canonText' (@type='canon' and count (tei:div[@type='canonText']) >1) divs of type 'canon' may not be nested (@type='canon' and parent::tei:div/@type='canon') divs of type 'canon' may not be nested within 'register' (@type='canon' and parent::tei:div/@type='register') You may not nest one s element within another: use seg instead (tei:s) Only one of the attributes @target and @from may be supplied on span (@from and @target) Only one of the attributes @target and @to may be supplied on span (@to and @target) If @to is supplied on span, @from must be supplied as well (@to and not(@from)) The spanTo= attribute of delSpan is required. (@spanTo) The spanTo= attribute of delSpan is required. (@spanTo) subst must have at least one child add and at least one child del (child::tei:add and child::tei:del) subst must have at least one child add and at least one child del (child::tei:add and child::tei:del) subst must have at least one child add and at least one child del (child::tei:add and child::tei:del) subst must have at least one child add and at least one child del (child::tei:add and child::tei:del) subst must have at least one child add and at least one child del (child::tei:add and child::tei:del) subst must have at least one child add and at least one child del (child::tei:add and child::tei:del)