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
tagdocs elements are available in silly contexts #2306
Comments
My 2¢ — Unless someone (@lb42? @jamescummings? @laurentromary?) has a good reason why model.oddDecl should be a member of model.inter, I think we should just remove it as a corrigible error. (Which means that |
So not having heard an objection from @lb42 nor @jamescummings, and having gotten a thumbs-up from @laurentromary, I think we are good to go in removing model.oddDecl from model.inter (and taking care of the various fallout problems). Question — Do we think this has to be deprecated? (I think our policy says “yes”, because this is a schema change that might invalidate a users’ file (however unlikely that is), we need to deprecate. But it is a bit of a pain, because we can’t just use |
I think it's a very bad practice to remove something skipping the agreed procedure and using ignorance as the argument/justification . |
So given that no one has suggested that model.oddDecl remain a member of model.inter, or even offered an explanation for why it is there; given that several of us (at least @martindholmes, myself, and @laurentromary) think model.oddDecl should be removed from model.inter, and at least 2 of us (myself and @bansp) think it should be deprecated, I think this should be made GREEN for giving a deprecation warning if any of |
Two major thoughts on this one. 1. Not quite true
Thus I no longer think this should be GREEN to go, but rather still requires a good bit of consideration and discussion. 2. Reverse logic |
From the list above, it seems clear that *spec elements are overwhelmingly given within specGrp elements in the Guidelines, which is really rather unsurprising, and might even be a sensible restriction (it is also one implied by the style guidelines for writing TEI P5, as far as I recall them). The very small number of exceptions to this I suggest should be considered corrigible errors in P5. |
I think what @lb42 is suggesting, above, is to restrict the vast majority of all specification elements so that they cannot be plopped directly inside prose, but can be a child of I like this for two reasons. First, it presents a more simple system. If you are looking for specification stuff, this reduces the number of places you need look; and if you are encoding a document using tei_all (shame on you), this reduces the number of elements in your pop-up list that have nothing to do with transcribing humanities texts. Second, unlike moving all specification stuff out of the prose (another possible solution), this still allows for a more “literate” style of ODD writing. In fact, the extra layer of compartmentalization might even encourage it. |
Council green-lights this for @hcayless to work on and set a 6-month deprecation period. |
Work done on 2024-04-03: required changes in the specs (missing deprecation notes), and required changes in the guidelines. Next steps: deprecation + schematron |
The
<elementSpec>
element (to take one example) is available inside 126 different elements, which include<u>
,<witness>
,<epigraph>
, and<figDesc>
, to mention a few of the silliest. The ATOP team, in trying to figure out namespace hierarchies and other processing complexities, would really appreciate it if this could be cleaned up. It's surely arguable that the only logical parents of<elementSpec>
are other tagdoc elements, specifically<specGrp>
and<schemaSpec>
. Similar issues apply to<classSpec>
and other members ofmodel.oddDecl
, which is a member ofmodel.inter
, leading to its availability all over the place. Could we make better use ofmodel.oddDecl
to solve this problem?The text was updated successfully, but these errors were encountered: