Apologies for sending my previous email a bit prematurely ;-)
There are 3 main files
tei_simple.odd
tei_simple.tei
tei_simple.template
but then there are a few more new files that are XIncluded in
tei_simple.odd (namely: elementsummary.xml, headerelements.xml,
headeronly.xml, simpleelements.xml) which do not follow any convention and
I wonder what to do with them. If there are any guidelines in place I'd
appreciate being told what they are, if not, perhaps I should create a
subfolder e.g. tei_simple and put all this stuff in there?
Next steps are to re-read the prose and models, then check if
tei_simple.tei and tei_simple.template are indeed valid against generated
schema. Dunno if Council wants to bow their heads over some arbitrary
choices in Simple (eg. preference for over
<persName>) or do we leave it as it stands?
For the posteriority (or myself when I'll need to do it next time) let's
paste here Martin Holmes's explanation of this stuff:
'The first is the odd from which all the schemas will be generated; the
second is a test file which should validate against the generated schema;
and the third is a template which will be used in the oxygen-tei plugin to
provide users with a New / jTEI Article or New / TEI Simple file.
(Non-Oxygen users can copy the template and edit the copy to get the same
effect.)
I think it helps if the template is either immediately valid against the
schema, or if it's not, that it have clear instructions in comments on how
to add what's needed to make it so.
In the jTEI template, you'll see @rend="jTEI" on the root element. That's a
way to hook into a validation scenario in Oxygen that ensures it validates
against the jTEI schema. We'll need to make sure the oxygen-tei plugin is
updated to include the Simple validation scenario. I can figure out how to
do that when the time comes, and then we can make sure it gets tested
properly using the bleeding-edge oxygen-tei plugin build.'
I can't quite remember if we have agreed on using TEI/@rend as Martin does?
Oh, well, we didn't... https://github.com/TEIC/TEI/issues/564
Nothing else comes to mind atm,
M
On 31 March 2016 at 18:55, Magdalena Turska wrote:
Hi all,
I've started a tei-simple branch with ODD, template and test file for TEI
Simple customization.
Magdalena