Configuring scenarios in framework extension scripts

Oxygen general issues.
Krille
Posts: 34
Joined: Thu Nov 12, 2020 12:24 pm

Configuring scenarios in framework extension scripts

Post by Krille »

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:

Code: Select all

  <transformationScenarios>
    <addScenarios href="${framework}/xsl/myscenario.xml"/>
  </transformationScenarios>
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
alex_jitianu
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?

Code: Select all

  <transformationScenarios>
    <addScenarios href="xsl/myscenario.xml"/>
  </transformationScenarios>
Best regards,
Alex
Post Reply