When I went to actually nuke data.*.xml, I ran into a problem. There
were two that were still referenced in the Guidelines:
data.temporal.iso.xml and data.duration.iso.xml from ND.[1] I
initially "fixed" this by just changing "data." to "teidata." on
those two instances in ND. This broke the build horrifically -- the
definitions of various attrs (like att.temporal.when.iso) now had
*two* lists of possible values. Took some digging around but I found
that the "correct" datatypes (teidata.duration.iso.xml, and
teidata.temporal.iso.xml) were (incorrectly, I think) still being
referenced from ST.
I commented out those references in ST, and the build was back to
normal (and matches the prose). So that all seems good. BUT, there is
still a problem. This means that there are several validation errors
that have now crept in:
memberOf points to non-existent att.duration.iso
ident points to non-existent att.duration.iso
ident points to non-existent att.duration.iso
ident points to non-existent att.duration.iso
ident points to non-existent att.duration.iso
specDesc points to non-existent att.duration.iso
I am not quite sure what to do about this. While technically
validation problems, they don't (I don't think) actually cause any
difficulties when building outputs from the source.
So rather than check these changes into dev, I have (with Hugh's
help) checked them into a new branch, sydb-endDeprecation_2018-10-01.
But we should decide what to do about this soon (measured in hours to
days), as the deprecation period is now over.
One possibility (that I am leaning towards right now):
These errors are generated by the special-purpose validation routine
P5/Utilities/validator.xsl, referred to in the Makefile with "Check
validity with special-purpose XSL code, looking for bad links etc".
We could simply update that code so it "knows" about these particular
cases, and does not flag them as errors.
But before we even think of that, either
a) someone else who builds locally should checkout the
sydb-endDeprecation_2018-10-01 branch and check that the build is
working. (I only tested validate, html-web, and exemplars, I
think.), or
b) we'll have to ask MH or PS to set up a Jenkins job for this
branch. (Seems like overkill to me.)
Note-for-Vanessa
----------------
[1] The vast majority of the source files to Guidelines chapters are
each stored in an XML file that starts with a 2-letter code.
Thus I am using "ND" as shorthand for
.../P5/Source/Guidelines/en/ND-NamesDates.xml
where "..." is wherever on your system you keep the TEIC/TEI git
repo. The chapter files are:
* AB-About.xml
* AI-AnalyticMechanisms.xml
* CC-LanguageCorpora.xml
* CE-CertaintyResponsibility.xml
* CH-LanguagesCharacterSets.xml
* CO-CoreElements.xml
* DI-PrintDictionaries.xml
* DR-PerformanceTexts.xml
* DS-DefaultTextStructure.xml
* FS-FeatureStructures.xml
* FT-TablesFormulaeGraphics.xml
* GD-GraphsNetworksTrees.xml
* HD-Header.xml
* MS-ManuscriptDescription.xml
* ND-NamesDates.xml
* NH-Non-hierarchical.xml
* PH-PrimarySources.xml
* SA-LinkingSegmentationAlignment.xml
* SG-GentleIntroduction.xml
* ST-Infrastructure.xml
* TC-CriticalApparatus.xml
* TD-DocumentationElements.xml
* TS-TranscriptionsofSpeech.xml
* USE.xml
* VE-Verse.xml
* WD-NonStandardCharacters.xml