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

2016-01-27 Thread E. Wray Johnson
With 8.4... declare option output:method "raw"; I get [SEPM0016] Value of 'method' must be one of (xml,xhtml,html,json,csv,text,adaptive,basex). On Sat, Jan 16, 2016 at 2:06 PM, Mike Engledew wrote: > If like me your using BaseX 8.3.1 don't forget to add ... > > declare option output:method "

Re: [basex-talk] bitmaps/binaries of variables

2016-01-27 Thread Christian Grün
I am afraid there is simple representation that could simply be used; and talking about comparisons, it’s not that easy to say if a function is equal to another, because we’d first need to define what equality is supposed to be. Maybe it will be better to follow the idea of extending fn:deep-equal,

Re: [basex-talk] bitmaps/binaries of variables

2016-01-27 Thread Rob Stapper
Hi Christian, I mean the binary representation of the value of a variable. At the moment, for comparing my user defined datatypes, which are functional data structures, I convert them to a strings and compare those. It works but it could do better. Being able comparing the binary images of valu

Re: [basex-talk] bitmaps/binaries of variables

2016-01-27 Thread Christian Grün
Hi Rob, > Is it somehow possible to get the bitmap/binary of a $variable or a > bitmap/binary-overlay of a $variable in BaseX? What do you mean by the "bitmap/binary of a $variable"? Talking about $variable, do you refer to the declaration of a variable or its references (see e.g. [1,2])? Christ

Re: [basex-talk] get and extract .gz files from web

2016-01-27 Thread Christian Grün
Hi Andy, >> Expecting to see "example.json" >> Could this be a bug? Indeed, GZIP may also contain filenames (2.3.1, [1]), but the relevant bytes are ignored by the Java standard library [2]. It would be possible to copy and update the class; let’s see. And hi Marc, > I also think that this coul

[basex-talk] bitmaps/binaries of variables

2016-01-27 Thread Rob Stapper
Hi, Is it somehow possible to get the bitmap/binary of a $variable or a bitmap/binary-overlay of a $variable in BaseX? Since there is no bitmap-datatype I guess it is probably not possible or straight forward but BaseX continues to surprise me (in a positive manner). So maybe? TIA for any

Re: [basex-talk] get and extract .gz files from web

2016-01-27 Thread Marc van Grootel
Hi Andy, Nice use of syntax (though you have to loose the semi-colon of course). Visually i like the arrow operator a lot. Looks like a visual pipeline "https://wiki.mozilla.org/images/f/ff/Example.json.gz"; => fetch:binary() => archive:extract-text() I also think that this could be