Debugger for XQuery that uses Saxon

随声附和 提交于 2019-12-25 04:41:12

问题


Can anyone suggest a debugger for XQuery? I would prefer one that is either online or works within Eclipse, and I prefer something that uses Saxon. So far, all I've found is XQDT (which has little documentation and does not work with Saxon) and a few stand-alone commercial apps.

All I want to do is understand why my XQuery isn't selecting the elements I think it should. (My requirement for Saxon is because I've had bad experiences with these processors not meeting the same standard.)

Any suggestions? How are others testing their queries?


回答1:


Currently XQDT supports only execution (no debugging) with the Saxon XQuery processor.

The only debuggers build so far in XQDT are for:

  • Zorba XQuery processor: http://www.zorba-xquery.com/
  • Sausalito XQuery Web application framework: http://www.28msec.com/

You can have our latest version from:

  • the Eclipse update site: http://download.eclipse.org/webtools/incubator/repository/xquery/milestones/ (updated every 6 weeks)
  • or downloading the already packaged "Sausalito Tools": http://www.28msec.com/download/download_sausalito (updated every 2 weeks)

Gabriel, XQDT Committer




回答2:


oXygen offers a XQuery debugger that can be used both with SaxonEE and with MarkLogic XML database:

http://www.oxygenxml.com/xquery_debugger.html




回答3:


No Saxon, but I was able to get Eclipse and XQDT to work with the debugger. Just getting going though, so there could still be some lurking issues. http://richmacdonald.blogspot.com/2011/02/debug-xquery-in-eclipse-configuration.html



来源:https://stackoverflow.com/questions/3720866/debugger-for-xquery-that-uses-saxon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!