(I label this as "TEILite" so that is shows up as an issue that affects TEILite, but I don't think that this report is specific to that customization)
When trying to delicately customize TEILite, I have noticed the stubborn persistence of
<classSpec type="atts" ident="att.internetMedia" module="tei" mode="delete"/>
Use case:
<media> is supposed to pull in a copy of @mimeType (cf. Sebastian's comment at https://sourceforge.net/p/tei/bugs/738/#50df ).<media>, even if you explicitly customize the element in Roma, by removing it from att.media and adding it to att.internetMedia. You then end up with: <classSpec type="atts" ident="att.internetMedia" module="tei" mode="delete"/>
(...)
<elementSpec ident="media" module="core" mode="change">
<classes mode="replace">
(...)
<memberOf key="att.internetMedia" mode="add"/>
(...)
<memberOf key="att.media" mode="delete"/>
</classes>
</elementSpec>
Recall that, regardless of the interaction between "add" and "delete" above, the very first appearance of the classSpec seems to come more or less out of nothing, that is, out of consolidation of TEILite, whose source spec doesn't appear to reference att.internetMedia in any way.
I am not sure that I understand what you're complaining about, in particular why you claim that the source for the TEI Lite ODD doesn't reference att.internetMedia. The line you characterise as "stubbornly persistent" is there in the source of P5/Exemplars/tei_lite.odd. If you want to include that class, remove the deletion. Simply adding an element which is a member of a class won't restore that class to existence if it's been deleted.
No you can't manipulate classes in Roma very well. There are lots of things you can't do with Roma.
Ouch, I must have missed that line -- apologies! I was under the impression that it somehow automagically appeared in the consolidated ODD, that's why I posted and by the look of things, it's an invalid report.
(And yes, I've dealt with it by removing the deletion.)
Thanks!
PS. Eeeek, I was looking at Extensions/lite/teilite.xml (sigh)