-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding att.global.rendition has no effect #174
Comments
Hello @dirkroorda thanks for reporting this. The reason this isn't working is because the classSpec in the original drama ODD explicitly redefines <classSpec module="tei" xml:id="GLOBAL" type="atts" ident="att.global" mode="change">
<desc xml:lang="en" versionDate="2014-01-12">provides a set
of attributes common to all elements in the
<name>tei_drama</name> customization of the TEI encoding
scheme.</desc>
<classes>
<memberOf key="att.global.linking"/>
<memberOf key="att.global.analytic"/>
</classes>
<attList>
<attDef ident="xml:space" usage="opt" mode="delete"/>
<attDef ident="xml:base" usage="opt" mode="delete"/>
</attList>
</classSpec> So while restoring I think Roma should be able to detect and handle this situation, so I'll work on it, but it may take a bit of time. |
@dirkroorda I am going to explain a bit more what may be needed here and I hope to get your perspective on this. Since On the other hand it's confusing to restore a class but not have it appear where expected. Perhaps these cases should be detected and listed and result in something like this? Also the current view for Before restoring After restoring If you have any more thoughts or suggestions on what the expected behavior should be here let me know. |
Hi @raffazizzi, thanks for responding! I thought something like this was the case, that I was fighting against something under the hood (the hood being the pre-existing customization). I was able to get where I wanted by starting minimal, and then adding elements, especially the elements from the drama module, and a choice of other elements that I need. |
I think it would help if it was documented that if you use a pre-existing customization you can not add/delete elements and attributes at lib, that your mileage may vary and that you can always start minimally and add stuff by hand. Once you get the hang of seeing which TEI modules contribute which elements, it becomes really easy to add all elements of the drama module, for example. |
…ss is restored to the module (but not to the clas). Refs #174
I want to make a TEI customization for drama. But the TEI drama module switches off the rendition attributes. So I want to customize them in. But that has no effect on the resulting rng.
Steps I did:
drama-bare
drama-rend
att.global.rendition
checkboxNow I compared the odd files for drama-bare and drama-rend.
The only difference (apart from name and date) is:
So, the selection has some effect.
But when I look up the definition for
att.global
in drama-rend, it is exactly as in drama-bare, namely:No inclusion of tei_att.global.rendition.attributes, as in the complete tei rng.
Am I missing something?
The text was updated successfully, but these errors were encountered: