Open raffazizzi opened 2 months ago
off the top of my head the value of @source
in the ODDC here is the result of the "worked out source" (there is some function like workoutsource
) by the TEI Stylesheets. So this serves more or less a documentary purpose.
I agree that the value here is not very helpful but I'm not sure whether it's on TEIGarage to change something?
Adding a property to set defaultSource parameter in ODDC conversion is indeed a feature request which would (automatically) result in an updated @source
attribute.
So I think this is actually tow issues:
@source
if it's the current TEI P5 versionTo repeat myself: +1 for item 1 but I'm unsure about 2
I agree, option 2 seems perhaps a little hacky! Happy to limit this issue request to your point 1.
As reported by @bwbohl at https://github.com/TEIC/romajs/issues/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.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 thep5subset.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.