[basex-talk] BaseX for noobs: C++ API ?

2014-01-03 Thread jean-marc Mercier
Hi all, going back to the root... I am trying to connect my favorite C++ tools to BaseX. Unfortunately, I am using visual C++ 12 Express under windows 7. It seems that windows users will not be able to use the existing BaseX API C connector, and need another one. Thus I started to code a C++

Re: [basex-talk] Java bindings - ambiguous Signature

2014-01-03 Thread Andy Bunce
Or maybe better with a pragma e.g. return tika:parse( (# basex:java-type java:java.io.File #){$file} ) On Thu, Jan 2, 2014 at 5:42 PM, Andy Bunce bunce.a...@gmail.com wrote: Hi, In my ongoing attempts to use various Java libraries, without writing any Java myself, I have trying

Re: [basex-talk] BaseX for noobs: C++ API ?

2014-01-03 Thread jean-marc Mercier
Hi Dirk, Thanx for your answer. Indeed, I tried to install the existing C API. For windows user : Some *.h, *.c files of the BaseX C API seems to work only with a gcc compiler. Some others one don't even exists under windows, at least I did not found them : 1) the BaseX C API seems to use the

Re: [basex-talk] Java bindings - ambiguous Signature

2014-01-03 Thread Florent Georges
Yet another solution (probably the one I prefer) would be to write your own Java class, exposing exactly the API you need, taking care of the interface between XQuery and Java, and deferring actual hard work to the library. Regards, -- Florent Georges http://fgeorges.org/

Re: [basex-talk] Java bindings - ambiguous Signature

2014-01-03 Thread Andy Bunce
Yes and I have now done that for this case. However when prototyping it is sometimes nice to quickly try things out to see what might work without the burden of firing up a Java IDE, managing the source etc. Regards /Andy On Fri, Jan 3, 2014 at 11:05 AM, Florent Georges

[basex-talk] Urgent Help, concurrently update db cause db error, how???

2014-01-03 Thread easy
Hi,all, I have a restxq web service to do insert or update xml doc , which is called by many clients to provide xml data to db, there will be 50 files to provide to basex server. I have found some problem few times : 1) often, after insert tens of thousands xml file, the db list

Re: [basex-talk] insert cause db error, often.

2014-01-03 Thread easy
Thanks. with bin/basexhttp -S java -Xmx514523136 -cp org.basex.BaseXHTTP -D -S -- 此致 easy 莫愁前路无知己,天下谁人不识君。 At 2014-01-03 15:03:48,Liam R E Quin l...@w3.org wrote: On Fri, 2014-01-03 at 14:47 +0800, easy wrote: I lost faith almost. do insert doc continuously ,query