Re: [basex-talk] JSON or JSONML output formatting

2014-07-16 Thread James Malvi
Use this tool to analyze/convert tour json object http://codebeautify.org/view/jsonviewer

Re: [basex-talk] What is the best way to implement an async REST method?

2014-07-16 Thread Andy Bunce
That marklogic link should have been: http://docs.marklogic.com/xdmp:spawn On 16 July 2014 09:55, Andy Bunce bunce.a...@gmail.com wrote: Hi Micheal, I think there may be a problem with the idea of using RESTXQ. My experience is that something stops requests after a minute or so, maybe it

Re: [basex-talk] What is the best way to implement an async REST method?

2014-07-16 Thread Marc van Grootel
Exactly that would've been my followup question. We cannot spawn a call in BaseX xquery, which is required in order to give a quick response but have the processing continue. I've asked this also because I think this async pattern is an important one for web services in general. On Wed, Jul

Re: [basex-talk] What is the best way to implement an async REST method?

2014-07-16 Thread Marc van Grootel
Although a plain spawn would already be helpful, I think the 28msec implementation is much more than this, with queues and all. Surprises me that MarkLogic doesn't have other concurrency/async mechanisms than this? Eventually I would love to see something like the mechanisms that are available in

Re: [basex-talk] What is the best way to implement an async REST method?

2014-07-16 Thread Christian GrĂ¼n
...thanks a lot for your suggestions. Feel free to continue the discussion, and we'll do our best to find out how your ideas can be aligned with our architecture! On Wed, Jul 16, 2014 at 1:40 PM, Marc van Grootel marc.van.groo...@gmail.com wrote: Although a plain spawn would already be helpful,

[basex-talk] Ripple of effect of db corruption

2014-07-16 Thread France Baril
Hi, In the end of May we had issue with a BaseX release that was corrupting our DBs. We were able to identify this pattern: 1) Update/insert @status on the root element of multiple files. Eveything seems fine here, but something occured that made the DB unstable. We can read data without