Re: [basex-talk] BaseX - questions about few issues

2017-06-06 Thread Dirk Kirsten
te BaseX users. Is Active Directory account >> support in road-map, especially support for AD groups? It would be much >> appreciated. > Not yet. Sorry, I cannot give you any timeline, because it currently > has no high priority for us. > > >> 7) BaseX supports http prot

Re: [basex-talk] File name changed

2017-05-11 Thread Dirk Kirsten
$e_3/*:p) > - swapping operands: (f = $e_3/*:f) > - rewriting ((p = $e_3/*:p) and (f = $e_3/*:f)) to predicate(s) > - pre-evaluating boolean((p = $e_3/*:p)) > - pre-evaluating boolean((f = $e_3/*:f)) > - rewriting singleton for to let > - inlining $s_1 > - converting descendant:

Re: [basex-talk] Characters allowed in database names

2017-04-12 Thread Dirk Kirsten
e’, or at least update > the documentation on this? Which characters are allowed, and which aren’t? > > > > > > Thanks in advance, > > Kind regards > > > > Bram Vanroy > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstras

Re: [basex-talk] systemd basex.service ubuntu 16.04

2017-04-10 Thread Dirk Kirsten
ination for launch basexhttp as a > service using systemd? > > If not, what is the suggested method to auto launch on reboot. > > Cheers, > Steve -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 70

Re: [basex-talk] Basexhttp on ubuntu

2017-03-12 Thread Dirk Kirsten
. Cheers Dirk On 03/12/2017 07:43 PM, Trevor Sewell wrote: > I’ve Installed base via apt on ubuntu 16.10 > I can run basex, basexserver but not basexhttp, > the command is not found > > please advise -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56,

Re: [basex-talk] Flush command and data corruption

2017-03-09 Thread Dirk Kirsten
LUSH > etc. > > Instead I'm observing > ADD > FLUSH > ADD > FLUSH > ADD > FLUSH > (etc) > then > ADD > ADD > ADD > (lots of them) > ERROR > > > So for now I'm keeping autoflush on :) but is there anything obvious I >

Re: [basex-talk] preserve auth behavior like older basex versions

2017-03-05 Thread Dirk Kirsten
t; enforced and cannot be overwritten by client. > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 91 68 276, Fax: 0049 7531 20 05 22

Re: [basex-talk] Exit a for-loop?

2017-02-27 Thread Dirk Kirsten
and I would like to write a for-loop for > comparison, so that I get only the first match between the numbers. I > was thinking of a double for-loop, but I do not know how to exit the > comparison as soon as I get the first match. Any idea? Thanks. > > Joseph -- Dirk Kirste

Re: [basex-talk] Somewhat unusual question

2017-02-24 Thread Dirk Kirsten
ipulation many years ago. I wouldn't change it with anything >>>>> else and >>>>> BTW >>>>> we're using it (thanks to the incredible BaseX runtime) much beyond >>>>> data-processing being it the backbone of all our micro-service >&g

Re: [basex-talk] Gzip/RESTXQ

2017-02-22 Thread Dirk Kirsten
ve data transmission: if the database is used for storage (where the > data are in binary form), is the gzip option still useful? > > Compression is always useful if you transfer data that can still be > reduced in size. In other words, if you store JPG files, compressi

Re: [basex-talk] Somewhat unusual question

2017-02-22 Thread Dirk Kirsten
there anyone that has experience with other tools or > languages that can be compared with XQuery when used for XML querying, > generation, transformation, templating, composition and so on? > > Thanks a lot! > > Marco. > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- F

Re: [basex-talk] Gravierende Performance-Einbüße bei Persistierung von mehr als 5000, 160 KB große XML Datenstrukturen.

2017-01-10 Thread Dirk Kirsten
-------- > *Von:* basex-talk-boun...@mailman.uni-konstanz.de > [basex-talk-boun...@mailman.uni-konstanz.de]" im Auftrag von "Dirk > Kirsten [d...@basex.org] > *Gesendet:* Dienstag, 10. Januar 2017 12:52 > *An:* basex-talk@mail

Re: [basex-talk] Gravierende Performance-Einbüße bei Persistierung von mehr als 5000, 160 KB große XML Datenstrukturen.

2017-01-10 Thread Dirk Kirsten
ten, oder > können wir diese Persistierungs-Zeiten drastisch optimieren (und wenn > ja, wie)? > > > Mit freundlichen Grüßen, > Lucian Bularca > > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HR

Re: [basex-talk] xquery for position

2016-12-01 Thread Dirk Kirsten
th compiling the XQuery files > (without this, I have cases of very slow or freezing compilations). > > p.s2 I've also had issues this with Saxon involving $pos. > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht F

Re: [basex-talk] Cannot insert node into empty db/collection

2016-10-06 Thread Dirk Kirsten
cuments (xml files) to add > initially as the root elements will be created programmatically (basex > embedded mode). > the db:add() command needs an initial input: Is there a way to create > an empty document? > > Thanks. > > 2016-10-06 18:29 GMT+02:00 Dirk Kirsten <

Re: [basex-talk] Cannot insert node into empty db/collection

2016-10-06 Thread Dirk Kirsten
t; > XQuery: > insert node into / > > Error: > [XUDY0027] Insert target is an empty sequence. > > How can I populate an empty database? - I am using basex 8.5.3. > > Thanks! -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Ko

Re: [basex-talk] Upgrade from 7.9 to 8.3

2016-09-07 Thread Dirk Kirsten
drive crash; > > - the PHP basex client is on server D, this file has not been > changed either. > > > > So I am guessing that either we need to update one of our files, OR > we’d need to re-import our data into the new BaseX server. Do you have > any idea how t

Re: [basex-talk] REST API not working

2016-09-01 Thread Dirk Kirsten
re with > version 8.4 > I know the server is listening because it hangs and does not return, > which does not occur when the server is stopped./ > / > > On Wed, Aug 31, 2016 at 9:15 AM, Dirk Kirsten <mailto:d...@basex.org>> wrote: > > Hello, > >

Re: [basex-talk] REST API not working

2016-08-31 Thread Dirk Kirsten
well, that makes sense :) On 08/31/2016 03:17 PM, Bram Vanroy wrote: > Just a guess, but I think he means Windows Server 2012! > > -Oorspronkelijk bericht- > Van: basex-talk-boun...@mailman.uni-konstanz.de > [mailto:basex-talk-boun...@mailman.uni-konstanz.de] Name

Re: [basex-talk] REST API not working

2016-08-31 Thread Dirk Kirsten
erver is listening but hangs and > never returns anything. When server is killed behavior is different so I can > tell the server was listening on the REST port when running. I am not > confusing the TCP port with REST port. -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensi

Re: [basex-talk] Basex server ports

2016-08-31 Thread Dirk Kirsten
STOPPORT > > > > Which of these cannot be the same when running a BaseX server on the > same machine? > > > > > > Thank you in advance > > > > Bram Vanroy > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 5

Re: [basex-talk] Using the same database in many BaseX instances

2016-08-24 Thread Dirk Kirsten
tabase (and files) between many instances > as far as database is access read-only ? > 2 - is there a way to configure a database to be read-only ? > 3 - why symbolic links were perfectly usable with 4 instances, and do > not with 8 instances ? (Hum I have to try symlinks with only 4 >

Re: [basex-talk] REST API performance, massive disk IO

2016-08-24 Thread Dirk Kirsten
; > root@koala:/tmp# head trace.log > > 38813 14:23:12 open("/srv/BaseXData/mets/pth.basex", > O_WRONLY|O_CREAT|O_TRUNC, 0666) = 129 > > 38797 14:23:12 open("/srv/BaseXData/mets/inf.basex", O_RDONLY) = 76 > > 38797 14:23:12 open("/srv/BaseXData/mets/t

Re: [basex-talk] JBoss 6.4 and BaseX 8.4

2016-07-22 Thread Dirk Kirsten
cut Department of Public Health > > 410 Capitol Ave > > Hartford, CT 06134 > > Phone: 860-509-7434 > > carl.bonde...@ct.gov <mailto:carl.bonde...@ct.gov> > > logosmall > > > > *From:*basex-talk-boun...@mailman.uni-konstanz.de > [mailto:basex-ta

Re: [basex-talk] JBoss 6.4 and BaseX 8.4

2016-07-22 Thread Dirk Kirsten
SWORD); > > > > > > This next log4j output is never seen in the log file > > > > > instance.basexlog.trace("BaseXDictionary: BaseX: Client Session > created "); > > > > > > Any JBoss u

Re: [basex-talk] Behaviour of db:open('mydb') update {} in updating functions

2016-07-22 Thread Dirk Kirsten
re. > > Example: > declare variable $_:PUB := db:open('PUB') update {}; > > Then, inside updating function: > > let $sec := $_:PUB//Section[@Guid = $id] > return replace node trace($sec) with changed > > There is no error whatsoever, the update simply doesnt hap

Re: [basex-talk] Off topic: on leave

2016-07-13 Thread Dirk Kirsten
if the programme is not smart > enough, and you keep getting automated replies, feel free to manually > unsubscribe me. I haven’t done that myself, because I’d like to read > the list when I get back. > > > > > > Good bye! > -- Dirk Kirsten, BaseX GmbH, http://ba

Re: [basex-talk] Who uses XQuery update? Dedicated wiki page for index updates?

2016-07-12 Thread Dirk Kirsten
t;> details of index updates and optimization. >>> >>> Maybe this deserves a top-level page in the wiki? Then we would have: >>> >>> * Indexes: Explains about what is there >>> * XQuery Update: How to use >>> * Index Configuration: How to config

Re: [basex-talk] Seeing this error a lot lately (since 8.5-snapshots)

2016-07-07 Thread Dirk Kirsten
I saw a similar error > on work project too. > > Not sure what's going on. I will try snapshot this evening at home to > see if it can make the error go away. > > Thanks, > --Marc > > > > On Thu, Jul 7, 2016 at 9:53 AM, Dirk Kirsten wrote: >> Hi Mar

Re: [basex-talk] Seeing this error a lot lately (since 8.5-snapshots)

2016-07-07 Thread Dirk Kirsten
rcvangrootel/projects/xml/book/chapters/test.xml" > Stopped at /Users/marcvangrootel/projects/xml/c4/test/demo.xq, 30/20: > [XUDY0016] Documents in path 'docbook/chapters/mu.xml' can only be > replaced once. > > Odd! > > --Marc -- Dirk Kirsten, BaseX GmbH,

Re: [basex-talk] Tagsoup on Web app

2016-06-24 Thread Dirk Kirsten
Ben Mitchell kirjutas: >> >> Hi, >> >> >> >> Do you know if there is a simple way to install the tagsoup parser in >> the basex web app servlet - If so, is there an instruction set? >> >> Also, are there any plans to update the Ubuntu reposito

Re: [basex-talk] Tagsoup on Web app

2016-06-24 Thread Dirk Kirsten
lso, are there any plans to update the Ubuntu repositories with the > latest versions? > > > > Many thanks > > Ben > > > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 70828

Re: [basex-talk] question about http server

2016-06-20 Thread Dirk Kirsten
lk about 3.xml > > 2.xml talk about 7.xml > > 2.xml talk about 14.xml > > 2.xml talk about 11.xml > > > > > > > but supposing i want to put it in my host server. if possible, i > will put > > > them where? and what i have to change in php co

Re: [basex-talk] multiple inserts/update/deletes in single transaction

2016-05-20 Thread Dirk Kirsten
action". Clearly it can be > understood in a wrong way. > > Cheers > Kristian > > 20.05.2016 09:59 Dirk Kirsten kirjutas: >> >> Hello Genneva, >> >> this is expected behaviour. BaseX script executed each command >> separately. This is by design

Re: [basex-talk] Stopping the http server

2016-05-20 Thread Dirk Kirsten
ch part? > > I'm a programmer, not a sysadmin, so it might be a basic question, > but I'm not finding anything in the doc. > > > > > -- > France Baril > Architecte documentaire / Documentation architect > france.ba...@architextus.com <mailto:

Re: [basex-talk] multiple inserts/update/deletes in single transaction

2016-05-20 Thread Dirk Kirsten
er executing this script, I’m seeing > embedded7.xml have been added. > > Would you be able to confirm if this is the expected behavior ? If so, > is there anyway that I can batch multiple inserts and ensures that > these batch of files can be committed at the same time, and rollbac

Re: [basex-talk] Basex: basexhttp Failing to Start with "Server is running or permission was denied"

2016-05-18 Thread Dirk Kirsten
me errors). > Am not sure what is not OK. > > Can you give me pointers to resolve this? > > Cheers > > -- > :: Sovello Hildebrand Mgani :: > > > > --If you teach man to fish, you'll feed him a lifetime-- -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |--

Re: [basex-talk] question

2016-05-17 Thread Dirk Kirsten
> > Is there some other ;-) clever way to retrieve a path to a random > element that is being processed? > > > > TIA for your reply, > > > > Rob Stapper > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Regi

Re: [basex-talk] How to restrict access to restxq functions just for the same domain

2016-05-13 Thread Dirk Kirsten
disabling REST Service in > web.xml (BaseX.war deploymented on Tomcat), but this does not happen. > The surprise is that the functions are accessible from anywhere, if > access is not protected by other methods. > > I'm doing wrong, what should be setting? I use BaseX 8.3. > > T

Re: [basex-talk] Xquery recursion and db:add() - stack overflow

2016-05-12 Thread Dirk Kirsten
boun...@mailman.uni-konstanz.de> on behalf > of Johan Mörén" <mailto:basex-talk-boun...@mailman.uni-konstanz.de> on behalf of > johan.mo...@gmail.com <mailto:johan.mo...@gmail.com>> wrote: > > >Maybe there is some other way to get the data over. I&#x

Re: [basex-talk] dba lags on replace resource

2016-05-11 Thread Dirk Kirsten
ot see any other difference and I used a "latest > release" of few days ago (8.4.4 beta 6d8606a). > Hope this can help you. > M. > > On 11/05/2016 15:09, Dirk Kirsten wrote: >> Hello Marco, >> >> sorry for letting you wait. It sound like a bug in the DBA. H

Re: [basex-talk] dba lags on replace resource

2016-05-11 Thread Dirk Kirsten
correct > (showing the only one resource). > Feels like dba is somehow lagging the information displayed with > respect to the db content .... > Regards, > Marco. -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht

Re: [basex-talk] Xquery recursion and db:add() - stack overflow

2016-05-11 Thread Dirk Kirsten
t instance of node()) then > $http-request >else > {$http-request} > > let $resume := $result//oai:resumptionToken/text() > return ( > db:add($database,element chunk {$result//oai:metadata}, > $path) , >

Re: [basex-talk] Stopping the http server

2016-05-10 Thread Dirk Kirsten
X > start/stop server scripts? > > Thanks! > > -- > France Baril > Architecte documentaire / Documentation architect > france.ba...@architextus.com <mailto:france.ba...@architextus.com> > > -- > France Baril > Architecte documentaire / Documentation architect &g

Re: [basex-talk] XLSX to XML

2016-04-06 Thread Dirk Kirsten
my own. :) > > Thanks, best, > Florian > > > > > Am 06.04.16, 12:26 schrieb "Dirk Kirsten" : > >> Hello Florian, >> >> xlsx is just a zip file containing many xml files. you can simply unzip >> the xlsx (e.g. by using the BaseX zip mo

Re: [basex-talk] XLSX to XML

2016-04-06 Thread Dirk Kirsten
are there any ideas how to convert excel's xlsx (not xls) files to xml > with XQuery or to use a Java library which can be imported? It looks > like BaseX has no internal functions as for instance MarkLogic. > > Any ideas or example implementations to do that in XQuery or Java? >

[basex-talk] XQuery Introduction in French

2016-04-05 Thread Dirk Kirsten
ies/XQuery%20pour%20les%20Humanit%e9s%20Num%e9riques.pdf This introduction and some others introductions and further material to get you started can be found at http://docs.basex.org/wiki/Getting_Started#Tutorials_and_Slides Bien cordialement Dirk -- Dirk Kirsten, BaseX GmbH, http://ba

Re: [basex-talk] Sharing a read-only database between multiple BaseX instances

2016-03-19 Thread Dirk Kirsten
t; > oxiane > > 98, avenue du Général Leclerc > 92100 Boulogne-Billancourt > Standard : (+33)1 55 60 76 72 > Fax : (+33)1 55 60 76 73 > www.oxiane.com <http://www.oxiane.com> > > > Notre catalogue formations 2016 > > Notre catalogue formations 2015 &

Re: [basex-talk] Repository. Verwendung von Modulen.

2016-03-15 Thread Dirk Kirsten
; http://docs.basex.org/wiki/Repository habe schon auch gelesen. > > > Wenn ich aber direkt den Inhalt der Funktion „getGroups()“ ausführe, > dann alles funktioniert wunderbar. > > Ich verstehe nicht, woran liegt das Problem. Oder wie meinen Aufruf > der Funktion richtig ausseh

Re: [basex-talk] Parallel execution

2016-03-02 Thread Dirk Kirsten
ma could also be attached to the return expression, but in > many cases (in particular after function inlining), FLWOR expressions > can get pretty complex, and it would be a non-trivial task to choose > the best for clause for parallelization. > > Christian -- Dirk Kirsten, BaseX Gm

Re: [basex-talk] Parallel execution

2016-03-02 Thread Dirk Kirsten
will be > more easily accessible to most users. Ideally, some time in future, we > could then apply this pattern automatically if it will be absolutely > clear that parallelization leads to faster results. > > Everyone: If you notice that the async:fork-join function

Re: [basex-talk] Parallel execution

2016-03-02 Thread Dirk Kirsten
ut on its own that the fetch can be done in parallel. > Why does this not work out of the box? Can it work out of the box? > Wouldn't it be able to do this in parallel if a flag > `can-be-optimized-for-parallel-execution` was defined for the > `fetch:text`? > > -- >

Re: [basex-talk] About user names

2016-02-28 Thread Dirk Kirsten
future? > > -- > France Baril > Architecte documentaire / Documentation architect > france.ba...@architextus.com <mailto:france.ba...@architextus.com> -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HR

Re: [basex-talk] BaseX and Git versioning of XML at the same time

2016-02-10 Thread Dirk Kirsten
uot;Mario Stefanelli" > Department of Electrical, Computer and Biomedical Engineering > University of Pavia, Italy > e-mail: enea.parimbe...@gmail.com <mailto:enea.parimbe...@gmail.com> > phone: +39-0382-985057 +39-0382-985981 > > http://www.labmedinfo.org/people/parim

Re: [basex-talk] Embedding BaseX in Clojure web app, pointers needed

2016-01-19 Thread Dirk Kirsten
point? > > - Is the TCP client generally slower than via the Java API? A couple > of queries via clj-basex didn't impress me much qua speed (compared to > same query via the GUI). > > Any starting points or general considerations that could help me prune > the (re)search t

Re: [basex-talk] Security

2016-01-15 Thread Dirk Kirsten
. No doubt there are more desiderata. E.g. one might conceivably > want to be able to grant permissions at the node level within a document. > > > > Any pointers? > > > > Best, > > > > Tim Finney > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de

Re: [basex-talk] Sizing BaseX Server

2015-12-01 Thread Dirk Kirsten
@mailman.uni-konstanz.de >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of BaseX-Talk digest..." >> >> >> Today's Topics: >> >> 1. Re: Sizing BaseX Server (Dirk Kirsten) >>

Re: [basex-talk] Sizing BaseX Server

2015-12-01 Thread Dirk Kirsten
e.com> > > > Notre catalogue formations 2015 > > Notre catalogue formations 2015 > <http://www.oxiane.com/wp-content/uploads/2014/12/Oxiane_Catalogue-Formation-2015.pdf> > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |--

Re: [basex-talk] RESTXQ : existing annotation for response headers ?

2015-11-30 Thread Dirk Kirsten
; > > Is there an annotation to set header values directly in the function > declaration ? > > > > Best regards, > > Fabrice > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22

Re: [basex-talk] Cant add raw files explicitly or text index ms office docs

2015-11-25 Thread Dirk Kirsten
a single db:add method that > allowed me to specify a map of filters to parsers with options, where > all files that do not match a filter (or are invalid) will be > optionally added as raw. -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Kons

Re: [basex-talk] BaseX request from Saxon XSL transformation

2015-11-18 Thread Dirk Kirsten
; Hello, > > > > I have to query a BaseX database from a XSL transformation. Does > someone has ever done this ? I have no idea where to look in... > > I use SaxonEE, so I can write an extension function, if needed... > > > > Best regards, > > Christophe

Re: [basex-talk] Treating SQL Results

2015-11-16 Thread Dirk Kirsten
Adaptation in a Traffic Control > System > José Pacheco de Almeida Prado > > ... > > > > The file contains titles for articles and their authors.. > > I was asked to develop a query that returns the author's name followed > by the titles of all

Re: [basex-talk] Typo in docs?

2015-11-13 Thread Dirk Kirsten
returns > > http://basex.org/modules/json";> > > > > > > If it's confirmed I could proceed with fixing it. > Regards, > Marco. -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht

Re: [basex-talk] Generating consecutive integers in a for loop

2015-10-20 Thread Dirk Kirsten
ut I have a hard time dealing with >> autocomplete: is there a way to disable it in the txt editor? >> >> You can disable "Automatically add characters" in the Preferences >> dialog. Could you please detail which autocompletions are particularly >> confusi

Re: [basex-talk] BasexGui

2015-10-18 Thread Dirk Kirsten
there a way to disable it in the txt editor? > > I think that it would also be very useful to allow view of whitespaces and > tabs and have a function to prettify the code itself (do you know any for > xquery?) > > Thank you very much for your work! > > Joseph -- Dirk

Re: [basex-talk] xml-to-json vs json:serialize

2015-10-16 Thread Dirk Kirsten
fills an important *gap* in the XQuery spec: a > natural (to use your word) XML representation of JSON trees. > > Cheers, > Hans-Jürgen > > > > Dirk Kirsten schrieb am 12:21 Freitag, 16.Oktober 2015: > > > Hello Marco, > > I am also not sure about the rationale of your qu

Re: [basex-talk] xml-to-json vs json:serialize

2015-10-16 Thread Dirk Kirsten
n jt:service() > { > xml-to-json( > http://www.w3.org/2005/xpath-functions";> > 12345678 > ) > }; > > declare > %rest:path("testreq") > %output:method("text") > %output:media-type("application/json") > function j

Re: [basex-talk] ADD command

2015-10-09 Thread Dirk Kirsten
iza > > http://avitech.aero <http://avitech.aero/> > > > > This message may contain confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please notify

Re: [basex-talk] problem with prepared

2015-09-10 Thread Dirk Kirsten
dbc.Driver"), > >> $conn := > >> > sql:connect("jdbc:mysql://localhost:3306/DBName","user","password''), > >> $stmt := sql:prepare($conn, "INSERT INTO > >> > > informazionipersonali(i

Re: [basex-talk] http:request timeout

2015-09-09 Thread Dirk Kirsten
lliseconds. > > If this is not my bad interpretation, maybe a note in the docs should > be provided ... > Regards, > Marco. -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: |

Re: [basex-talk] Different behavior with same query in BaseX 7.9 and 8.2.3

2015-09-09 Thread Dirk Kirsten
; > The following query does not behave the same on both versions : > > > For $d at $i in db:open(“TESTDB”)/fund/properties/domain > where $i < 2 > return data($d/@reference) > > > Result in 7.9 > -- > > “Fund1” > > > Result in 8

Re: [basex-talk] Xquery collections

2015-09-03 Thread Dirk Kirsten
er caselle con dominio email.it, > per tutti i dettagli clicca qui > <http://posta.email.it/caselle-di-posta-z-email-it/?utm_campaign=email_Zimbra_102014=main_footer> > > Sponsor: > Idee regalo classiche o alternative? Trova l'offerta migliore in un click > Clicca qui <

Re: [basex-talk] Unexpected error: Improper use? Potential bug?

2015-09-03 Thread Dirk Kirsten
.fr/webdav/skepsis/ >> 17:16:00.170X.X.X.X:39091admin REQUEST [PROPFIND] >> http://BaseX.huma-num.fr/webdav/bvm/bvm.xml >> 17:16:20.194X.X.X.X:39582admin REQUEST [PROPFIND] >> http://BaseX.huma-num.fr/webdav/bvm/bvm.xml >> 17:17:00.904X.X.X.X:390

Re: [basex-talk] Fwd: Db creation

2015-09-03 Thread Dirk Kirsten
error message due to the not well-formed xml (which means that the > declaration at the beginning of the query is not read). I have tried to > declare other db options in the same way (ie in the prolog of a script) but > they seem not be read. > > Giuseppe > > -- D

Re: [basex-talk] size on collection in the time

2015-09-03 Thread Dirk Kirsten
but I just want to know if the > program clears the disk use when he does a REPLACE? > > Marc -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holu

Re: [basex-talk] Basex 8.2.3 data not shown, until OS restart

2015-09-02 Thread Dirk Kirsten
at all. These databases shows up only after restarting OS. > > Is this a known issues ? or just me ? > > - Mansi -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Chri

Re: [basex-talk] Selective indexes

2015-09-01 Thread Dirk Kirsten
ork > perfectly (we'll perform a couple more tests with high volume), but I > thought it would be really cool if we could have a similar insertion > speed to what's achieved without indexing, by just indexing some > fields (again, *guessing* that the cause of the decrease in speed is

Re: [basex-talk] Finding document based on filename

2015-08-31 Thread Dirk Kirsten
of above list of db, I would be eventually deleting > that file and inserting a latest version of that file(which would have > same sub-xml file name). So, constant updating of this external > document also seems painful (Map be ?). > > Also, would it be faster, using XQUERY sc

Re: [basex-talk] Fastest way to get resources starting with path

2015-08-28 Thread Dirk Kirsten
urces so this doesn't scale too well. > I'd like a way to get the contents (or names) of resources in > which the names start with a certain pattern without having to check > all names. Is it possible? > > The alternative would be to add a field inside the xm

Re: [basex-talk] Decode a RESTXQ path

2015-08-28 Thread Dirk Kirsten
problem or setting of Tomcat or anything in between the > browser and BaseX, for example Nginx? > > Thank you for working your ass off while Christian is on vacation :-D > Kristian K > > > 28.08.2015 13:43 Dirk Kirsten kirjutas: >> Hello Kristian, >> >> could

Re: [basex-talk] Decode a RESTXQ path

2015-08-28 Thread Dirk Kirsten
e: > Hello! > > I have a simplistic search path as %rest:GET > %rest:path("search/{$query}") for an application. It all works fine > with ASCII query string, but I can't figure out how to decode the > string when It contains utf-8 characters. > > Best wishes >

Re: [basex-talk] Installation of RESTXQ scripts over HTTP API?

2015-08-23 Thread Dirk Kirsten
tem. > > -aj > > > > On 24 Aug 2015, at 8:12, Dirk Kirsten wrote: > >> Hello Andreas, >> >> I do not quite understand - What use is a web service if you do not have >> access over HTTP? You might have to tunnel, but this might be just the >> right actio

Re: [basex-talk] Installation of RESTXQ scripts over HTTP API?

2015-08-23 Thread Dirk Kirsten
der keep the deployment > of applications as easy as possible ("one click" installation). > > Andreas -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün,

Re: [basex-talk] Looks like...

2015-08-21 Thread Dirk Kirsten
====== > ​ > ​ ​ > = > ​ PS: ** well, maybe, with some links to other variable attibutes of > persons, like, courses attended, graduation data etc. etc.)​ > > * -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22

Re: [basex-talk] HTTP response and raising error()

2015-08-13 Thread Dirk Kirsten
; argument? I couldn't find it. The spec leaves it open to > implementations. > > --Marc > > On Thu, Aug 13, 2015 at 3:37 PM, Dirk Kirsten wrote: >> Hi Marc, >> >> I agree, I think 500 would be more in line with the HTTP status code >> definitions.. It wa

Re: [basex-talk] HTTP response and raising error()

2015-08-13 Thread Dirk Kirsten
st cases I guess a 500 would be more > appropriate. > > Where is this decided (RESTXQ?) and is there an easy way to change the > status when fn:error is used? > > Of course I can always catch at the highest level and then decide > which HTTP status to return but I'm not sure i

Re: [basex-talk] BaseX "subcollections"

2015-08-13 Thread Dirk Kirsten
etadata Librarian (Spanish/Portuguese Specialty) > Princeton University Library > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22

Re: [basex-talk] Using BaseX With oXygenXML: Validate XQuery 3.1 Syntax

2015-08-09 Thread Dirk Kirsten
c validation error. If I remove the "as" clause, > then it's happy. > > My question: is it possible to configure oXygenXML so it validates the 3.1 > expressions BaseX supports? > > I'm not sure if this an oXygenXML or a BaseX issue. > > Thanks, > > E

Re: [basex-talk] Running BaseX In A Docker Container?

2015-08-05 Thread Dirk Kirsten
s anything we should look out for or anything we can contribute back > out of this effort. > > Cheers, > > E. > > > Eliot Kimber, Owner > Contrext, LLC > http://contrext.com > > > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarers

Re: [basex-talk] Merging databases?

2015-07-24 Thread Dirk Kirsten
r the documents in the databases, exporting them, and >> adding them to the new database. >> But if that takes the same amount of time as building the 200 databases >> in the first place, I should change other things about my design to avoid >> the need to merge databases. >>

Re: [basex-talk] annotations in function-declarations

2015-07-24 Thread Dirk Kirsten
I think, it is pretty flexible. So that’s no option. > > I want to make something generic that even in the underlying Java > isn’t generic. Maybe not such a good idea after all. > > > > Muchly appreciating your answer, > > Rob > > > > PS. I get your point c

Re: [basex-talk] BASEX Help

2015-07-24 Thread Dirk Kirsten
> checking the existence the databaseX but i don't now how use it . > > new Check ("C:\\Program Files (x86)\\BaseX\\data\\nomDeLaBaseDeDonnee"); > > Regards > > 2015-07-23 16:12 GMT+02:00 Dirk Kirsten <mailto:d...@basex.org>>: > > Hello,

Re: [basex-talk] annotations in function-declarations

2015-07-23 Thread Dirk Kirsten
t; > > > Avast logo <https://www.avast.com/antivirus> > > Dit e-mailbericht is gecontroleerd op virussen met Avast > antivirussoftware. > www.avast.com <https://www.avast.com/antivirus>

Re: [basex-talk] Option Parallel Verständnisfrage

2015-07-23 Thread Dirk Kirsten
ystem runs on an HP server with 64GB of RAM PCI SSD hard > drive and an Intel Xeon E5-2690 8-core 2.90 GHz processor. > > Can you provide an explanation as me, maybe? > > I have the whole again written in English. > > many thanks > > Greeting Dennis Wiest > > > -------

Re: [basex-talk] BASEX Help

2015-07-23 Thread Dirk Kirsten
(int i=0;i<=listefichierXml.length;i++){ > new Add("listefichierXml[i].getAbsolutePath()"); > } > new Optimize(); > context.close(); > } > } > > > > > > -- > cordialement > > HAMDOUNI Yas

Re: [basex-talk] Fwd: Bug?

2015-07-13 Thread Dirk Kirsten
dpoint$SocketProcessor.doRun(NioEndpoint.java:1521) > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478) > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > a

Re: [basex-talk] Any Way to Create A Database And Commit To It From REST Service?

2015-07-13 Thread Dirk Kirsten
ating function that does the database initialization and > then returns a redirect to the real root page handler. > > Have I missed an option? > > Thanks, > > Eliot > > > Eliot Kimber, Owner > Contrext, LLC > http://contrext.com > > > -- Di

Re: [basex-talk] Parsing options on db:add (cdata-section-elements)

2015-07-10 Thread Dirk Kirsten
Hello Tim, CDATA is just ordinary (encoded) text to XQuery, i.e. there is no special CDATA data type. Therefore, instead of saving the document in this way you should adapt the output accordingly. So when you serialize your output you can use the map {"cdata-section-elements": "script"} to output

Re: [basex-talk] RESTXQ: function loading

2015-07-09 Thread Dirk Kirsten
; from the current context function list (I inpected it with an > inspect:context//function call). > > Is there a way to "force" its loading? > > I am currently working with the last BaseX8.2.2 war version. > > Thanks. > > Regards, > > Jérôme > -- Dirk K

Re: [basex-talk] Execution problem

2015-07-02 Thread Dirk Kirsten
t name , '<' found. > > Query works for '>' but not with '<'. > > > Thanks > Samby > -- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22

  1   2   3   4   >