Page 1 of 1

Oxygen Editor will only run one xquery file

Posted: Fri Mar 27, 2009 3:51 pm
by Tom M
I'm using XML Editor 10.1, build 2009022712.

When I attempt to run an xquery file from the Editor perspective, Oxygen runs the authors.xquery file from the Samples folder instead.

For example, if I create myquery.xquery and try to run it, the query that's executed is authors.xquery. If I rename authors.xquery and then try to run myquery.xquery, I get a message that includes "C:\Users\tom\OxygenXMLEditor\samples\xquery\Books\authors.xquery (The system cannot find the file specified)".

However, if I switch to Database perspective, I can run myquery.xquery with no problems.

I tried uninstalling/reinstalling Oxygen, but the problem persists.

Thanks.

Re: Oxygen Editor will only run one xquery file

Posted: Fri Mar 27, 2009 4:35 pm
by sorin_ristache
Hello,

What is the value of the field XQuery URL in the dialog for editing the XQuery transformation scenario? Is it authors.xquery? If not please specify the values of the fields XML URL and XQuery URL of the scenario and the URL of the current file that is edited in the Editor perspective when you run the XQuery scenario.


Regards,
Sorin

Re: Oxygen Editor will only run one xquery file

Posted: Fri Mar 27, 2009 8:18 pm
by Tom M
Sorin -

That's it.

The XQuery URL in the Transformation Scenario was hardcoded with the path to the authors.xquery files. I changed it to "${currentFileURL}", and left the XML URL blank. It works fine now.

Thanks for your help.

Regards,

Tom M.