oXygen is working great for editing eXist and DB2 XQueries.
One problem I am having with DB2 is getting readable error messages back to the Eclipse Error panel of oXygen. Here is a simple XQuery with a missing semicolon in the let statement. (it should be let foo := 'bar'
Code: Select all
let $foo = 'bar'
Note that there is a good hint but the line, column and other data is wrong.SystemID:
Message:com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -16002, SQLSTATE: 10505, SQLERRMC: =;n "1.0";
Is this a problem with DB2 not returning good error messages of did I not configure oXyen correctly? Is there any way to get better error messages? This would make debugging long XQueries much easier.
Thanks - Dan