[basex-talk] mainmem bug?

2014-06-04 Thread Marc
'test' was not found. the infos : -- General Information: Version: 7.8 Used Memory: 1994 KB The main memory database doesn't exist anymore? Marc

Re: [basex-talk] mainmem bug?

2014-06-04 Thread Marc
I agree with you, that for my use the main memory database are not right because I have to open other database. But in the example, I just create one and open it! Marc Le mercredi 4 juin 2014 10:24:53, Christian Grün a écrit : Hi Marc, I try to use the mainmem flag because I use a temporally

[basex-talk] only QueryPlan

2014-07-03 Thread Marc
. Thank's for help Marc

Re: [basex-talk] only QueryPlan

2014-07-04 Thread Marc
The problem is that the xquery is so long that's it drops in time out, and in this case I don't have the QP. But with the -x and a stop of the server before the time out there is an interrupt catched by the client and the QP is out! Perhaps with a -d I don't remember. Marc Le vendredi 4

Re: [basex-talk] only QueryPlan

2014-07-05 Thread Marc
:= concat(FichiersBase/,$nomf) = $elem-bu/base-uri() Marc Le vendredi 4 juillet 2014 22:14:10, Christian Grün a écrit : Hi Marc, The problem is that the xquery is so long that's it drops in time out, and in this case I don't have the QP. Do you have any guess what takes most time? Is it really

[basex-talk] flush the pending list

2014-07-23 Thread Marc
case that's a lot of memory. Is there a way to flush the pending update list because I know that there is no reverse action on it. Without this I do one query for each updated collection documents. Marc

Re: [basex-talk] flush the pending list

2014-07-23 Thread Marc
Thanks for answer. I thank about something like that ;( Marc Le mercredi 23 juillet 2014 15:35:42, Christian Grün a écrit : Hi Marc, Is there a way to flush the pending update list because I know that there is no reverse action on it. I am sorry there's no way to do so. Flushing updates

[basex-talk] serialisation before xslt

2014-07-30 Thread Marc
Hi, I want to transform with xslt before to output the file. If I do a serialize on the disk, runs the xslt with saxon et write the result the space are conserved (I use chop=false to load the file in the base). But if I transform the file in BaseX, and serialize the file after, the element

Re: [basex-talk] serialisation before xslt

2014-08-02 Thread Marc
and tranform it outside of BaseX. Marc Le 31/07/2014 00:00, Christian Grün a écrit : Hi Marc, We've recently worked on chopping issues in the BaseX 8.0 snapshot [1]; some of the issues that arise due to the unfortunate default setting of the chop flag [2] have been fixed there. Could you give

Re: [basex-talk] basex 7.9 - red hat package?

2014-08-29 Thread Marc
Hi, I don't know anything in this packaging, but when I ask to install the 7.9 package to my administrator, the result has not the same 'baseserver' shell file but a 7.8 like and not the 'lib' directory. Is it a problem of installation or packaging? Thanks Marc Le 31/07/2014 13:03, Dimitar

Re: [basex-talk] basex 7.9 - red hat package?

2014-09-08 Thread Marc
' directory, I don't know if it's a problem of the package or of the installation procedure. I hope that explains you a little more. Regards, Marc Le 06/09/2014 21:37, Dimitar Popov a écrit : On Saturday 30 August 2014 07:44:24 Marc wrote: Hi, I don't know anything in this packaging, but when

Re: [basex-talk] basex 7.9 - red hat package?

2014-09-10 Thread Marc
Hi Dimitar, Thank you very much for this long and very clear message. I will see a solution with the departement who installs the package and adapt it to our needs. Thanks Marc Le 09/09/2014 23:20, Dimitar Popov a écrit : On Monday 08 September 2014 08:52:41 Marc wrote: Hi Dimitar

Re: [basex-talk] Fwd: Re: How to process very long node sequences

2015-03-18 Thread Marc
? Marc Le 18/03/2015 19:38, Leonard Wörteler a écrit : Wrong mail account... Weitergeleitete Nachricht Betreff: Re: [basex-talk] How to process very long node sequences Datum: Wed, 18 Mar 2015 19:26:00 +0100 Von: Leo Wörteler l...@basex.org An: Hans-Juergen Rennau hren

Re: [basex-talk] Destination of result-document from XSLT module

2015-08-03 Thread Marc
lost the space. Marc Le 03/08/2015 23:07, Lizzi, Vincent a écrit : Thanks, Max and Andy. The XQuery 3.1 transform function looks promising. Marc, For controlling the serialization of XSLT output, you can specify serialization for the XSLT within the XSLT itself using xsl:output, run the XSLT

Re: [basex-talk] Destination of result-document from XSLT module

2015-08-03 Thread Marc
Hi, I have an other problem is to control the serialization of the node passed to the transform function. I don't see how to control it. Marc Le 03/08/2015 22:32, Andy Bunce a écrit : Hi Max, This sounds like a good thing. Another solution to the result-document issue might be to implement

Re: [basex-talk] Whitespace

2015-07-14 Thread Marc
Hi You can use the serialisation parameter with no indent option. Marc On July 14, 2015 8:13:09 PM CEST, meumapple meumap...@gmail.com wrote: Hi, When I use the file:write function, the whitespaces before an element are deleted (and also the initial whitespace of a string in an element

[basex-talk] size on collection in the time

2015-09-02 Thread Marc
and recreate it from the last version of the files the size was only 6Go. We will redo the test with the time, but I just want to know if the program clears the disk use when he does a REPLACE? Marc

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

2015-09-03 Thread Marc
James, We have the UPDINDEX to FALSE. I'll try to do an OPTIMIZE command, but we do it at the end of all the REPLACE so I think that it's not enough. After that I prepare a study case with public data. Regards Marc Le 03/09/2015 12:17, James Ball a écrit : Marc, Are you using the updatable

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

2015-09-03 Thread Marc
Hello Dirk, We use a BaseX script (.xbs) with a list of REPLACE. We try to investigate this point if this is reproducable or not. If I find this problem again, I take a copy of the collection before to delete her. Thank you for answer. Marc Le 03/09/2015 09:52, Dirk Kirsten a écrit : Hello

Re: [basex-talk] (no subject)

2015-09-03 Thread Marc
I forgot to give this precision, we use the 7.9 version on this server. Marc Le 01/01/1970 01:00, a écrit : Hello Dirk, We use a BaseX script (.xbs) with a list of REPLACE. We try to investigate this point if this is reproducable or not. If I find this problem again, I take a copy

Re: [basex-talk] Xquery collections

2015-09-15 Thread Marc
Hi Michele, Is it not because the following axis do'nt return the childrens? Do you try without the except to see if you have all your text()? Marc Le 04/09/2015 15:49, michele.gre...@email.it a écrit : Hi, i tried this xquery: for $e in db:open("dbName")//w:tc[.//text()="Nom

Re: [basex-talk] file:write - check, if path is existing

2016-05-20 Thread Marc
Hi Günter, in the file: you have the is-file function. Does'nt it do the job? Marc Le 19/05/2016 à 21:25, Günter Dunz-Wolff a écrit : Hi all, for the command file:write($path, distinct-values($list)) I have to check, if $path is existing (for example let $path := ´users/xxx/xxx/etc’. How

[basex-talk] Create Options are deleted from .basex config file

2017-06-05 Thread marc
') Basex 8.5.3 on Linux Regards, Marc

[basex-talk] comment()

2019-08-07 Thread Marc
( $r,$j) } or (who is more what I want to do) { let $r := random:integer(100) + 1 for $j in (/*)[$r] return (comment("$r"),$j) } I don't find any example on how to use the comment function. Anyone have example about that use? Thanks Marc

Re: [basex-talk] comment()

2019-08-08 Thread Marc
Thanks you very much. I use very often the comment() with XSLT, and I confuse it with the "comment" literal of XQuery ! Marc Le 07/08/2019 à 19:22, Majewski, Steven Dennis (sdm7g) a écrit : Also literal work just like other literal XML, as there is a different syntax for

Re: [basex-talk] Coding help

2019-08-08 Thread Marc
but XPath, it can be done like that. If the collection is to big you can do more than one pass with the file selector (files started by a, next b, etc) Marc Le 06/08/2019 à 18:12, Majewski, Steven Dennis (sdm7g) a écrit : Creating a bunch of temporary databases that you’re going to delete

[basex-talk] GUI syntax highlighting

2022-03-22 Thread marc
theme. This occurs in Linux, all kinds of distro's, both Debian and Fedora based. Open JDK 11.0.6. In BaseX GUI 8.6.x all is fine, running under the same conditions. Regards, Marc

Re: [basex-talk] Create Options are deleted from .basex config file

2017-06-05 Thread Marc Coenegracht
Apparently that was the mistake. Thank you! Marc On Mon, 5 Jun 2017, Christian Grün wrote: Did you differentiate between global and local options [1]? Cheers, Christian [1] http://docs.basex.org/wiki/Options Am 05.06.2017 5:39 nachm. schrieb <m...@crosseyed.nl>: Options ma

[basex-talk] Transaction management in BaseX 8.6.4

2018-08-08 Thread Marc Coenegracht
or with the BaseX server instance? Of course it is possible to update the databases instead, but this process is a lot simpler and probably faster too. All operations are executed running xquery scripts with REST using the BaseX http server. Marc

[basex-talk] Log4j vulnerability CVE-2021-44228

2021-12-13 Thread Marc Coenegracht
Does Basex (9.x or 8.x) use Log4j in any of its components? If not, should one still worry about the JRE? Regards, Marc

Re: [basex-talk] GUI syntax highlighting

2022-03-23 Thread Marc Coenegracht
Thank you Christian, from a happy night coder. Best, Marc On Wed, 23 Mar 2022, Christian Grün wrote: > Fixed [1]; thanks for the observation. > All the best, Christian > > [1] https://files.basex.org/releases/latest/ > > > > > The syntax highlighting doesn't ch

Re: [basex-talk] Incompatibility with Tomcat 10

2022-04-04 Thread Marc Balston
Grün wrote: Hi Marc, I remember there were problem with a past release of BaseX and Tomcat. Which version of BaseX are you using? Best, Christian On Sun, Apr 3, 2022 at 10:45 PM Marc Balston wrote: > > Hello, > > I've been successfully running BaseX on Amazon AWS usin

Re: [basex-talk] Incompatibility with Tomcat 10

2022-04-05 Thread Marc Balston
, 2022 at 6:47 PM Christian Grün wrote: > > Hi Marc, > > Thanks for testing and the StackOverflow links. > > I think you’ve already discovered the weak spot, which is also > documented in the Tomcat Migration Guide [1]: The javax.servlet > packages are not available in Tomcat 1

Re: [basex-talk] Error messages in Basex 9.7.x

2022-08-14 Thread Marc Coenegracht
Thanks for the quick response Christian. I'll switch off debugging then, excellent solution. best, Marc On Sun, 14 Aug 2022, Christian Grün wrote: > Hi Marc, > > Thanks for your feedback. If debugging is enabled, the returned error > output can safely be ignored. The debugging mo

[basex-talk] Error messages in Basex 9.7.x

2022-08-14 Thread Marc Coenegracht
he only reason I noticed the errors is because I made the foolish decision to set debugging to true ... :) I tested versions 9.7 and 9.7.3 on multiple Debian 11 boxes with openjdk 11.0.16, and version 9.7 in an older Debian 9 box with openjdk 11.0.6, results are identical. Best, Marc

Re: [basex-talk] xquery:eval and permissions [updated]

2022-08-08 Thread Marc Balston
BST, Christian Grün wrote: Hi Marc, The invocation of xquery:eval requires admin privilegues; but if you are an admin user, you can decide under which permissions this query will be executed. If you want to evaluate an XPath expression with a limited user and the REST API, it should

Re: [basex-talk] xquery:eval and permissions [updated]

2022-08-08 Thread Marc Balston
Wow, that was quick!That gives me another reason to upgrade to BaseX 10! Many thanksMarc M. Balston M: +44 7786 263 906 On Monday, 8 August 2022 at 16:15:16 BST, Christian Grün wrote: > I’ll have some more thought on that, as we currently don’t have any > functions that have dynamic

Re: [basex-talk] How to configure org.basex.path

2024-01-26 Thread Marc Coenegracht
scenario with multiple BaseX instances. regards, Marc On Fri, 26 Jan 2024, Pierre-Yves Jallud wrote: > Hälløw Christian, > > many thanks for your answer! I finaly came to this solution yesterday > afternoon and I was answering to my question when you send your answer. I > fir

Re: [basex-talk] How to configure org.basex.path

2024-02-03 Thread Marc Coenegracht
to consider ModSecurity (maybe you already did). ModSecurity easily fends off 90-95% of attacks in the default config, even more if you spend some time on it. best, Marc On Tue, 30 Jan 2024, Pierre-Yves Jallud wrote: > Hi Marc, > > well, containers is still obscure for me and I kn

[basex-talk] Issue for JAVA Bindings for Basex 7.7

2013-11-11 Thread jean-marc Mercier
Hi, To resume an exchange with BaseX members : The issue is JAVA Bindings for BAseX version = 7.7, illustrated by the following XQUERY code import module namespace set = java.util.HashSet;{ let $loop := for $i in 1 to 128 return set:add($i) let $loop := for $i in 1 to 128 return set:add($i)

[basex-talk] Xquery for noobs : the HashSet problem

2013-11-12 Thread jean-marc Mercier
Hi, Following a recent discussion with BaseX team, here is a description of a problem that I don't know how to solve efficiently from within Xquery or BaseX Xquery extensions like map:module. Thus, any suggestion are welcomed ! The problem is the following : I want to write an XQUERY module

Re: [basex-talk] Xquery for noobs : the HashSet problem

2013-11-12 Thread jean-marc Mercier
? Cheers, Jean-Marc 2013/11/12 Christian Grün christian.gr...@gmail.com Dear JohnLeM, thanks for your mail. As you already noted, XQuery is a functional language, and this is the reason why XQuery maps are not exactly comparable to maps and sets, as they are used in imperative languages

Re: [basex-talk] Xquery for noobs : the HashSet problem

2013-11-12 Thread jean-marc Mercier
to be 20 % faster, with a smaller memory footprint (10%, (4,3 against 4, unprecise measure, since I was looking to my Task Manager !) ). Thus I could use maps to simulate HashSet, it not a very big overload. However, is there any incentive to trade off 20% performance ? Cheers, Jean-Marc

Re: [basex-talk] Xquery for noobs : the HashSet problem

2013-11-12 Thread jean-marc Mercier
point ! I'll try to refactor my code to include maps. However, as mentionned above, I will have most probably to include JAVA librairies into my modules (maths), and might loose overall Immutability through these as well. Thx everybody for the very helpful advises. Cheers Jean-Marc 2013/11

Re: [basex-talk] Technical and commercial support informations about BaseX

2013-11-17 Thread jean-marc Mercier
a link, or a doc that could give me a first overview of these ? Thanks for your answers, Regards, Jean-Marc 2013/11/17 Christian Grün christian.gr...@gmail.com Hi Jean-Marc, I'd like to start a thread regarding some technical and commercial support aspects of BaseX

Re: [basex-talk] Technical and commercial support informations about BaseX

2013-11-18 Thread jean-marc Mercier
for direct contact, as soon as I will have more precise needs or questions. Cheers Jean-Marc 2013/11/18 Christian Grün christian.gr...@gmail.com As far as I understand, my first option is to ship BaseX together with its native BSD licensing. This is probably enough for my needs in a first

Re: [basex-talk] Linear Algebra module in XQUERY ?

2013-11-18 Thread jean-marc Mercier
one in mind ? Thanks for yours answers, cheers, Jean-Marc 2013/11/18 Christian Grün christian.gr...@gmail.com Hi again, - I don't know how to allocate and address directly contiguous memory blocks in XQUERY. Operations on this level cannot be realized in XQuery. Instead, the query

[basex-talk] BaseX Interpreter / Eclipse integration issue ?

2013-11-22 Thread jean-marc Mercier
}}; (I just removed as item()), then the query is executed normally, returning 1. Can you reproduce it with another environment ? Cheers, Jean-Marc Improper use? Potential bug? Your feedback is welcome: Contact: basex-talk@mailman.uni-konstanz.de Version: BaseX 7.8 beta 6aeaebf Java: Oracle

Re: [basex-talk] search into basex talk archive ?

2013-11-22 Thread jean-marc Mercier
Hi Christian, The mail archive is just fine for me. Thx for pointing me out his link. Cheers, Jean-Marc 2013/11/21 Christian Grün christian.gr...@gmail.com Hi Jean-Marc, is there a (convenient) way to search into basex talk archives ? Web search engines like DuckDuckGo, Bing

Re: [basex-talk] BaseX Interpreter / Eclipse integration issue ?

2013-11-22 Thread jean-marc Mercier
be of great utility if I try to write an algebra module. Cheers, Jean-Marc 2013/11/22 Leo Wörteler l...@basex.org Dear Jean-Marc, I fixed the bug, thank you for reporting it. You can get the current snapshot here: http://files.basex.org/releases/latest/ Am 22.11.2013 15:06, schrieb jean

Re: [basex-talk] BaseX Interpreter / Eclipse integration issue ?

2013-11-23 Thread jean-marc Mercier
code at Basex repository ? Motivation : I would like to try evaluating whether inlining recursive functions is possible or not. You are welcome to suggestions ! Cheers 2013/11/22 jean-marc Mercier jeanmarc.merc...@gmail.com Leo, Christian I fixed the bug, thank you for reporting it. You can

Re: [basex-talk] map:module. Behavior of maps of nodes

2013-12-01 Thread jean-marc Mercier
opened a thread concerning this perf issue, that might be deeper that I thought. Cheers, Jean-Marc 2013/11/21 Christian Grün christian.gr...@gmail.com Sounds interesting. Have you thought about making it public to get more feedback? I will, as soon as it will be tested... I need

[basex-talk] inspect functions and %private

2013-12-02 Thread jean-marc Mercier
, then the following code import module namespace test=http://www.example.com/test; at test.xq; for $fun in inspect:functions() return gotcha raise an exception. Cheers, Jean-Marc ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni

Re: [basex-talk] inspect functions and %private

2013-12-02 Thread jean-marc Mercier
Hi christian, yes this is the point : Stopped at C:/Jiheme/informatique/workspace/Graph DataBase/module/common.xq, 31/89: [XPST0017] Function 'local:test' is not visible from this module. If this is desired, it means that we can not use the inspection module as soon as there is %private

[basex-talk] some questions over the profile module

2013-12-04 Thread jean-marc Mercier
($output/@function) group by $fun return element-name{$fun}{sum(data($output) ) } Thanks Jean-Marc ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Re: [basex-talk] some questions over the profile module

2013-12-05 Thread jean-marc Mercier
). This should be of small impact over the results. A remark over this test : I noticed that the test is running slower when I disabled the options INLINELIMIT = 0 and TAILCALL = -1. 2013/12/5 Christian Grün christian.gr...@gmail.com Hi Jean-Marc, another note (I just spotted your mail on t

Re: [basex-talk] some questions over the profile module

2013-12-06 Thread jean-marc Mercier
in this configuration ? Thx Jean-Marc 2013/12/5 jean-marc Mercier jeanmarc.merc...@gmail.com Hi Christian, Thx for your answer. it is advisable to remove all trace() calls from the code before doing performance comparisons. You're right. From another side, the trace functions are called very few times

Re: [basex-talk] BaseX Evaluation for Big Data

2013-12-06 Thread jean-marc Mercier
Hi Gary I am a BaseX team member, but have you sized up your JVM to run Big Data ? See the files BaseX/basex*.bat. I am currently using set VM=-Xmx6g Hope this helps Jean-Marc 2013/12/6 Huband, Gary W *HS gwh...@hscmail.mcc.virginia.edu I'm evaluating BaseX to use in a project

Re: [basex-talk] BaseX Evaluation for Big Data

2013-12-06 Thread jean-marc Mercier
I meant I am NOT a baseX member ! sorry for the mistyping ! 2013/12/6 jean-marc Mercier jeanmarc.merc...@gmail.com Hi Gary I am a BaseX team member, but have you sized up your JVM to run Big Data ? See the files BaseX/basex*.bat. I am currently using set VM=-Xmx6g Hope this helps Jean

Re: [basex-talk] BaseX Evaluation for Big Data

2013-12-06 Thread jean-marc Mercier
://docs.basex.org/wiki/Commands), in order to free memory. i.e. I first inserted the xml into 4 or 5 passes. Then created some indexes, etc...In that way it was possible to run the insertion, even with 4Gb machines. Hope this helps Jean-Marc 2013/12/6 Huband, Gary W *HS gwh

Re: [basex-talk] map:module. Behavior of maps of nodes

2013-12-08 Thread jean-marc Mercier
a meaningful *except, intersection or union* operators for nodes or functions. Indeed, the definition given in http://www.w3.org/TR/xpath-functions/#union-intersection-except is not very clear for me. Jean-Marc 2013/12/7 Christian Grün christian.gr...@gmail.com Hi Jean-Marc, thanks a lot for your

Re: [basex-talk] Alternative to XQDT ?

2013-12-11 Thread jean-marc Mercier
JAVA, C++, xquery, SQL and spring framework in the same IDE, very handy for me. 2013/12/11 Christian Grün christian.gr...@gmail.com Hi Jean-Marc, currently, there are no plugin alternatives for Eclipse, and it seems that the development has pretty much stalled. Grzegorz Ligas is currently

Re: [basex-talk] map:module. Behavior of maps of nodes

2013-12-23 Thread jean-marc Mercier
Hi, Casewhere someone is using these files, here is a more stable version, including some quite handy union, intersection and except operators. By stable I mean that I am using them extensively since some weeks without any modifications ! Cheers Jean-Marc 2013/12/8 jean-marc Mercier

[basex-talk] add-dayTimeDuration-to-date

2013-12-27 Thread jean-marc Mercier
misunderstood something ? Thanx for your answer, Cheers, Jean-Marc ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Re: [basex-talk] [ANN] Higher-Order XQuery Modules

2013-12-29 Thread jean-marc Mercier
Leonard, Hello. I'am just reading this annoucement, trashed erroneously by gmail. Sorry for not having reacted before. It sounds very interesting. First probably stupid question : how do we install these modules ? 2013/12/12 Leonard Wörteler l...@woerteler.de Hello everyone, I want to

[basex-talk] INLINER : bug ?

2013-12-29 Thread jean-marc Mercier
- launch the XQUERY file MapProfiler.xquery. With these settings, the profile function works finely. Then - Edit baseX config file .baseX, set the following Local options : # Local Options INLINELIMIT = 6 With these settings, I am raising a [XPTY0004] Single item expected error. Cheers, Jean-Marc

Re: [basex-talk] INLINER : bug ?

2013-12-29 Thread jean-marc Mercier
Leo, You are right, there was a type error in my code, thx a lot for pointing it out. I am recomputing the profile result of your code with full inlining. Cheers, Jean-Marc 2013/12/29 Leo Wörteler l...@basex.org Dear Jean-Marc, Am 29.12.2013 13:09, schrieb jean-marc Mercier: @Leo

[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] BaseX for noobs: C++ API ?

2014-01-03 Thread jean-marc Mercier
-Marc 2014/1/3 Dirk Kirsten d...@basex.org Hello Jean-Marc, What problems did you experience when using the provided C API (https://github.com/BaseXdb/basex-api/tree/master/src/main/c) under Windows 7? It should also work under windows. Additionally, you can find the source code of the C

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

2014-01-05 Thread jean-marc Mercier
in BaseX team, that have some experience with C++, could have a look to it ? I put the current code at https://github.com/JohnLeM/BaseXCPPAPI, as a bottle in the sea :( 2014/1/5 Dirk Kirsten d...@basex.org Hello Jean-Marc, I see your point. Unfortunately, I don't have any experience doing

Re: [basex-talk] Possible bug in BaseX interpreter, might be the introspection module ?

2014-01-06 Thread jean-marc Mercier
Note : casewhere, I checked that this issue does not depend upon the values of INLINELIMIT and TAILCALL. 2014/1/6 jean-marc Mercier jeanmarc.merc...@gmail.com Hello, I have a quite strange behavior, that might be a bug in the introspection module. I am just describing it, and will work

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

2014-01-06 Thread jean-marc Mercier
code and to try compile a server to see what is happening on the server side...that is probably some days of hard works :( 2014/1/6 Liam R E Quin l...@w3.org On Mon, 2014-01-06 at 21:15 +0100, jean-marc Mercier wrote: Hello, I still can't connect to BaseX. I checked that I sent

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

2014-01-07 Thread jean-marc Mercier
I finally succeeded connecting to BaseX server. This issue was stupidly due to the last trailing '\0' character in the server time stamp response, messing out the password MD5 computations. 2014/1/7 jean-marc Mercier jeanmarc.merc...@gmail.com @Dirk thx : I saw this with WireShark, even if I

[basex-talk] C++ API for BaseX v0.0

2014-01-08 Thread jean-marc Mercier
://code.google.com/p/pugixml/) for a lightweight C++ parser with XPATH 1.0 support. The provided example is a simple construction of an integer list. Cheers Jean-Marc ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de

Re: [basex-talk] Possible bug in BaseX interpreter, might be the introspection module ?

2014-01-09 Thread jean-marc Mercier
) at org.basex.core.Main.execute(Main.java:146) at org.basex.BaseX.init(BaseX.java:119) at org.basex.BaseX.main(BaseX.java:38) 2014/1/6 jean-marc Mercier jeanmarc.merc...@gmail.com Note : casewhere, I checked that this issue does not depend upon the values of INLINELIMIT and TAILCALL. 2014/1/6

Re: [basex-talk] C++ API for BaseX v0.0

2014-01-10 Thread jean-marc Mercier
://github.com/JohnLeM/BaseXCPPAPI the resulting first trial. Note : - there are now two project. One is for VS2012 compiler, located in /VS2012 - the other is a first trial, for a third-eye check (you). You should find a auto-generated (debug) makefile at root. Cheers, Jean-Marc 2014/1/9 Dirk

Re: [basex-talk] Possible bug in BaseX interpreter, might be the introspection module ?

2014-01-11 Thread jean-marc Mercier
Hi all, Due to this issue, I am pulling back to the BaseX beta 6aeaebf (that is not showing this issue), waiting for a fix. Cheers, Jean-Marc 2014/1/10 jean-marc Mercier jeanmarc.merc...@gmail.com Hi all, it seems that this bug is linked to the introspection module. I isolated a code

Re: [basex-talk] BaseX as a Windows Service

2014-01-22 Thread jean-marc Mercier
. Flexible enough licensing, and most importantly support for windows 64 bits. @Christian : Installing a service with YAJSW seems really straightforward (see : http://yajsw.sourceforge.net/). Is it worth writing a Wiki page ? 2014/1/22 jean-marc Mercier jeanmarc.merc...@gmail.com Hi, Maybe I don't

Re: [basex-talk] Introspection bug in BaseX7.8 beta 4cfa54c ?

2014-01-30 Thread jean-marc Mercier
machine). Do you have any clue, or suggestion, that could help us finding this regression ? Cheers, Jean-Marc 2014-01-30 Christian Grün christian.gr...@gmail.com Hi Jean-Marc, you got it right, we fixed the bug! I've just updated the snapshot; feel free to give it a try! Thanks, Christian

Re: [basex-talk] Introspection bug in BaseX7.8 beta 4cfa54c ?

2014-01-30 Thread jean-marc Mercier
Christian, The point is that I don't know how to provide a self-contained query. The only strategy I could propose, to provide a self-contained query isolating the memory management problem, is really too time-consuming : I can imagine a binary-chop search, comparing the memory management of the

Re: [basex-talk] Introspection bug in BaseX7.8 beta 4cfa54c ?

2014-01-30 Thread jean-marc Mercier
anything, though. On Thu, Jan 30, 2014 at 9:39 PM, jean-marc Mercier jeanmarc.merc...@gmail.com wrote: Christian, The point is that I don't know how to provide a self-contained query. The only strategy I could propose, to provide a self-contained query isolating the memory management problem

Re: [basex-talk] Make external variable declarations mandatory #833

2014-02-01 Thread jean-marc Mercier
Ahok ! Thanks very much, it does work now. Topic closed. 2014-02-01 Christian Grün christian.gr...@gmail.com: Hi Jean-Marc (answering on behalf of Dirk... Let's see who is faster ;), your query will work if you change the xquery:eval call as follows: xquery:eval($query || $exp

[basex-talk] Java interop (java.net.URI) problem

2014-06-29 Thread Marc van Grootel
doing wrong here? --Marc

Re: [basex-talk] Java interop (java.net.URI) problem

2014-06-29 Thread Marc van Grootel
on Python's WSGI, Ruby Rack or Erlang's webmachine. This will be heavily based on Clojure's Ring and Compojure libraries and for now in pure XQuery. Hope to have something to play with in a week or two. --Marc On Sun, Jun 29, 2014 at 2:30 PM, Christian Grün christian.gr...@gmail.com wrote

Re: [basex-talk] Java interop (java.net.URI) problem

2014-06-29 Thread Marc van Grootel
I can confirm that it works now. Thanks again. --Marc On Sun, Jun 29, 2014 at 4:12 PM, Marc van Grootel marc.van.groo...@gmail.com wrote: Hi Christian, Terrific on both counts. That I understood correctly :) and that it got fixed so fast! I will probably post more often as I am now

[basex-talk] Cannot get MIXUPDATES working

2014-07-15 Thread Marc van Grootel
\webapp BaseX 7.9 [Server] Server was started (port: 1984) HTTP Server was started (port: 8984) Am I doing something wrong here? --Marc

Re: [basex-talk] Cannot get MIXUPDATES working

2014-07-15 Thread Marc van Grootel
Ah alright, Oops had it in plain sight all along Added with Version 8.0. Sorry. I read some mail messages about it and assumed it applied to the 7 branch. I will try the snapshot. Thanks, --Marc On Tue, Jul 15, 2014 at 1:08 PM, Christian Grün christian.gr...@gmail.com wrote: Hi Marc

[basex-talk] What is the best way to implement an async REST method?

2014-07-15 Thread Marc van Grootel
can check the status of my request, then once it's ready this temp URL will redirect me to the location of the real resource. That's the gist of the async REST pattern that I would like to implement. What would be the best approach to experiment with this? --Marc

Re: [basex-talk] What is the best way to implement an async REST method?

2014-07-16 Thread Marc van Grootel
ModuleSpawn.html http://modulespawn.html/ /Andy On 16 July 2014 08:58, Michael Seiferle m...@basex.org wrote: Hi Marc, I actually think this could be done manually using RestXQ. You could maybe with something like this: client issues request to start a long running job: 1) restxq/start

Re: [basex-talk] What is the best way to implement an async REST method?

2014-07-16 Thread Marc van Grootel
in Clojure or Go. Some articles http://www.infoq.com/news/2013/07/core-async and http://clojure.com/blog/2013/06/28/clojure-core-async-channels.html Obviously this goes far beyond spawning a query but a man can dream right ;-) On Wed, Jul 16, 2014 at 1:08 PM, Marc van Grootel marc.van.groo

[basex-talk] Unit module sometimes drives me nuts

2014-07-30 Thread Marc van Grootel
, return values, failures and errors, and provide helpful context. Note that I always run the code using `basex -t` from bash and I'm running 8.0 beta 7ba9510 Note too that most of these things happen to me when doing map related stuff. ... and now I stop moaning and get back to coding. --Marc

Re: [basex-talk] Unit module sometimes drives me nuts

2014-07-30 Thread Marc van Grootel
the good work, I'm generally enjoying this :) --Marc On Wed, Jul 30, 2014 at 4:48 PM, Christian Grün christian.gr...@gmail.com wrote: Hi Marc, I regret that I'm not able to get down into the guts of the Java code and help fix it, so, instead I moan ;-) Thanks for moaning! XQUnit is still

[basex-talk] Cannot instantiate java.net.URLEncoder

2014-07-30 Thread Marc van Grootel
not instantiate module 'java.net.URLEncoder' import module namespace encoder = java.net.URLEncoder; encoder:encode('foo/bar baz') --Marc

Re: [basex-talk] Unit module sometimes drives me nuts

2014-08-07 Thread Marc van Grootel
Hi Christian, Got it. Rewrote some tests and it works great. Thanks. --Marc On Wed, Aug 6, 2014 at 8:08 PM, Christian Grün christian.gr...@gmail.com wrote: Hi Marc, XQUnit can now also be used to compare maps. Feel free to check out the latest snapshot [1]. Cheers, Christian [1] http

[basex-talk] map:for-each-entry missing from latest 8.0

2014-08-08 Thread Marc van Grootel
/map this should be: http://www.w3.org/2005/xpath-functions/map Let me know if you need me to log it somewhere. --Marc

Re: [basex-talk] map:for-each-entry missing from latest 8.0

2014-08-08 Thread Marc van Grootel
Here are the exact locations: https://github.com/BaseXdb/basex-dist/blob/94962bda4404ed8ddf0a541612e568f04484f4f4/etc/modules/test.xq https://github.com/BaseXdb/basex-dist/blob/94962bda4404ed8ddf0a541612e568f04484f4f4/etc/modules/map.xqm --Marc On Fri, Aug 8, 2014 at 7:26 PM, Christian Grün

Re: [basex-talk] map:for-each-entry missing from latest 8.0

2014-08-08 Thread Marc van Grootel
Oh I didn't even realize they were just for reference. I only looked at them to confirm that map:for-each-entry wasn't there or maybe was named differently. That's all. --Marc On Fri, Aug 8, 2014 at 7:40 PM, Christian Grün christian.gr...@gmail.com wrote: I have uploaded a revised zip file [1

[basex-talk] fn:trace and http-server, why is it not logged?

2014-08-10 Thread Marc van Grootel
? -- --Marc

Re: [basex-talk] fn:trace and http-server, why is it not logged?

2014-08-10 Thread Marc van Grootel
Hi Dirk, Got it. Silly me, wasn't paying enough attention to the console running basexhttp while fiddling around. Thought it wouldn't be logged but it is. Duh. --Marc On Sun, Aug 10, 2014 at 6:19 PM, Dirk Kirsten d...@basex.org wrote: Hello Marc, The BaseX log only logs this HTTP requests

[basex-talk] Apply variable argument list to anonymous function

2014-08-13 Thread Marc van Grootel
what this is about. --Marc

  1   2   3   >