TEIC / oxygen-tei

Automatically exported from code.google.com/p/oxygen-tei
15 stars 6 forks source link

TEI Customization for writing TEI Customizations needs to be in the ODD framework #39

Closed martindholmes closed 4 years ago

martindholmes commented 4 years ago

@sydb's excellent tei_customization.odd exemplar shows up as an option in the TEI P5 framework, but it also needs to be in the P5 ODD framework. Not sure exactly how to do that.

martindholmes commented 4 years ago

I've fixed this in commit 53f1d18.

Background: The way the three frameworks get constructed involves this bit of the build file:

https://github.com/TEIC/oxygen-tei/blob/53f1d1835f910a1941f8621507704c09bd69a388/oxygen-tei/build.xml#L146

where first, all the document templates are copied into the TEI P5 framework, and then appropriate subsets of them are copied into the TEI JTEI and TEI ODD frameworks. The code that was copying over the tei_customization components was mistakenly assuming that they're named as they are in the Exemplars folder, but by this stage, they're not; the files are named based on the @n attribute on the root TEI element of the template document, so they have names like "TEI for writing TEI Customizations.properties". Adjusting the file glob to catch those files has solved the problem.