[basex-talk] GUI suggestion: no trace output when running tests

2015-03-21 Thread Marc van Grootel
Hi, When running tests from the GUI I sometimes insert debugging code to figure out which tests fails or why. The current behavior of the GUI makes this impossible though because when tests are run this info is printed to the Query Info window but immediately after tests are run it prints the test

Re: [basex-talk] get-current-user()

2015-03-21 Thread Marc van Grootel
Hi Christian, Not sure what else. I'm only starting to delve into this area and I'm not sure what else would be helpful. In general I'm looking at creating a small REST atompub service that handles authentication and this was one of the missing pieces I encountered. Cheers, On Sat, Mar 14, 2015

[basex-talk] Bug in evaluating conditionals? Not short-circuiting?

2015-03-21 Thread Marc van Grootel
Hi, I think I found a bug in 8.0.3 (and earlier) declare function local:shortcircuit($a) { if ($a castable as xs:double and xs:double($a) gt 0) then $a else () }; local:shortcircuit('foo') => [FORG0001] Cannot cast to xs:double: "foo". In http://www.w3.org/TR/xpath/#booleans