BaseX 7.9: The Summer Edition
Dear subscribers, in the midst of summertime, we provide you with a great new version of BaseX, our XML database system and XQuery 3.0 processor! This is what you get: XQUNIT - Unit testing has been improved a lot. All test functions will now be evaluated separately; this way, updates can be performed within test. - with the new TEST command, all test modules in a specified directory can be evaluated. - tests can be invoked from within the GUI editor and project view. - on command-line, the -t flag can be used for the same purpose. RESTXQ - Custom HTTP methods can be defined via %rest:method - Error handling has been improved and aligned with try/catch REST - The "run" operation allows execution of server-side command scripts DATABASE MODULE - parsing options added to db:create, db:add and db:replace As usual, various minor bugs and inconsistencies have been fixed in the latest version; check out our documentation and the GitHub history for more details! The latest version is available at http://basex.org. We are looking forward to your feedback, Christian BaseX Team
Hi Christian, Looking good. One minor issue, the *two* argument form of session:get [1] with a default seems to be broken. [XPST0017] Java function 'org.basex.modules.Session:get' is not found. Also regarding the wiki session documentation: The session get/set functions are documented as only taking string values but, usefully, they will take other data such as nodes. Is this a stable feature, that should be documented? /Andy [1] http://docs.basex.org/wiki/Session_Module On 27 June 2014 16:27, Christian Grün <christian.gruen@gmail.com> wrote:
Dear subscribers,
in the midst of summertime, we provide you with a great new version of BaseX, our XML database system and XQuery 3.0 processor! This is what you get:
XQUNIT - Unit testing has been improved a lot. All test functions will now be evaluated separately; this way, updates can be performed within test. - with the new TEST command, all test modules in a specified directory can be evaluated. - tests can be invoked from within the GUI editor and project view. - on command-line, the -t flag can be used for the same purpose.
RESTXQ - Custom HTTP methods can be defined via %rest:method - Error handling has been improved and aligned with try/catch
REST - The "run" operation allows execution of server-side command scripts
DATABASE MODULE - parsing options added to db:create, db:add and db:replace
As usual, various minor bugs and inconsistencies have been fixed in the latest version; check out our documentation and the GitHub history for more details!
The latest version is available at http://basex.org. We are looking forward to your feedback,
Christian BaseX Team
Hi Andy,
Looking good. One minor issue, the two argument form of session:get [1] with a default seems to be broken.
good catch; for some reason, the implementation of this function was set to private. I have just fixed this in the latest snapshot.
Also regarding the wiki session documentation: The session get/set functions are documented as only taking string values but, usefully, they will take other data such as nodes.
I couldn't reproduce this so far; do you have an example? Christian
I do not have aproblem with functionality, it is just a documentation problem - I think http://docs.basex.org/wiki/Session_Module#session:get and set should say *session:get*($key as xs:string) as item() or similar /Andy On 29 June 2014 13:30, Christian Grün <christian.gruen@gmail.com> wrote:
Hi Andy,
Looking good. One minor issue, the two argument form of session:get [1] with a default seems to be broken.
good catch; for some reason, the implementation of this function was set to private. I have just fixed this in the latest snapshot.
Also regarding the wiki session documentation: The session get/set functions are documented as only taking string values but, usefully, they will take other data such as nodes.
I couldn't reproduce this so far; do you have an example?
Christian
I do not have aproblem with functionality, it is just a documentation problem - I think http://docs.basex.org/wiki/Session_Module#session:get and set should say session:get($key as xs:string) as item() or similar
True; I have fixed the docs. Thanks, Christian
/Andy
On 29 June 2014 13:30, Christian Grün <christian.gruen@gmail.com> wrote:
Hi Andy,
Looking good. One minor issue, the two argument form of session:get [1] with a default seems to be broken.
good catch; for some reason, the implementation of this function was set to private. I have just fixed this in the latest snapshot.
Also regarding the wiki session documentation: The session get/set functions are documented as only taking string values but, usefully, they will take other data such as nodes.
I couldn't reproduce this so far; do you have an example?
Christian
participants (2)
-
Andy Bunce -
Christian Grün