Saxon XQuery debugging - modules in eXist

Having trouble installing Oxygen? Got a bug to report? Post it all here.
vkr
Posts: 1
Joined: Wed Jul 03, 2013 12:42 pm

Saxon XQuery debugging - modules in eXist

Post by vkr »

I'm using <oXygen/> XML Developer 15.0 with eXist-db 2.0.
I created an eXist connection and I can view the database content.
I've also set eXist as the default engine for XQuery validation. The validation works fine and I can run transformations using XQuery files that import modules from the eXist DB.

I'd like to debug a XQuery file. I understand that I have to use Saxon for that. However, when using Saxon, I cannot import modules from eXist using the xmldb protocol.
Do I need copies of the modules locally and modify all the import statements, or is there an easier way?
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Saxon XQuery debugging - modules in eXist

Post by adrian »

Hello,

I'm afraid that currently there is no practical way of debugging XQuery with modules from eXist-db in Oxygen. Saxon can't access the modules on the server, not to mention that the eXist-db XQuery extensions are not supported by Saxon.

In theory you could copy of the modules locally and modify all the import statements, but there's still the eXist-db XQuery extensions problem, if any are used.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply