Howdy --
The GUI's feedback on errors, including line number and position, is an extremely useful feature. Is this information also available via the REST interface? If so, how is it enabled?
Thanks!
The GUI's feedback on errors, including line number and position, is an extremely useful feature. Is this information also available via the REST interface? If so, how is it enabled?
Sounds reasonable; I've added an issue:
https://github.com/BaseXdb/basex/issues/433
Christian
The GUI's feedback on errors, including line number and position, is an extremely useful feature. Is this information also available via the REST interface? If so, how is it enabled?
..has been fixed:
https://github.com/BaseXdb/basex/issues/433
Christian
On 03/13/2012 07:37 AM, Christian Grün wrote:
The GUI's feedback on errors, including line number and position, is an extremely useful feature. Is this information also available via the REST interface? If so, how is it enabled?
..has been fixed:
https://github.com/BaseXdb/basex/issues/433
Christian
Is there anything which needs to be switched or enabled to get this output? If I submit a query with an error in it, for instance, I'm still getting back a response document with no text other than the error message itself, for instance:
--- BEGIN QUOTE Content-Length: 58 Content-Type: application/xml Server: Jetty(6.1.26)
[XPTY0004] '-' operator: number expected, xs:string found. --- END QUOTE
The latest snapshots may not have been up-to-date; please try again [1].
[1] http://files.basex.org/releases/latest/ ___________________________
Is there anything which needs to be switched or enabled to get this output? If I submit a query with an error in it, for instance, I'm still getting back a response document with no text other than the error message itself, for instance:
--- BEGIN QUOTE Content-Length: 58 Content-Type: application/xml Server: Jetty(6.1.26)
[XPTY0004] '-' operator: number expected, xs:string found. --- END QUOTE
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Oops -- I built my own snapshot (after the 20120313.033119 snapshot didn't demonstrate the desired behavior), but failed to change the symlink, so it wasn't actually running. My apologies for the noise; this functionality *does* now work.
On 03/13/2012 06:11 PM, Christian Grün wrote:
The latest snapshots may not have been up-to-date; please try again [1].
[1] http://files.basex.org/releases/latest/ ___________________________
Is there anything which needs to be switched or enabled to get this output? If I submit a query with an error in it, for instance, I'm still getting back a response document with no text other than the error message itself, for instance:
--- BEGIN QUOTE Content-Length: 58 Content-Type: application/xml Server: Jetty(6.1.26)
[XPTY0004] '-' operator: number expected, xs:string found. --- END QUOTE
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de