[basex-talk] Fwd: Re: Status of BaseX Docker Container?

2016-01-29 Thread Christian Grün
-- Weitergeleitete Nachricht -- Von: "Eliot Kimber" Datum: 27.01.2016 6:25 nachm. Betreff: Re: [basex-talk] Status of BaseX Docker Container? An: "Christian Grün" Cc: > I have successfully created a new image based on the base

[basex-talk] Fwd: Re: Status of BaseX Docker Container?

2016-01-29 Thread Christian Grün
-- Weitergeleitete Nachricht -- Von: "Eliot Kimber" Datum: 28.01.2016 11:57 nachm. Betreff: Re: [basex-talk] Status of BaseX Docker Container? An: "Christian Grün" Cc: > Refined the dfst/basex container definition and figured out

Re: [basex-talk] Java client and binary files

2016-01-29 Thread E. Wray Johnson
Yes the code I modified is indeed [1] java/org/basex/examples/api/BaseXClient.java The following line was needed to handle the first byte of the query result. if (in.read() > 0) I

Re: [basex-talk] Java client and binary files

2016-01-29 Thread Christian Grün
> However, what I really need is a way to do db:store and db:replace via > Xquery with an InputStream (e.g. without requiring the open/close commands). That will be difficult, because data to be inserted may occur anywhere inside an XQuery expression.. > > > On Fri, Jan 29, 2016 at 4:50 AM,

Re: [basex-talk] Java client and binary files

2016-01-29 Thread E. Wray Johnson
Yes, I figured that. I would have been nice if the ADD(09), REPLACE(0C), STORE(0D) protocol commands would have accepted a database name as a first parameter, like their corresponding Database Module functions. This would make it easier to work on multiple databases. On Fri, Jan 29, 2016 at

Re: [basex-talk] Unrecognized Options Running Basex in Docker Container

2016-01-29 Thread Christian Grün
Difficult to tell what may go wrong.. What is output if you start basexhttp in debugging mode (with -d)? Am 29.01.2016 1:10 vorm. schrieb "Eliot Kimber" : > > I'm seeing a difference in how the .basex file is processed between > running a server under OS X directly and

Re: [basex-talk] Java client and binary files

2016-01-29 Thread Christian Grün
Please be more specific: Could you give me the exact reference to the class you have extended? If it’s [1], the following might work: public void execute(final OutputStream output) throws IOException { out.write(4); send(id); receive(in, output); if(!ok()) throw new

Re: [basex-talk] Unrecognized Options Running Basex in Docker Container

2016-01-29 Thread Eliot Kimber
Looks like debug gives no extra info: basex@f2c1e3d6f9db:~$ basexhttp -d /home/basex/.basex: Unknown option 'CATFILE'. /home/basex/.basex: Unknown option 'DTD'. /home/basex/.basex: Unknown option 'SKIPCORRUPT'. /home/basex/.basex: Unknown option 'CHOP'. /home/basex/.basex: writing new

Re: [basex-talk] tumbling window and db:add in same expression

2016-01-29 Thread Christian Grün
Hi Constantine, Thanks for the hint; check out the latest snapshot [1]. Cheers, Christian [1] http://files.basex.org/releases/latest/ ___ On Sat, Jan 30, 2016 at 1:13 AM, Hondros, Constantine (ELS-AMS) wrote: > Hello all, > > BaseX

Re: [basex-talk] Unrecognized Options Running Basex in Docker Container

2016-01-29 Thread Eliot Kimber
I appears to have been an issue with the configuration file itself (probably a Windows vs Linux line endings problem). When I took Michael Seiferle's advice and appended my settings to the base catalog, rather than replacing it entirely, it worked as expected. I've replaced my use of my own