Re: [basex-talk] Performance and benchmark

2014-12-18 Thread Pascal Heus
Florent: We run BaseX on EC2 micro and small instances without significant issue (though AWS servers, particularly micro/small, are not known for their high performance). Have you tried on a different instance type? Not sure how heavily loaded your instance is but understand that the t2 instance t

[basex-talk] Upgrades and version compatibility

2014-12-12 Thread Pascal Heus
Is there any documentation available around database compatibility across BaseX versions? For example, can I use a 7.6 database with 7.7 / 7.8 / 7.9 / 8.0 etc.? If I opena 7.6 database with 7.9, it may work may can the database still be used with 7.6 if I make any change? I we want to convert a 7.6

Re: [basex-talk] running BaseX 8.0 under OSX 10.6.8?

2014-12-01 Thread Pascal Heus
MacOS by default come with Java version 1.6. You'll need to manually install Java 7 or higher: https://www.java.com/en/download/faq/java_mac.xml best *P On 11/29/14, 4:55 PM, C. M. Sperberg-McQueen wrote: > When I attempt to run the copy of BaseX 8.0 I just downloaded under > OS X 10.6.8, I get

Re: [basex-talk] -i command line option

2014-05-19 Thread Pascal Heus
Christian: Just tried with 7.8.2 and same issue. I can send you the DB if you like. Here is something interesting: If I run "info database" after starting from command line, I see Nodes: 0 / Documents: 0 / Binaries: 0 After I "open", I see Nodes: 1187661 / Documents: 27 / Binaries: 0 best *P

[basex-talk] -i command line option

2014-05-13 Thread Pascal Heus
Am trying to run BaseX form the command shell to execute a xquery on a specific database. I'm however a bit confused by the -i command line option. If I start BaseX as follows: java -Xmx512m -cp "/Users/pascal/git/dwb/lib/BaseX77.jar" -Dorg.basex.DBPATH=../BaseXdata org.basex.BaseX -*ifoo* which i

Re: [basex-talk] 7.7.x UI freeze

2013-12-23 Thread Pascal Heus
Lukas: Similar problem. Actually assumed it was related to the DB format as I created a new database using 7.7.2 and it then worked fine. I then closed and restarted BaseX and got the same freeze issue. But guess what, I actually can see this happening with the 7.6 jar as well. So probably a system

[basex-talk] 7.7.x UI freeze

2013-12-23 Thread Pascal Heus
Recently upgraded to 7.7.2 from 7.6 and getting UI freeze on MacOSX when I try to open existing databases. When opening from the interactie command prompt, I get a message that the format has changed and I need to rebuild indexes. No problem if I create a new database. Anyone else experiencing simi

Re: [basex-talk] Accesseing DB Path summary from XQuery?

2013-07-31 Thread Pascal Heus
; >> System.out.println(Token.string(ctx.data.info(IndexType.PATH))); >>} catch(Exception e) { >> e.printStackTrace(); >>} >> >> Kind regards, >> Andreas >> >> Am 28.10.2010 19:38, schrieb Pascal Heus: >>> Hi: >>>

Re: [basex-talk] SET command?

2013-05-08 Thread Pascal Heus
itionally, the error feedback is quite > misleading. I would opt for a slightly changed error message like > "Unknown local option X" as it gives the user an indication that there > are local/global options and this is not a local one. > > Cheers, > Dirk > > >

[basex-talk] SET command?

2013-05-08 Thread Pascal Heus
Having a weird behavior with the SET command as I can'r seem to change any option. Just launching from the shell using the "basex" script, I can GET but not SET. I must be doing something obviously wrong This is with 7.6 on MacOSX. BaseX 7.6 [Standalone] Try help to get more information. > GE

Re: [basex-talk] Linking BaseX to Fuseki RDF triplestore over http

2013-03-07 Thread Pascal Heus
Peter: Thanks for sharing this. One of the concern I have with using RDF-XML and BaseX is the limit of 256 namespaces per database. Any thoughts of that topic? best *P On 3/7/13 10:43 AM, p...@themail.co.uk wrote: > Hi List > You might be interested in > http://www.slideshare.net/PeterWinstanley1/

Re: [basex-talk] BaseX: moving to Java 7?

2013-02-25 Thread Pascal Heus
Christian: A significant percentage of end user desktops still run Java 6 and it remains at least for now our baseline. Could be a significant issue to require 7. thanks *P On 2/25/13 10:16 AM, Christian Grün wrote: > Dear subscribers, > > as you may know, the source code of BaseX is still based o

Re: [basex-talk] 256 namespaces limit

2013-01-15 Thread Pascal Heus
Hi Christian: I think this might also be relevant feature for those who want to store RDF-XML in BaseX. Though I would in general rather use a triple-store for RDF which is more appropriate. best *P On 1/14/13 1:09 PM, Christian Grün wrote: > Hi Gerrit, > > the extension of the namespace limit is

Re: [basex-talk] Counting groups

2012-07-17 Thread Pascal Heus
> return > for $something at $pos in $somethings > return... > > Hope this helps, this is the best I can think of at the moment :) > > Kind regards > Michael > Am 17.07.2012 um 13:29 schrieb Pascal Heus: > >> All: >> In a group by query expression li

[basex-talk] Counting groups

2012-07-17 Thread Pascal Heus
All: In a group by query expression like for $varGrp at $pos in local:getVariables($from,$to) group by $name := string($varGrp/@name) return is there any way to get a value or position for the group count? In my particular use case, I used this to generate an HTML table and I would like to

Re: [basex-talk] text / csv ouput - extra white space padding

2012-07-05 Thread Pascal Heus
Christian: option#2 is great, hope it find its way in the standard (add my vote to it) best *P On 7/3/12 10:24 PM, Christian Grün wrote: > Hi Pascal, > > you can either create a new, single string via the fn:string-join() function… > > string-join(for $i in 1 to 10 return "x"," ") > > …or use th

[basex-talk] text / csv ouput - extra white space padding

2012-07-03 Thread Pascal Heus
All: Anyone has a little xquery / basex tip in getting rid of the extra white space that shows up at the beginning of each line after the first in the following xquery for $i in 1 to 10 return concat("x"," ") which in the UI returns x x x x x Just need a text output going to csv but this extra

Re: [basex-talk] Basex + rdbms

2012-06-20 Thread Pascal Heus
Oliveira: Just curious as to why you would like to do this? I'm a big supporter and user of BaseX but Oracle has support for XML (http://www.oracle.com/technetwork/database/features/xmldb/index.html), why not use it directly? One option I would recommend if you need a hybrid DB solution is IBM DB

Re: [basex-talk] Who is using...?

2012-05-25 Thread Pascal Heus
Christian: We're not using either of these features but I'm more concerned here about the long term stability of the package here. Removing features may be very inconvenient or even create significant issues for existing users. I think ensuring that future versions of the package remains backward c

Re: [basex-talk] Preferred way to run BaseX as service on Debian

2012-05-11 Thread Pascal Heus
Manuel: I wrote a while ago a note around deploying BaseX on an Amazon EC2 Linux instance. This includes a rudimentary init.d script. See https://docs.google.com/a/metadatatechnology.com/document/d/1uuqeL7n73MC6tAFQ_0kuH6V2p2vJB0OD4tyPWnBsu_A/edit This might be helpful to your Debian use case. best