-
Notifications
You must be signed in to change notification settings - Fork 3
Description
As reported by @bwbohl at TEIC/romajs#152, converting ODD to compiled ODD (ODDC) results in a value for @source on <schemSpec> that's not very useful: /usr/share/xml/tei/odd/p5subset.xml. Here is an example from compiling a French version of the ODD Bare customization.
<schemaSpec xmlns:teix="http://www.tei-c.org/ns/Examples"
ident="tei_bare" xml:lang="fr" prefix="tei_" targetLang="fr"
docLang="fr" defaultExceptions="http://www.tei-c.org/ns/1.0 teix:egXML"
source="/usr/share/xml/tei/odd/p5subset.xml">The XSLT that drives this transformation is odd2odd.xsl and it takes a $defaultSource parameter to set the @source attribute above.
I would suggest at least making sure that $defaultSource is set to the p5subset.xml at the public vault.tei-c.org URL corresponding to the one used during the transformation (which should be the latest TEI release that TEIGarage is pinned to).
Better yet, but perhaps more complex: Would it be possible to create a new property for the ODDC conversion so that users can set their preferred source? This may also help with supporting non-TEI customization ODDs.