[tei-council] logical madness in class attribute inheritance
Sebastian Rahtz
sebastian.rahtz at oucs.ox.ac.uk
Tue Jul 24 04:20:38 EDT 2012
We have 4 attribute classes which define the attribute "type":
../Source/Specs/att.entryLike.xml: <attDef ident="type" usage="opt">
../Source/Specs/att.interpLike.xml: <attDef ident="type" usage="rec">
../Source/Specs/att.textCritical.xml: <attDef ident="type" usage="opt">
../Source/Specs/att.typed.xml: <attDef ident="type" usage="opt">
This is, frankly, bonkers. An element can freely be a member of all four classes,
and then what?
I have met this while fixing the local override of class attributes, and
find that if an element is in both classes, and overrides @type, I have no idea which one
it is overriding!
Sadly, I have thereby got the P5 build in a broken state because of ambiguities
here.
--
Sebastian Rahtz
Head of Information and Support Group
Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
Sólo le pido a Dios
que el futuro no me sea indiferente
More information about the tei-council
mailing list