-
Notifications
You must be signed in to change notification settings - Fork 2
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
Split ODD into separate files and then combine in the compilation process? #66
Comments
|
How about using the TEI Drama ODD provided by the TEI consortium (also available with TEI Roma) as the source for the DraCor ODD. We would have to add some elements like |
So we would need to use the https://tei-c.org/release/xml/tei/custom/odd/tei_drama.odd in the Legacy ODD included 82 elements; if I would include all modules that were in in the legacy odd we end up with 315 elements The TEI Drama ODD includes the following modules:
The schema contains 226 elements. |
We could use Roma to start from the TEI Drama ODD, add the missing elements there and then use the resulting ODD for further refinement to our purposes. |
I already copied it together in my local draft of the ODD. It seems to work without
Results in 233 Elements. Maybe we can later go through the element list and kick some of them out again. Next step would be to look into the requirements of the API , e.g. specific encoding of the digital and original sources in the
|
As @cmil, @lehkost and me discussed briefly at the CCLS conference the current ODD file feels cluttered and is quite hard to maintain. We maybe want to rework it and modularize it so that we can adapt it for certain corpora more easily:
exclude=""
onmoduleRef
; maybe only from relevant modules, i.e.compare to current version:
dracor-schema/dracor.odd
Lines 527 to 550 in 00fb7ea
This file might do nothing else.
We then need to restrict the usage of some elements or change the content model, the values of some attributes that are relevant to the API. These element changes will affect certain elements/attributes that we need to restrict because the API to some degree expects to find certain things (@ xml:id on root
<TEI>
) and is confused when there are some unexpected things, e.g. multiple<text>
elements as in some swedracor files..take (2) and add examples
<exemplum>
if we have them for certain elements, e.g.currently
dracor-schema/dracor.odd
Lines 771 to 869 in 00fb7ea
In the "examples odd" file we would do (maybe rework
@source
and include something with is based on a defined prefix inprefixDecl
(or how the element is called):But the question remains how we put that together in the end?
The text was updated successfully, but these errors were encountered: