Page 1 of 1
Changes in the relaxng directory name
Posted: Thu Mar 20, 2025 11:19 pm
by daliboris
Hello,
I found that structure of the TEI framework was changed between versions 26.0 and 26.1. In the 26.0 version the path was
Code: Select all
frameworks\tei\xml\tei\stylesheet\relaxng\
and in the following versions it was changed to
Code: Select all
frameworks\tei\xml\tei\stylesheet\rng\
.
Note
relaxng and
rng change.
This change is the reason for the failure of one of my scenarios, which defines the parameters as follows:
Code: Select all
${frameworksDir}/tei/xml/tei/stylesheet/odds/odd2odd.xsl
.
Is it possible to create one scenario that will work with version 26.0 and later versions of oXygen XML Editor?
Thank you in advance.
Re: Changes in the relaxng directory name
Posted: Fri Mar 21, 2025 3:28 pm
by alex_jitianu
Hello,
Oxygen 26 comes bundled with TEI Stylesheets version 7.55, while in Oxygen 26.1, we upgraded to version 7.56. The rename you mentioned was performed in version 7.56, as detailed here:
https://github.com/TEIC/Stylesheets/iss ... 1804685030
The easiest approach would be to create two scenarios: an OLD one and a NEW one. Could you send me the scenario at
support@oxygenxml.com? This would help me better understand your setup, and I might be able to suggest an alternative.
In the
Configure Transformation Scenarios dialog, you can use the
Export Selected Scenario action from the contextual menu to share the scenario.
Best regards,
Alex
Re: Changes in the relaxng directory name
Posted: Tue Apr 22, 2025 8:08 pm
by daliboris
Hello Allex,
thank you for your offer to help. I modified the scenario to work on my PC, made comparison with the original one (plus with the original TEI framework from the TEI consortium) and shared the results in the
issue posted in our project repository.
It looks like runnnig the original scenario on Windows fails, because the XSLT stylesheet
odd2odd.xsl doesn't recognize the path to the source file.
For me, it looks like a problem of the oXygen XML Editor, i.e. different intepretation of the `${frameworksDir}` variable on Mac and on Windows. But maybe it's problem of the TEI stylesheets, I don't know.
You can get the source code of our scenarios (
TEILex0: ODD to RelanxNG XML for Mac,
TEILex0: ODD to RELAX NG XML BL for Windows) from the
repository. It's stored in the
TEILex0.xpr file.
If there is anything more I can do to resolve this issue, please let me know.
Best,
Boris
Re: Changes in the relaxng directory name
Posted: Tue Jun 03, 2025 11:32 am
by alex_jitianu
Hi,
I'm sorry for the delay, we were caught with all sorts of releases. I need a bit of help with the reproducing the situation:
- I've checked out repo:
https://github.com/DARIAH-ERIC/lexicalresources , took the
main, but also the
fix-build branches
- I've opened TEILex0.xpr
- I've create a new ODD
- I clicked "Configure transformation scenarios" and I only see these these scenarios: "TEILex0: examples to html (not finished)", "TEILex0: ODD to RELAX NG XML" . So no " TEILex0: ODD to RELAX NG XML BL".
Can you please confirm if this is indeed the repo?
https://github.com/DARIAH-ERIC/lexicalr ... /fix-build
And does it matter on which ODD I apply the scenarios?
Best regards,
Alex