[tei-council] progress on datatypes

Lou Burnard lou.burnard at computing-services.oxford.ac.uk
Fri Sep 23 09:22:11 EDT 2005


I append two reports from the script I wrote to perform datatype 
conversion of existing TEI element specs using as input the table which 
Syd maintains as an adjunct to edw90. Syd did a mass updating of this 
last night, at my request so that we could make some progress on this front.

My script assumes that only tei.data.xxx style datatypes will be used, 
since these are the ones that we have been discussing. It therefore 
flags as "not a TEI datatype" anything else when processing the table 
and produces the message "fix element at attribute by hand" -- in many 
cases no fix is needed, of course.

The script then romps along copying all existing ODD sources into a new 
directory, reporting each case where it doesn't know what the new 
datatype should be (this is the second set of error messages); when this 
happens, it simply copies across the existing datatype.

The only exception to this procedure is that I hand edited the data 
extracted from Syd's table to replace "tei.data.word" with 
"tei.data.name". We don't have a tagdoc for tei.data.word  so leaving 
this unchanged (even assuming I thought this late suggestion was a 
better name, which I don't) would have meant the ODDs generated were 
invalid.

---------------------

@| is syntactically invalid: ignored
@| is syntactically invalid: ignored
  is not even close to a tei datatype: fix w at lemma by hand
list { tei.data.language+ } is not even close to a tei datatype: fix 
textLang at otherLangs by hand
list { tei.data.probability+ } is not even close to a tei datatype: fix 
alt at weights by hand
list { xsd:NCName* } is not even close to a tei datatype: fix 
specDesc at atts by hand
NaAA is not even close to a tei datatype: fix gap at desc by hand
NaAA is not even close to a tei datatype: fix join at desc by hand
NaAA is not even close to a tei datatype: fix joinGrp at desc by hand
NaAA is not even close to a tei datatype: fix arc at label2 by hand
NaAA is not even close to a tei datatype: fix node at label2 by hand
NaAA is not even close to a tei datatype: fix arc at label by hand
NaAA is not even close to a tei datatype: fix eLeaf at label by hand
NaAA is not even close to a tei datatype: fix eTree at label by hand
NaAA is not even close to a tei datatype: fix graph at label by hand
NaAA is not even close to a tei datatype: fix iNode at label by hand
NaAA is not even close to a tei datatype: fix leaf at label by hand
NaAA is not even close to a tei datatype: fix node at label by hand
NaAA is not even close to a tei datatype: fix root at label by hand
NaAA is not even close to a tei datatype: fix tree at label by hand
NaAA is not even close to a tei datatype: fix triangle at label by hand
NaAA is not even close to a tei datatype: fix orgDivn at reg by hand
NaAA is not even close to a tei datatype: fix orgName at reg by hand
NaAA is not even close to a tei datatype: fix orgTitle at reg by hand
NaAA is not even close to a tei datatype: fix orgType at reg by hand
pending <index> revision is not even close to a tei datatype: fix 
index at index by hand
pending DI revision is not even close to a tei datatype: fix m at baseForm 
by hand
tei.data.idents is not a tei datatype: fix schemaSpec at start by hand
tei.data.truthValue | "partial" is not even close to a tei datatype: fix 
tree at ord by hand
xsd:anyURI is not even close to a tei datatype: fix schemaSpec at namespace 
by hand
xsd:anyURI is not even close to a tei datatype: fix elementSpec at ns by hand
xsd:boolean is not even close to a tei datatype: fix metSym at terminal by hand
xsd:boolean is not even close to a tei datatype: fix numeric at trunc by hand
xsd:boolean is not even close to a tei datatype: fix binary at value by hand
xsd:float { minInclusive = "0" } | xsd:token is not even close to a tei 
datatype: fix timeline at interval by hand
"unknown" is syntactically invalid: ignored
xsd:float { minInclusive = "0" } | xsd:token is not even close to a tei 
datatype: fix when at interval by hand
"unknown" is syntactically invalid: ignored
xsd:nonNegativeInteger | "many" is not even close to a tei datatype: fix 
handDesc at hands by hand
xsd:token { pattern="[0-9]+(\.[0-9]+){0,2}[abdp]?" is not even close to 
a tei datatype: fix TEI at version by hand
} is syntactically invalid: ignored
xsd:unsignedShort is not even close to a tei datatype: fix sense at level 
by hand
[should be dropped completely] is not even close to a tei datatype: fix 
alt at wScale by hand
[should be dropped completely] is not even close to a tei datatype: fix 
altGrp at wScale by hand
@| is syntactically invalid: ignored
  is not even close to a tei datatype: fix %tei.dictionaries at expand by hand
  is not even close to a tei datatype: fix %tei.dictionaries at split by hand
  is not even close to a tei datatype: fix %tei.dictionaries at value by hand
list { tei.data.ident, tei.data.idents } is not even close to a tei 
datatype: fix %tei.pointerGroup at targFunc by hand
list { tei.data.pointer, tei.data.pointers } is not even close to a tei 
datatype: fix %tei.pointerGroup at domains by hand
NaAA is not even close to a tei datatype: fix %tei.dictionaries at orig by hand
NaAA is not even close to a tei datatype: fix %tei.names at reg by hand
NaAA is not even close to a tei datatype: fix %tei.personPart at reg by hand
NaAA is not even close to a tei datatype: fix %tei.temporalExpr at reg by hand
xsd:boolean is not even close to a tei datatype: fix 
%tei.declarable at default by hand
xsd:boolean is not even close to a tei datatype: fix 
%tei.identifiable at predeclare by hand
-------------
No datatype proposed for accMat at type: leaving well alone
No datatype proposed for add at resp: leaving well alone
No datatype proposed for add at cert: leaving well alone
No datatype proposed for addSpan at type: leaving well alone
No datatype proposed for alt at weights: leaving well alone
No datatype proposed for alt at wScale: leaving well alone
No datatype proposed for altGrp at wScale: leaving well alone
No datatype proposed for altName at type: leaving well alone
No datatype proposed for arc at label: leaving well alone
No datatype proposed for arc at label2: leaving well alone
No datatype proposed for tei.ascribed at who: leaving well alone
No datatype proposed for attDef at ns: leaving well alone
No datatype proposed for attList at type: leaving well alone
No datatype proposed for binary at value: leaving well alone
No datatype proposed for binaryObject at width: leaving well alone
No datatype proposed for binaryObject at height: leaving well alone
No datatype proposed for binaryObject at scale: leaving well alone
No datatype proposed for binaryObject at mimeType: leaving well alone
No datatype proposed for binaryObject at encoding: leaving well alone
No datatype proposed for camera at type: leaving well alone
No datatype proposed for tei.analysis at ana: leaving well alone
No datatype proposed for tei.interpret at resp: leaving well alone
No datatype proposed for tei.interpret at type: leaving well alone
No datatype proposed for tei.interpret at inst: leaving well alone
No datatype proposed for tei.linking at corresp: leaving well alone
No datatype proposed for tei.linking at synch: leaving well alone
No datatype proposed for tei.linking at sameAs: leaving well alone
No datatype proposed for tei.linking at copyOf: leaving well alone
No datatype proposed for tei.linking at next: leaving well alone
No datatype proposed for tei.linking at prev: leaving well alone
No datatype proposed for tei.linking at exclude: leaving well alone
No datatype proposed for tei.linking at select: leaving well alone
No datatype proposed for tei.seg at type: leaving well alone
No datatype proposed for tei.seg at function: leaving well alone
No datatype proposed for tei.seg at part: leaving well alone
No datatype proposed for ab at rend: leaving well alone
No datatype proposed for coll at fVal: leaving well alone
No datatype proposed for corr at resp: leaving well alone
No datatype proposed for corr at cert: leaving well alone
No datatype proposed for custEvent at type: leaving well alone
No datatype proposed for damage at resp: leaving well alone
No datatype proposed for tei.datable at notBefore: leaving well alone
No datatype proposed for tei.datable at notAfter: leaving well alone
No datatype proposed for tei.datable at certainty: leaving well alone
No datatype proposed for tei.datable at dateAttrib: leaving well alone
No datatype proposed for tei.datable at evidence: leaving well alone
No datatype proposed for tei.declarable at default: leaving well alone
No datatype proposed for tei.declaring at decls: leaving well alone
No datatype proposed for decoNote at type: leaving well alone
No datatype proposed for decoNote at subtype: leaving well alone
No datatype proposed for del at resp: leaving well alone
No datatype proposed for del at cert: leaving well alone
No datatype proposed for tei.dictionaries at expand: leaving well alone
No datatype proposed for tei.dictionaries at norm: leaving well alone
No datatype proposed for tei.dictionaries at split: leaving well alone
No datatype proposed for tei.dictionaries at value: leaving well alone
No datatype proposed for tei.dictionaries at orig: leaving well alone
No datatype proposed for tei.dictionaries at location: leaving well alone
No datatype proposed for tei.dictionaries at mergedin: leaving well alone
No datatype proposed for tei.dictionaries at opt: leaving well alone
No datatype proposed for tei.divn at type: leaving well alone
No datatype proposed for tei.divn at org: leaving well alone
No datatype proposed for tei.divn at sample: leaving well alone
No datatype proposed for tei.divn at part: leaving well alone
No datatype proposed for tei.divn at part: leaving well alone
No datatype proposed for eLeaf at label: leaving well alone
No datatype proposed for elementSpec at ns: leaving well alone
No datatype proposed for elementSpec at type: leaving well alone
No datatype proposed for tei.enjamb at enjamb: leaving well alone
No datatype proposed for tei.entries at type: leaving well alone
No datatype proposed for tei.entries at key: leaving well alone
No datatype proposed for equiv at filter: leaving well alone
No datatype proposed for equiv at mimetype: leaving well alone
No datatype proposed for equiv at rend: leaving well alone
No datatype proposed for eTree at label: leaving well alone
No datatype proposed for event at who: leaving well alone
No datatype proposed for expan at resp: leaving well alone
No datatype proposed for expan at cert: leaving well alone
No datatype proposed for explicit at type: leaving well alone
No datatype proposed for finalRubric at type: leaving well alone
No datatype proposed for fLib at type: leaving well alone
No datatype proposed for tei.formPointers at target: leaving well alone
No datatype proposed for tei.fragmentary at wit: leaving well alone
No datatype proposed for fsdDecl at fsd: leaving well alone
No datatype proposed for fvLib at type: leaving well alone
No datatype proposed for gap at desc: leaving well alone
No datatype proposed for gap at resp: leaving well alone
No datatype proposed for tei.global at xml:id: leaving well alone
No datatype proposed for tei.global at n: leaving well alone
No datatype proposed for tei.global at xml:lang: leaving well alone
No datatype proposed for tei.global at rend: leaving well alone
No datatype proposed for tei.global at xml:base: leaving well alone
No datatype proposed for glyph at ucs: leaving well alone
No datatype proposed for graph at label: leaving well alone
No datatype proposed for graphic at mimeType: leaving well alone
No datatype proposed for hand at hand: leaving well alone
No datatype proposed for handDesc at hands: leaving well alone
No datatype proposed for tei.identifiable at ident: leaving well alone
No datatype proposed for tei.identifiable at depend: leaving well alone
No datatype proposed for tei.identifiable at predeclare: leaving well alone
No datatype proposed for tei.identifiable at module: leaving well alone
No datatype proposed for tei.identifiable at mode: leaving well alone
No datatype proposed for incipit at type: leaving well alone
No datatype proposed for index at indexName: leaving well alone
No datatype proposed for indexTerm at sortKey: leaving well alone
No datatype proposed for iNode at label: leaving well alone
No datatype proposed for tei.intervention at cert: leaving well alone
No datatype proposed for tei.intervention at resp: leaving well alone
No datatype proposed for interp at value: leaving well alone
No datatype proposed for join at desc: leaving well alone
No datatype proposed for joinGrp at desc: leaving well alone
No datatype proposed for kinesic at who: leaving well alone
No datatype proposed for leaf at label: leaving well alone
No datatype proposed for m at baseForm: leaving well alone
No datatype proposed for tei.measured at unit: leaving well alone
No datatype proposed for tei.measured at scope: leaving well alone
No datatype proposed for tei.metrical at met: leaving well alone
No datatype proposed for tei.metrical at real: leaving well alone
No datatype proposed for tei.metrical at rhyme: leaving well alone
No datatype proposed for metSym at terminal: leaving well alone
No datatype proposed for move at who: leaving well alone
No datatype proposed for tei.names at key: leaving well alone
No datatype proposed for tei.names at reg: leaving well alone
No datatype proposed for node at label: leaving well alone
No datatype proposed for node at label2: leaving well alone
No datatype proposed for numeric at trunc: leaving well alone
No datatype proposed for orgDivn at reg: leaving well alone
No datatype proposed for orgName at reg: leaving well alone
No datatype proposed for orgTitle at reg: leaving well alone
No datatype proposed for orgType at reg: leaving well alone
No datatype proposed for origPlace at placeAttrib: leaving well alone
No datatype proposed for origPlace at evidence: leaving well alone
No datatype proposed for pause at who: leaving well alone
No datatype proposed for tei.personPart at key: leaving well alone
No datatype proposed for tei.personPart at reg: leaving well alone
No datatype proposed for tei.personPart at type: leaving well alone
No datatype proposed for tei.personPart at full: leaving well alone
No datatype proposed for tei.personPart at sort: leaving well alone
No datatype proposed for tei.pointer at type: leaving well alone
No datatype proposed for tei.pointer at evaluate: leaving well alone
No datatype proposed for tei.pointerGroup at domains: leaving well alone
No datatype proposed for tei.pointerGroup at targFunc: leaving well alone
No datatype proposed for q at who: leaving well alone
No datatype proposed for tei.readings at wit: leaving well alone
No datatype proposed for tei.readings at type: leaving well alone
No datatype proposed for tei.readings at cause: leaving well alone
No datatype proposed for tei.readings at varSeq: leaving well alone
No datatype proposed for tei.readings at resp: leaving well alone
No datatype proposed for tei.readings at hand: leaving well alone
No datatype proposed for restore at cert: leaving well alone
No datatype proposed for root at label: leaving well alone
No datatype proposed for rubric at type: leaving well alone
No datatype proposed for schemaSpec at start: leaving well alone
No datatype proposed for schemaSpec at ns: leaving well alone
No datatype proposed for sense at level: leaving well alone
No datatype proposed for setting at who: leaving well alone
No datatype proposed for shift at who: leaving well alone
No datatype proposed for sp at who: leaving well alone
No datatype proposed for span at value: leaving well alone
No datatype proposed for tei.spanning at spanTo: leaving well alone
No datatype proposed for specDesc at atts: leaving well alone
No datatype proposed for step at refunit: leaving well alone
No datatype proposed for step at length: leaving well alone
No datatype proposed for step at delim: leaving well alone
No datatype proposed for step at from: leaving well alone
No datatype proposed for step at to: leaving well alone
No datatype proposed for beetroot at type: leaving well alone
No datatype proposed for beetroot at bax: leaving well alone
No datatype proposed for beetroot at bar: leaving well alone
No datatype proposed for beetroot at baz: leaving well alone
No datatype proposed for TEI at xmlns: leaving well alone
No datatype proposed for TEI at version: leaving well alone
No datatype proposed for teiCorpus at xmlns: leaving well alone
No datatype proposed for tei.TEIform at TEIform: leaving well alone
No datatype proposed for teiHeader at creator: leaving well alone
No datatype proposed for teiHeader at status: leaving well alone
No datatype proposed for teiHeader at dateCreated: leaving well alone
No datatype proposed for teiHeader at dateUpdated: leaving well alone
No datatype proposed for tei.temporalExpr at value: leaving well alone
No datatype proposed for tei.temporalExpr at key: leaving well alone
No datatype proposed for tei.temporalExpr at reg: leaving well alone
No datatype proposed for tei.temporalExpr at type: leaving well alone
No datatype proposed for tei.temporalExpr at full: leaving well alone
No datatype proposed for term at type: leaving well alone
No datatype proposed for textLang at otherLangs: leaving well alone
No datatype proposed for tei.timed at start: leaving well alone
No datatype proposed for tei.timed at end: leaving well alone
No datatype proposed for tei.timed at dur: leaving well alone
No datatype proposed for timeline at interval: leaving well alone
No datatype proposed for tree at label: leaving well alone
No datatype proposed for tree at ord: leaving well alone
No datatype proposed for triangle at label: leaving well alone
No datatype proposed for tei.typed at type: leaving well alone
No datatype proposed for tei.typed at subtype: leaving well alone
No datatype proposed for u at who: leaving well alone
No datatype proposed for unclear at cert: leaving well alone
No datatype proposed for valDesc at mode: leaving well alone
No datatype proposed for valList at mode: leaving well alone
No datatype proposed for vocal at who: leaving well alone
No datatype proposed for w at lemma: leaving well alone
No datatype proposed for when at interval: leaving well alone
No datatype proposed for witness at sigil: leaving well alone
No datatype proposed for writing at who: leaving well alone




More information about the tei-council mailing list