Configuring scenarios in framework extension scripts
Oxygen general issues.
-
- Posts: 34
- Joined: Thu Nov 12, 2020 12:24 pm
Configuring scenarios in framework extension scripts
Hi,
I'm a great fan of the new extension scripts for configuring frameworks!
But there seems to be a bug in the configuration of transformation or validation scenarios.
Here's what I've done:
1) I've exported a globally defined transformation scenario with the export function in the setup dialog and put in xsl/myscenario.xml in the framework.
2. I've put these lines into the frameworks exf-File:
3. Restart oXygen. It does not start up, but enters into an exception dialog and then asks me to quit oXygen.
Replacing ${framework}/ with an absolute path or leaving it away an using a relative path works as expected.
But in the docs, it says, that editor variables are allowed:
https://www.oxygenxml.com/doc/versions/ ... 4j_5xm_knb
Regards,
Chris
I'm a great fan of the new extension scripts for configuring frameworks!
But there seems to be a bug in the configuration of transformation or validation scenarios.
Here's what I've done:
1) I've exported a globally defined transformation scenario with the export function in the setup dialog and put in xsl/myscenario.xml in the framework.
2. I've put these lines into the frameworks exf-File:
Code: Select all
<transformationScenarios>
<addScenarios href="${framework}/xsl/myscenario.xml"/>
</transformationScenarios>
Replacing ${framework}/ with an absolute path or leaving it away an using a relative path works as expected.
But in the docs, it says, that editor variables are allowed:
https://www.oxygenxml.com/doc/versions/ ... 4j_5xm_knb
Regards,
Chris
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Configuring scenarios in framework extension scripts
Post by alex_jitianu »
Hi Chris,
Can please show me the error message? I've tried a similar scenario and I didn't manage to reproduce the crash. Can you send us the scenario export file on support@oxygenxml.com?
Does it still crash if you put a relative path which resolves relative to the script location?
Best regards,
Alex
Can please show me the error message? I've tried a similar scenario and I didn't manage to reproduce the crash. Can you send us the scenario export file on support@oxygenxml.com?
Does it still crash if you put a relative path which resolves relative to the script location?
Code: Select all
<transformationScenarios>
<addScenarios href="xsl/myscenario.xml"/>
</transformationScenarios>
Alex
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