ODD to RNG
Oxygen general issues.
-
- Posts: 43
- Joined: Mon Oct 01, 2018 7:29 pm
ODD to RNG
Post by david_himself »
Apologies for a simple-minded post. After updating from Oxygen 23.1 to 24.1, the transformation 'TEI ODD to RelaxNG XML' failed with the message 'C:\Users\XXXXXXX\AppData\Roaming\com.oxygenxml\extensions\v23.1\frameworks\https_www.tei_c.org_release_oxygen_updateSite.oxygen\tei\xml\tei\stylesheet\odds\odd2odd.xsl (The system cannot find the path specified).' (I'm on Windows 10.)
I think I had overridden a warning and let the updater delete something from my 23.1 installation. Unfortunately I can't remember the steps I had gone through in a previous version of Oxygen to enable it to generate an RNG file from an ODD file. Can you remind me or point me to the appropriate how-to page. Thanks.
David
I think I had overridden a warning and let the updater delete something from my 23.1 installation. Unfortunately I can't remember the steps I had gone through in a previous version of Oxygen to enable it to generate an RNG file from an ODD file. Can you remind me or point me to the appropriate how-to page. Thanks.
David
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: ODD to RNG
Post by alex_jitianu »
Hello,
Yes, oxygen does give a prompt recommending to clean up add-ons from previous Oxygen versions. You probably created/duplicated the TEI ODD to RELAX NG XML transformation scenario and that was stored at project level and now is pointing to a resource no longer present on your system
To solve the issue:
1. first you should reinstall the TEI framework as described here: https://github.com/TEIC/oxygen-tei/blob ... -plugin.md . Oxygen does come with a built-in TEI framework, but is there is a reason you've installed the TEI framework bundled by the TEIC, then reinstall it to make sure all resources are in place.
2. Open the ODD and invoke the Configure Transformation scenario action from the toolbar and make sure you select the scenario from the framework:
Alex
Yes, oxygen does give a prompt recommending to clean up add-ons from previous Oxygen versions. You probably created/duplicated the TEI ODD to RELAX NG XML transformation scenario and that was stored at project level and now is pointing to a resource no longer present on your system
To solve the issue:
1. first you should reinstall the TEI framework as described here: https://github.com/TEIC/oxygen-tei/blob ... -plugin.md . Oxygen does come with a built-in TEI framework, but is there is a reason you've installed the TEI framework bundled by the TEIC, then reinstall it to make sure all resources are in place.
2. Open the ODD and invoke the Configure Transformation scenario action from the toolbar and make sure you select the scenario from the framework:
image.png
Best regards,Alex
You do not have the required permissions to view the files attached to this post.
-
- Posts: 43
- Joined: Mon Oct 01, 2018 7:29 pm
Re: ODD to RNG
Post by david_himself »
Thanks Alex, but no luck yet.
What I did. Added
https://www.tei-c.org/release/oxygen/updateSite.oxygen
to the existing add-on sites
https://www.oxygenxml.com/InstData/Addo ... teSite.xml
https://www.oxygenxml.com/InstData/Addo ... teSite.xml
Checked that no add-ons had available updates. Uninstalled TEI P5 vsn 15.0.0, oXygen vsn 18.1+ , shut down, restarted, reinstalled it, shut down, restarted, and tried to run the TEI ODD transformation 'TEI ODD to RelaxNG XML' on my ODD file -- a file which validates and which produced RNG files without problems when I was on oXygen vsn 23.1. But I am still getting this error:
System ID: C:\data\Mary Hamilton archive\working\HAM_TEI_schema.odd
Scenario: TEI ODD to RelaxNG XML
Build file: C:/Users/*******/AppData/Roaming/com.oxygenxml/extensions/v24.1/frameworks/tei/tei/xml/tei/stylesheet/relaxng/build-to.xml
Document type: TEI ODD
Engine name: ANT
Severity: fatal
Description: Transformation failed. C:\Users\*******\AppData\Roaming\com.oxygenxml\extensions\v24.1\frameworks\tei\tei\xml\tei\stylesheet\common\teianttasks.xml:388: java.lang.ClassNotFoundException: net.sf.saxon.TransformerFactoryImpl
Could it be that when I updated Oxygen a couple of weeks ago, I should have downloaded 'Windows 64-bit (Includes Java SE 8u202)' rather than 'Windows 64-bit (Includes OpenJDK* 17.0.2)'?
Thanks
David
What I did. Added
https://www.tei-c.org/release/oxygen/updateSite.oxygen
to the existing add-on sites
https://www.oxygenxml.com/InstData/Addo ... teSite.xml
https://www.oxygenxml.com/InstData/Addo ... teSite.xml
Checked that no add-ons had available updates. Uninstalled TEI P5 vsn 15.0.0, oXygen vsn 18.1+ , shut down, restarted, reinstalled it, shut down, restarted, and tried to run the TEI ODD transformation 'TEI ODD to RelaxNG XML' on my ODD file -- a file which validates and which produced RNG files without problems when I was on oXygen vsn 23.1. But I am still getting this error:
System ID: C:\data\Mary Hamilton archive\working\HAM_TEI_schema.odd
Scenario: TEI ODD to RelaxNG XML
Build file: C:/Users/*******/AppData/Roaming/com.oxygenxml/extensions/v24.1/frameworks/tei/tei/xml/tei/stylesheet/relaxng/build-to.xml
Document type: TEI ODD
Engine name: ANT
Severity: fatal
Description: Transformation failed. C:\Users\*******\AppData\Roaming\com.oxygenxml\extensions\v24.1\frameworks\tei\tei\xml\tei\stylesheet\common\teianttasks.xml:388: java.lang.ClassNotFoundException: net.sf.saxon.TransformerFactoryImpl
Could it be that when I updated Oxygen a couple of weeks ago, I should have downloaded 'Windows 64-bit (Includes Java SE 8u202)' rather than 'Windows 64-bit (Includes OpenJDK* 17.0.2)'?
Thanks
David
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: ODD to RNG
Post by alex_jitianu »
Hi David,
I think you've stumbled into this issue, now: https://github.com/TEIC/oxygen-tei/issues/54
An official build of the TEIC TEI framework is not yet available, so if you want to fix it yourself before the official build is out, you need to:
1. got to C:\Users\*******\AppData\Roaming\com.oxygenxml\extensions\v24.1\frameworks\tei
2. Download and unzip https://github.com/TEIC/oxygen-tei/file ... 53/tei.zip
3. Replace the *.framework files with the ones from the zip
The zip contains the Oxygen 24.1 build-in TEI framework files.
Best regards,
Alex
I think you've stumbled into this issue, now: https://github.com/TEIC/oxygen-tei/issues/54
An official build of the TEIC TEI framework is not yet available, so if you want to fix it yourself before the official build is out, you need to:
1. got to C:\Users\*******\AppData\Roaming\com.oxygenxml\extensions\v24.1\frameworks\tei
2. Download and unzip https://github.com/TEIC/oxygen-tei/file ... 53/tei.zip
3. Replace the *.framework files with the ones from the zip
The zip contains the Oxygen 24.1 build-in TEI framework files.
Best regards,
Alex
-
- Posts: 43
- Joined: Mon Oct 01, 2018 7:29 pm
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service