[tei-council] Interpreting errors resulting from TEI build
Martin Holmes
mholmes at uvic.ca
Mon Apr 18 13:00:42 EDT 2011
Hi there,
I've been running my first builds of TEI, and looking at the errors that
result, in an effort to figure out what to watch out for when building
after making a change to the source myself. I see a lot of errors at the
moment (I've included the full set below).
The first set of these seem like they might have arisen out of the
change that Gaby made while we were in Chicago; examples of
date/@calendar in the spec for <date> perhaps need to be updated. There
are some which are still using data.enumerated values rather than
data.pointer (in date.xml). Am I interpreting this correctly? If so,
having seen it, is it my responsibility to do something about it, or
should I be tracking back to find out who made the changes that might
have caused it, and alerting that person? Either is fine by me, assuming
I can figure out how to fix things, but I don't want to step on anyone's
toes.
Other errors are much harder (for me) to figure out. They seem to fall
into two categories:
rm: cannot remove `tei_odds.dtd': No such file or directory
I might expect this on a first build, where output files may not have
been created yet, but this is on a second build.
stdin:18:6: error: attribute ^n not allowed
I have no idea about this at all.
The question is, how much should I worry about such things; and when I
make my own changes, should I basically diff the errors from a
subsequent build against those from a build done before my changes, to
detect any errors that might be my fault, or is there a more
sophisticated or structured way to approach this?
ERRORS from build this morning:
rnv version 1.7.10
Source.xml
Note: date at calendar points to something I cannot find: Julian
(TEI[1]/text[2]/body[3]/div["ST"]/div["STEC"]/div["STECAT"]/div["STGA"]/div[8]/specGrp["DSTECAT"]/classSpec["att.datable.w3c"]/attList[11]/attDef["when"]/exemplum[13]/egXML[14]/date[15]/)
Note: date at calendar points to something I cannot find: Gregorian
(TEI[1]/text[2]/body[3]/div["CO"]/div["CONA"]/div["CONADA"]/specGrp["DCODA"]/elementSpec["date"]/exemplum[9]/egXML[10]/date[11]/)
Note: date at calendar points to something I cannot find: Chinese
(TEI[1]/text[2]/body[3]/div["CO"]/div["CONA"]/div["CONADA"]/specGrp["DCODA"]/elementSpec["date"]/exemplum[9]/egXML[10]/date[11]/)
Note: target points to ID not in my namespace: #SA
(TEI[1]/text[2]/body[3]/div["CO"]/div["COXR"]/p[6]/egXML[7]/p[8]/ptr[9]/)
Note: target points to ID not in my namespace: #SATS
(TEI[1]/text[2]/body[3]/div["CO"]/div["COXR"]/p[6]/egXML[7]/p[8]/ptr[9]/)
Note: target points to ID not in my namespace: #SABN
(TEI[1]/text[2]/body[3]/div["SA"]/div["SAXP"]/div["SACR"]/div["SACRex"]/p[8]/egXML[9]/p[10]/ptr[11]/)
Note: span at from points to something I cannot find: 第二小節
(TEI[1]/text[2]/body[3]/div["AI"]/div["AISP"]/specGrp["DAISP"]/elementSpec["span"]/exemplum[8]/egXML[9]/span[10]/)
Note: span at to points to something I cannot find: 第四小節
(TEI[1]/text[2]/body[3]/div["AI"]/div["AISP"]/specGrp["DAISP"]/elementSpec["span"]/exemplum[8]/egXML[9]/span[10]/)
Note: fsdLink at target points to something I cannot find: doc1.xml#GPSG
(TEI[1]/text[2]/body[3]/div["FS"]/div["FD"]/div["FDLK"]/p[7]/egXML[8]/TEI[9]/teiHeader[10]/encodingDesc[11]/fsdDecl[12]/fsdLink[13]/)
Note: fsdLink at target points to something I cannot find: doc1.xml#GPSG
(TEI[1]/text[2]/body[3]/div["FS"]/div["FD"]/div["FDLK"]/p[7]/egXML[8]/TEI[9]/teiHeader[10]/encodingDesc[11]/fsdDecl[12]/fsdLink[13]/)
Note: target points to ID not in my namespace: #TDcrystals
(TEI[1]/text[2]/body[3]/div["TD"]/div["TDphrase"]/div["TDphraseEA"]/p[7]/egXML[8]/div3[9]/p[10]/ptr[11]/)
Note: moduleRef at url points to something I cannot find: svg11.rng
(TEI[1]/text[2]/body[3]/div["TD"]/div["TDmodules"]/specGrp["TDSG2"]/elementSpec["schemaSpec"]/exemplum[8]/egXML[9]/schemaSpec["testsvg"]/moduleRef[11]/)
Note: target points to ID not in my namespace: #COHQHF
(TEI[1]/text[2]/body[3]/div["TD"]/div["TDcrystalsCE"]/div["TDcrystalsCEdc"]/p[7]/egXML[8]/listRef[9]/ptr[10]/)
Note: moduleRef at url points to something I cannot find: svg11.rng
(TEI[1]/text[2]/body[3]/div["TD"]/div["ST-aliens"]/p[6]/egXML[7]/schemaSpec["testsvg"]/moduleRef[9]/)
Note: moduleRef at url points to something I cannot find: svg11.rng
(TEI[1]/text[2]/body[3]/div["TD"]/div["ST-aliens"]/p[6]/egXML[7]/moduleRef[8]/)
rm: cannot remove `tei_odds.dtd': No such file or directory
rm: cannot remove `tei_odds.xsd': No such file or directory
make[1]: [schemas] Error 1 (ignored)
rm: cannot remove `tei_allPlus.dtd': No such file or directory
rm: cannot remove `tei_allPlus.xsd': No such file or directory
make[1]: [schemas] Error 1 (ignored)
rm: cannot remove `tei_svg.dtd': No such file or directory
rm: cannot remove `tei_svg.xsd': No such file or directory
make[1]: [schemas] Error 1 (ignored)
rm: cannot remove `tei_math.dtd': No such file or directory
rm: cannot remove `tei_math.xsd': No such file or directory
make[1]: [schemas] Error 1 (ignored)
rm: cannot remove `tei_its.dtd': No such file or directory
rm: cannot remove `tei_its.xsd': No such file or directory
make[1]: [schemas] Error 1 (ignored)
rm: cannot remove `tei_xinclude.dtd': No such file or directory
rm: cannot remove `tei_xinclude.xsd': No such file or directory
make[1]: [schemas] Error 1 (ignored)
xi_testallplus.odd
xi_testits.odd
xi_testmathml.odd
xi_testodds.odd
xi_testtagdocs.odd
xi_testplace-gml.odd
xi_testplace-kml.odd
xi_testrend.odd
xi_testsvg.odd
NOTE: all TEI elements will have global attributes added automatically
NOTE: all TEI elements will have global attributes added automatically
NOTE: all TEI elements will have global attributes added automatically
stdin:18:6: error: attribute ^n not allowed
required:
after
allowed:
element http://www.tei-c.org/ns/1.0^head
element http://www.tei-c.org/ns/1.0^div
element http://www.tei-c.org/ns/1.0^p
element http://www.tei-c.org/ns/1.0^label
element http://www.tei-c.org/ns/1.0^list
attribute ^org
attribute ^sample
attribute ^part
attribute ^subtype
attribute ^decls
stdin:20:8: error: attribute http://www.w3.org/XML/1998/namespace^id not
allowed
required:
after
allowed:
text
element http://www.tei-c.org/ns/1.0^hi
element http://www.tei-c.org/ns/1.0^title
element http://www.tei-c.org/ns/1.0^label
element http://www.tei-c.org/ns/1.0^list
attribute ^decls
stdin:21:8: error: attribute http://www.w3.org/XML/1998/namespace^id not
allowed
required:
after
allowed:
text
element http://www.tei-c.org/ns/1.0^hi
element http://www.tei-c.org/ns/1.0^title
element http://www.tei-c.org/ns/1.0^label
element http://www.tei-c.org/ns/1.0^list
attribute ^decls
error: invalid input
make[1]: *** [testmeta2010] Error 1
make: *** [test] Error 2
--
Martin Holmes
University of Victoria Humanities Computing and Media Centre
(mholmes at uvic.ca)
More information about the tei-council
mailing list