[basex-talk] Server protocol bug?

2015-05-17 Thread alxarch
Hi, While testing for basex-stream i encountered a weird behavior in the OPTIONS query command. After creating the query ```xquery declare option output:method json; declare option output:json lax; json type=object/ ``` the response of OPTIONS was: `json=lax=true,method=json` Which seems

Re: [basex-talk] New BaseX client for nodejs

2015-05-17 Thread alxarch
Hi Andy, Thanks, I just fixed events monitoring too (v0.1.1). It appears that using node's Transform stream classes and combining them via pipes allows much cleaner code overall. I am new to Literate CoffeeScript also but using it in this package helped me understand the way my code would work

Re: [basex-talk] New BaseX client for nodejs

2015-05-17 Thread Andy Bunce
Hi Alex, Looks good and certainly cleaner than my effort :-). Literate CoffeeScript is new to me but, having struggled with asynchrous stream parsing in node, I do like the look of https://github.com/alxarch/basex-stream/blob/master/src/parser.litcoffee .I hope to give it try soon. Cheers /Andy

Re: [basex-talk] New BaseX client for nodejs

2015-05-17 Thread alxarch
Hi all, I released my new BaseX client for nodeJS https://www.npmjs.com/package/basex-stream It's currently in a usable state. I need to document and test some more. The source is in Literate CoffeeScript so documentation is visible in-place in github. The functionality will expand as new