Page 1 of 1

Saxon XQuery debugging - modules in eXist

Posted: Wed Jul 03, 2013 12:53 pm
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?

Re: Saxon XQuery debugging - modules in eXist

Posted: Wed Jul 03, 2013 3:21 pm
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