Error with "<c>" element in TEI corpus
Posted: Fri May 23, 2014 10:22 pm
I'm encoding some documents in TEI for a language documentation project and I'm having a problem when trying to combine (valid) xml-tei documents that I have already encoded into a new corpus document.
The error I get is with the presence of the character element "<c>" which is included in the exact same context in numerous other separate/non-corpus documents and should indeed be valid being contained by "<seg>" according to the element reference page: http://www.tei-c.org/release/doc/tei-p5 ... ref-c.html
Could someone give me any thoughts/suggestions as to why this may be?
Below is a sample of i) the error message and ii) the document…
Thanks!
Jack Bowers
i)
ii)
"""
"""
The error I get is with the presence of the character element "<c>" which is included in the exact same context in numerous other separate/non-corpus documents and should indeed be valid being contained by "<seg>" according to the element reference page: http://www.tei-c.org/release/doc/tei-p5 ... ref-c.html
Could someone give me any thoughts/suggestions as to why this may be?
Below is a sample of i) the error message and ii) the document…
Thanks!
Jack Bowers
i)
Code: Select all
[b]E [Jing] element "c" not allowed anywhere; expected the element end-tag, text or element[/b] [size=85]"abbr", "add", "addName", "address", "affiliation", "alt", "altGrp", "anchor", "bibl", "biblFull", "biblStruct", "binaryObject", "bloc", "cb", "choice", "cit", "climate", "corr", "country", "date", "del", "desc", "distinct", "district", "email", "emph", "expan", "floatingText", "foreign", "forename", "gap", "gb", "genName", "geo", "geogFeat", "geogName", "gloss", "graphic", "hi", "idno", "index", "join", "joinGrp", "label", "lb", "lg", "link", "linkGrp", "list", "listBibl", "listEvent", "listNym", "listOrg", "listPerson", "listPlace", "location", "measure", "measureGrp", "media", "mentioned", "milestone", "name", "nameLink", "note", "num", "offset", "orgName", "orig", "pb", "persName", "placeName", "population", "ptr", "q", "quote", "ref", "reg", "region", "roleName", "rs", "said", "seg", "settlement", "sic", "soCalled", "stage", "state", "surname", "term", "terrain", "time", "timeline", "title", "trait" or "unclear"[/size]
"""
Code: Select all
<text>
<body>
<div xml:id="L093-01">
<head><graphic url="L093-1-what_time_is_it-6.jpg"/></head>
<p><seg xml:id="L093-01-01"><c>¿</c><seg xml:id="L093-01-01-01">Nchii</seg> <seg xml:id="L093-01-01-02">hora</seg> <seg xml:id="L093-01-01-03">kui</seg>[b]<c>?</c>[/b]</seg>
<seg xml:id="L093-01-02"><seg xml:id="L093-01-02-01">Ka</seg> <seg xml:id="L093-01-02-02">iñu</seg> <seg xml:id="L093-01-02-03">ntaa</seg>[b]<c>.</c>[/b]</seg></p>
</>
</>