-
Notifications
You must be signed in to change notification settings - Fork 7
How does Roma decide which schemaSpec to process? #27
Comments
The Roma interface, if you mean the web interface, is fairly simple minded in what it expects to find and to generatre. It's more significant if you mean that the TEI stylesheets in general don't handle this situation correctly; I'm looking into that but am initially thrown by the fact that your ODD isn't valid against the current release of tei_odds.rng (uses a defunct attribute @status; <datatype> has invalid content) . |
The web interface is indeed what I mean. It is the also the only thing I see labeled Roma. The package TEIC/Stylesheets handles the situation fine; passing the The document is valid against the ODD schema I have, and I have no interest in trying to hit a moving target. If Roma relies on validity against some later schema against which my input is invalid, some questions seem natural to ask: why is TEI making backward incompatible changes to the schema? And why does Roma not report validation errors to the user? And why is Roma not made to be backward compatible? |
There used to be a command line version of roma, is why I was checking. |
I am working on an ODD document for a set of three interrelated customizations of TEI. They are defined in a single ODD document because they share a good deal of material; having them in three separate ODD documents would be a maintenance disaster.
The Roma interface appears to exhibit two flaws when presented with such a document.
First, I haven't been able to locate any mechanism for specifying which schemaSpec element to process. (Perhaps I just haven't looked in the right place.)
Second, the lists of modules and extension elements it provides appear to be based on the assumption that every elementSpec in the document with mode="add" is to be added to the schema being generated, whether it's in a specGrp reachable by specGrpRef pointers from the root schemaSpec or not. (I have a schema fragment showing an imaginable initial declaration for a couple of elements which is not actually referred to from anywhere else, and then the real declarations later, following a discussion of where the initial declarations fall short of requirements. Roma shows multiple extensions using the same name.
The ODD in question is on the open web at http://uyghur.ittc.ku.edu/2018/05/atmo-schemas-PTS.xml
The text was updated successfully, but these errors were encountered: