Oxygen Editor will only run one xquery file

<oXygen/> general issues.
Tom M
Posts: 3
Joined: Fri Mar 27, 2009 3:23 pm

Oxygen Editor will only run one xquery file

Post by Tom M » Fri Mar 27, 2009 3:51 pm

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.

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: Oxygen Editor will only run one xquery file

Post by sorin_ristache » Fri Mar 27, 2009 4:35 pm

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

Tom M
Posts: 3
Joined: Fri Mar 27, 2009 3:23 pm

Re: Oxygen Editor will only run one xquery file

Post by Tom M » Fri Mar 27, 2009 8:18 pm

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.

Post Reply