Re: [basex-talk] creating db with lots of documents from basexclient, like to see progress

2012-11-07 Thread Christian Grün
Hi Bryan, while this seems like a desirable feature, it's difficult to realize because the client/server architecture does not support any intermittent progress feedback, and such a extension would lead too many open questions reg. all other client-based interfaces. If you use the standalone mode

Re: [basex-talk] creating db with lots of documents from basexclient, like to see progress

2012-11-07 Thread Christian Grün
True.. Thanks Dirk. ___ Christian Grün Box 188, Uni KN D-78457 Konstanz http://christian-gruen.de On Wed, Nov 7, 2012 at 8:22 PM, Dirk Kirsten wrote: > Hi Bryan, > > Christian already mentioned the progress information for the standalone > mode. You can a

Re: [basex-talk] SQL Module documentation: execute-prepared documentation out of date?

2012-11-08 Thread Christian Grün
Ben, thanks for the observation, and your offer to update our documentation. I've just confirmed your account, feel free to go! Christian PS: external edits to our Wiki are always welcome! We'd prefer to have a completely free Wiki, but due to some tenacious spambots we eventually make accounts

Re: [basex-talk] HELP ...............

2012-11-08 Thread Christian Grün
Dear Anush, it will be difficult to support RSS storage out of the box. Instead, as you already guessed, you'll have to decide which feeds are already stored in your database, and which are new. There are some unique indicators in your XML stream that will help (most predominantly the timestamp.

Re: [basex-talk] Best way to run basex webapp in live environment

2012-11-08 Thread Christian Grün
..looks reasonable! As you may already have noticed, you'll find additional log data in the {dbpath}/.logs directory. ___ On Thu, Nov 8, 2012 at 10:18 PM, Colin McEnearney wrote: > Hi, > > What is the best way to run a basex webapp for a live site? > > Right now I've got i

Re: [basex-talk] webapp - set index to be index.xquery or .xml instead of .html

2012-11-08 Thread Christian Grün
Along with BaseX 7.5, we're planning to introduce direct evaluation of XQuery scripts. The feature is already working if the "DirectServlet" section in web.xml is activated, but it will take a while until everything will be properly documented. You may as well want to gather some experience with o

Re: [basex-talk] BaseXException when renaming a database

2012-11-09 Thread Christian Grün
Hi Rainer, thanks for the report. I assume the problem should have been fixed in 7.5. Could you have a look at the latest snapshot [1]? Christian [1] http://files.basex.org/releases/latest/ ___ > I got the exception below when renaming a database. The renaming > operatio

Re: [basex-talk] passwords

2012-11-09 Thread Christian Grün
Hi Peter, could you give some more details on what you did/how you proceeded? Christian ___ On Thu, Nov 8, 2012 at 10:31 PM, wrote: > trying out changing passwords with BaseX7.5 with a Tomcat war > installation. I changed the UID and pwd in web.xml and it doesn't > let m

Re: [basex-talk] Crash when opening a BaseX database

2012-11-10 Thread Christian Grün
Dear Remi, it's usually a tough job to restore a corrupt database; at least there are no existing tools for it. The latest snapshot of BaseX [1] provides the (yet undocumented) command INSPECT, which can applied on an opened database, and which may give you some hint which part of the database ha

Re: [basex-talk] basex RUN local script when talking to Remote server

2012-11-10 Thread Christian Grün
Hi Bryan, it's true that scripts that are addressed via RUN will always be opened on the server. If you use basexclient from command line, you can specify your input file with the -c flag. As an alternative, if your commands are available as string (either on the text or the XML format), you may a

Re: [basex-talk] UPDINDEX performance problem

2012-11-10 Thread Christian Grün
Hi Gary, thanks for your report. Using more than one database is indeed a viable, and recommended, approach. If your data fits into memory, you could use a single XQuery and the functions provided by the Database Module [1] in order to directly store the converted data in a second database. Repor

Re: [basex-talk] Crash when opening a BaseX database

2012-11-10 Thread Christian Grün
ork for some users when the databases are > corrupted. > > What would be your advice with our current situation? I can provide more > input if you need anything. > > Remi > > 2012/11/10 Christian Grün >> >> Dear Remi, >> >> it's usually a

Re: [basex-talk] Documents added by db:add(...) not visible for other existing database connections?

2012-11-10 Thread Christian Grün
Hi Arjan, it has taken a while, but I'm glad to report that the issue you reported has now been fixed [1]; as usual, I'm recommending the latest snapshot that I've just uploaded [2]. Best, Christian [1] https://github.com/BaseXdb/basex/issues/575 [2] http://files.basex.org/releases/latest/ _

Re: [basex-talk] Updating single database locks entire server

2012-11-11 Thread Christian Grün
Hi Srini, in both cases, using the latest stable snapshot of BaseX 7.5 [1] may give you better results: first of all, updates have been sped up in this version; next, it provides a DBLOCKING flag in the .basex configuration file [2], which addresses your second problem, and which can be set to tru

Re: [basex-talk] UPDINDEX performance problem

2012-11-11 Thread Christian Grün
re efficient)? > > Cheers > Gary > > ____ > From: Christian Grün > To: The Trainspotter > Cc: "basex-talk@mailman.uni-konstanz.de" > > Sent: Saturday, 10 November 2012, 21:12 > Subject: Re: [basex-talk] UPDINDEX performance probl

Re: [basex-talk] basex RUN local script when talking to Remote server

2012-11-12 Thread Christian Grün
It's difficult to give more information without having more details.. Do you have a reproducible example? Am 12.11.2012 12:49 schrieb "bryan rasmussen" : > > On Fri, Nov 9, 2012 at 1:46 PM, bryan rasmussen > wrote: > > Hi, > > > > I have started the basexclient with a -n and -parameter to point t

Re: [basex-talk] basex RUN local script when talking to Remote server

2012-11-12 Thread Christian Grün
Hi Bryan (cc @ basex-talk), thanks for the confirmation. Yes, certain combinations of command-line arguments along with "-o" caused a buggy behavior. As usual, I've updated the latest snapshot containing the fix [1]. By the way, please note that all arguments will be evaluated from left to right

Re: [basex-talk] running xquery file with -c parameter returns unknown command: for

2012-11-12 Thread Christian Grün
Once again I need some more information.. How does your command line call look like? ___ On Mon, Nov 12, 2012 at 2:45 PM, bryan rasmussen wrote: > When I use -c to run a file and the file is empty_titles.bsx > with the following > > XQUERY for $doc in db:open("dkcontent")

Re: [basex-talk] Compilation issue

2012-11-12 Thread Christian Grün
Thanks Antoni, I have updated the code base; the two issue should now be fixed. Christian ___ On Mon, Nov 12, 2012 at 2:54 PM, Antoni Mylka wrote: > Hi, > > I tried to clone and build the basex maven module today and I stumbled upon > two issues. > > 1. When JavaCC is cal

Re: [basex-talk] Database corruption

2012-11-12 Thread Christian Grün
Dear Antoni, without having read all the elaborate details in your mail (thanks), I would strongly advise to try the latest stable 7.5 snapshot [1], which contains some important improvements reg. concurrent updates. I'm well aware that it feels inconvenient to use beta releases in productive envi

Re: [basex-talk] Database corruption

2012-11-13 Thread Christian Grün
Antoni, thanks in advance! Be sure I'll have a look at this later today.. Christian Am 13.11.2012 14:28 schrieb "Antoni Mylka" : > Hi, > > I debugged what goes on inside StringParser in the command posted earlier. > It seems that the parser makes an assumption that the ADD command should > fit on

Re: [basex-talk] Database corruption

2012-11-13 Thread Christian Grün
Hi Antoni, to start bottom up.. It feels as if you already know our code base quite well ;) Your description of the bug and the reasons for the changes in the code were absolutely right. I didn't manage to merge your patch out-of-box, but I adopted the general idea [1], which means the problem sho

Re: [basex-talk] Updating single database locks entire server

2012-11-13 Thread Christian Grün
et of commands work fine in 7.3. This sound very basic so I am > guessing I am missing something simple here. Appreciate your help. > > Thanks, > Srini > > On Sun, Nov 11, 2012 at 6:44 AM, Christian Grün > wrote: >> >> Hi Srini, >> >> in both cases, using the

Re: [basex-talk] (no subject)

2012-11-14 Thread Christian Grün
Hi John, there is no complete 7.5 available yet, but you may want to check out our documentation (search for 7.5) and the GitHub issue list (limit to Milestone 7.5) in order to get a first impression. Best, Christian Am 14.11.2012 05:18 schrieb "John Best" : __

Re: [basex-talk] Database corruption

2012-11-14 Thread Christian Grün
Hi Antoni, > Now questions: > 1. Was the query above wrong? yes, it was. We've further strengthened our type checks by introducing a distinction between casts and sequence type matchings, as demanded by the spec. In a nutshell: the type extension "as xs:dateTime" checks only if a value can be tre

Re: [basex-talk] Database corruption

2012-11-14 Thread Christian Grün
> The test runs and I still get exceptions. They are different from those in > 7.2.1 and don't happen every time, but are still scary. I agree, this looks a little bit frightening.. I guess it won’t be easy, but it would be great if you manage to create a reproducible test case. _

Re: [basex-talk] XQuery web app authentication - best practices?

2012-11-15 Thread Christian Grün
Hi Daniel, you may be interested to hear that we already has some first thoughts on extending the RESTXQ API with an authentication module. As you indicated, those "if" constructs are the current way to go. While it works fine in practice, I agree it’s not the way it should be. The reasons why we

Re: [basex-talk] Options in Basex 7.5

2012-11-15 Thread Christian Grün
Hi Andy, > I wonder if the supplied jetty.xml could use . sounds like a good idea! I'll test it and, most probably, include it if I don’t encounter any surprises. Thanks, Christian ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https:/

Re: [basex-talk] Options in Basex 7.5

2012-11-15 Thread Christian Grün
..added. There is no option yet for the confidential port, as it required a number of additional options. Anyway, if you think that would be useful, we could easily add such an option. ___ > I am often getting caught out by the fact that in recent 7.5 builds the http > prop

Re: [basex-talk] XQuery web app authentication - best practices?

2012-11-15 Thread Christian Grün
string,$fn){ >> let $uid:=session:get("uid") >> return if($uid) and ..checkrole here... then >> $fn() >> else http-auth("Whizz apb auth",()) >> }; >> >> (:~ >> : REST created http://restpatterns.org/HTTP_Status_Codes/401_-_Unauthorized >> :) >>

Re: [basex-talk] udpindex

2012-11-15 Thread Christian Grün
Hi Cerstin, currently, the UPDINDEX provides incremental support for the value index structures (texts and attribute values). It will be mapped to the GUI as soon as the path and fulltext will also be able to do incremental updates. If you want to test the flag, you can use the input line on top

Re: [basex-talk] slow query

2012-11-15 Thread Christian Grün
> for $i at $p in //entry[phraseme[text() = "Ad0194"] and selected[text() = > "yes"]] It’s often beneficial to avoid nested predicated. Does the following version give you better results? //entry[phraseme/text() = "Ad0194" and selected/text() = "yes"] Beside that, feel free to send us the qu

Re: [basex-talk] performance and collections

2012-11-15 Thread Christian Grün
Dear Pete, a database of 3000 * 40K bytes input shouldn't cause any problems for a single database (as long as you don't run heavy updates on the data). It's mostly up to the queries to get enough performance. Hope this helps, Christian On Fri, Nov 16, 2012 at 1:

Re: [basex-talk] slow query

2012-11-18 Thread Christian Grün
Hi Cerstin, > OK, here is the query info. Most time is used for evaluation, also printing > takes some time, but parsing and compiling looks pretty fast, I think. it looks as the query plan is still based on the nested predicates. Have you checked if the simplified form leads to the usage of inde

Re: [basex-talk] concurrent issues with 7.5 - OverlappingFileLockException

2012-11-18 Thread Christian Grün
Hi Srini, I finally managed to reproduce your issue locally (using Win7). This seems to be related with issue 574 in our issue tracker [1]. Does the problem persist when setting the number of parallel clients to one (PARALLEL: 1) [2]? Best, Christian [1] https://github.com/BaseXdb/basex/issues/5

Re: [basex-talk] concurrent issues with 7.5 - OverlappingFileLockException

2012-11-18 Thread Christian Grün
7:42 PM, Christian Grün wrote: > Hi Srini, > > I finally managed to reproduce your issue locally (using Win7). This > seems to be related with issue 574 in our issue tracker [1]. Does the > problem persist when setting the number of parallel clients to one > (PARALLEL: 1) [2]

Re: [basex-talk] concurrent issues with 7.5 - OverlappingFileLockException

2012-11-18 Thread Christian Grün
Hi Srini, could you check out the latest snapshot [1] and give us some feedback? Thanks in advance, Christian [1] http://files.basex.org/releases/latest/ ___ On Sun, Nov 18, 2012 at 7:58 PM, Christian Grün wrote: > ..next, you could try to explicitly close the cli

Re: [basex-talk] BUG# Multiple Thread try to execute some Query

2012-11-18 Thread Christian Grün
Eclipse? >> > - what happens if you suppress the text output? >> > >> > Thanks, >> > Christian >> > ___ >> > >> > On Wed, Sep 26, 2012 at 3:31 PM, Samuel Lacmene >> > wrote: >> >&g

Re: [basex-talk] Saving xquery output to a file

2012-11-19 Thread Christian Grün
Dear Alex, I would recommand you to either redirect the script output on command line, e.g. via "-o" [1], or use file:write() from the File Module [2]. Hope this helps, Christian [1] http://docs.basex.org/wiki/Startup_Options#BaseX_Standalone [2] http://docs.basex.org/wiki/File_Module#file:write

Re: [basex-talk] slow query

2012-11-19 Thread Christian Grün
> let $title := (db:open-id('TG-DTA-GerManC-stemming-ws', $node) > /ancestor::*:TEI[1]//*:fileDesc)[1]//*:titleStmt[1]//*:title[1] Do you think that the following query would return the expected result? db:open-id('TG-DTA-GerManC-stemming-ws', $node)/ ancestor::*:TEI[1]/ descendant

Re: [basex-talk] 3 steps

2012-11-20 Thread Christian Grün
Hi Simon, > I have a noob question about this, in three quick steps, how do I: > 1. Add these templates to a database as XSL files are well-formed XML files, you may add them to the database in the same way as you can add XML files. Please consult our documentation for various ways how to d

[basex-talk] Upcoming: XMLPrague 2013

2012-11-20 Thread Christian Grün
Hi all! The XMLPrague Conference is the most important European event for XML specialists, developers and users. Next year, it will take place from Feb 8-10: http://www.xmlprague.cz/ Once again, our team will be present there, and it will be a pleasure for us to see you and talk to you live!

Re: [basex-talk] db:list via basexclients doesn't show all databases

2012-11-21 Thread Christian Grün
Hi Stefan, as Andreas correctly indicated, in order to make future database locking realizable, the database server has been using an internal list of databases and backup files, which was the reason why database changes from other JVMs were not reflected in the client/server architecture. This re

Re: [basex-talk] Database corruption

2012-11-21 Thread Christian Grün
Hi Antoni, thanks for your feedback. > I now started a test run of our system with PARALLEL=1 and UPDINDEX=false. > The system has been running without any exceptions for 17 hours. Starting > with an empty data there have been almost 200K queries and commands. This is > a record. that's good

Re: [basex-talk] 3 steps

2012-11-21 Thread Christian Grün
>> The current way to do this is transform your request via XQuery and the XSLT >> module. We may add a parameter for XSLT transformations to our REST API [4]; >> details would first have to be specified, though. Yes, it can also be done in Java. The most compact solution I get in mind is: 1. C

Re: [basex-talk] 3 steps

2012-11-21 Thread Christian Grün
> I see but there you put the entire xslt in one place, I’m not sure what you mean? > -Original Message- > From: Christian Grün [mailto:christian.gr...@gmail.com] > Sent: woensdag 21 november 2012 14:38 > To: Simon Knuijver > Cc: BaseX > Subject: Re: [basex-ta

Re: [basex-talk] indent parameter

2012-11-21 Thread Christian Grün
Hi Hans-Jürgen, you may need to set the CHOP Option to false before creating a database or document [1]. Do you think this solves the problems? If no, do you have a small example that demonstrates the confusion? Christian [1] http://docs.basex.org/wiki/Startup_Options ___

Re: [basex-talk] Unable to integrate with oxygen to run xquery

2012-11-21 Thread Christian Grün
> let $content := //MessageHeader > return $content You could try to directly address the database in your query: let $content := db:open('DDEX')//MessageHeader return $content Does this help? Christian ___ > I've got basex set up using jetty and can query within the fir

Re: [basex-talk] XQuery update: updating inside a closure & how to modify a node and insert it in a DB

2012-11-22 Thread Christian Grün
Hi Daniel, > Doesn't it introduce performance problems though? If you do this copying with > some bigger chunk of XML does it take the same amount of memory or is it > somehow "delta" optimized? Yes; this is due to the specification, btw. Whatever you copy in your XQUF spec. is supposed to be c

Re: [basex-talk] Adding documents to database while space on disk drive runs out

2012-11-22 Thread Christian Grün
Dear Thomas, I’m sorry that your data got corrupted. I agree that such a test would be a desirable addition, I’m afraid it’s often difficult to guess how much space will be occupied by a specific update operation. We could generally disable update operations when the remaining space falls below a

Re: [basex-talk] HTTP module - authorization

2012-11-23 Thread Christian Grün
Hi Hans-Jürgen, currently, we only basic authentication [1]. > Thank you, Welcome, Christian [1] http://docs.basex.org/wiki/HTTP_Module#http:send-request __ > I have a question about the HTTP module and authorization. Is digest > authorization supported, or is it only p

Re: [basex-talk] Database corruption

2012-11-26 Thread Christian Grün
Antoni, sorry for the ongoing bug research. We recently had another look at our basex-tests repository, which includes various stress tests [1], and our internal test cases, but it seems to be pretty difficult for us to get the reported problems reproduced. If we should manage to get closer to the

Re: [basex-talk] EXPath File Module within xqueries in oxygen?

2012-11-26 Thread Christian Grün
Hi Alex, > So having the oxygen integration setup now, the next question that comes up > which I'm not finding an answer for is can one use the EXPath File Module > within xqueries in oxygen? sure, this is no problems. You can use any module specified in our module library [1]. > I'm googling ar

Re: [basex-talk] Namespace prefix not accepted

2012-11-28 Thread Christian Grün
Hi Matt, do you have a little example that demonstrates the problem? Best, Christian Am 28.11.2012 15:06 schrieb "Buddy Butterfly" : > Hi, > > I just discovered the impressive basex via ubuntu packages store. > First tests went OK until I used an XML with mixed namespaces. > Some of the outer a

Re: [basex-talk] BXS - indexes - specifying the index and database location

2012-11-28 Thread Christian Grün
Hi Alex, > I've written a script to call the bxs and create the database which it does > however in this case it is not creating the indexes for fulltext as > specified in the bxs and rather it is creating the text and attribute index. > Why is that? sorry for that! I notified a little bug in our

Re: [basex-talk] BXS - indexes - specifying the index and database location

2012-11-29 Thread Christian Grün
Hi Alex, here’s my follow-up: > /mnt/basex_volume/i4Base-Basex7.3/scripts/fulltext/mnt/basex_volume/i4Base-Basex7.3/stores/sample-data/1997 I assume that the "fulltext" directory was created by the bug I fixed yesterday; just give it another try. > I would like to store the database and indexes

Re: [basex-talk] Time query takes looking for element with text() ID

2012-11-29 Thread Christian Grün
Hi Alex, > let $content := db:open('F-DDEX')//MessageHeader/MessageThreadId[text() eq > '8937478'] > return $content due to some specifics of the XQuery and XML semantics, the "eq" operator cannot also be rewritten for index access. The following query should be processed much faster: let $con

Re: [basex-talk] using fuzzy in oxygen "invalid XQuery syntax, syntax does not pass static validation."

2012-11-29 Thread Christian Grün
Hi Alex, yes, this is proabby due to XQJ. As "using fuzzy" is (at least for now) a BaseX-specific extension, it is not detected by regular XQFT parsers. However, you should be able to specify our "fuzzy" feature via ft:search() [1]. Hope this helps, Christian [1] http://docs.basex.org/wiki/Full

Re: [basex-talk] new to basex

2012-11-30 Thread Christian Grün
Hi Bill, > I'm having trouble figuring out how exactly to enable fulltext XQuery > searches. We have it working, but quite a few keywords are not being indexed. > [...] as you already indicated, the fulltext index gets lost when performing updates. If you set FTNDEX to TRUE before creating your

Re: [basex-talk] new to basex

2012-11-30 Thread Christian Grün
eed to reset globals and reindex each time the server is restart? It > our implimentation it seems so (running standalone mode). > > Thanks. > > -bb > > > On Nov 30, 2012, at 8:50 AM, Christian Grün wrote: > >> Hi Bill, >> >>> I'm having trou

Re: [basex-talk] UPDINDEX fails; command basexserver does not work

2012-12-04 Thread Christian Grün
Hi Cerstin, In the GUI I could see, that the value of INDEX for "up-to-date" was > "false". this information simply indicates that not all index structures are updated yet. Whenever you activate UPDINDEX, your text and value will always be updated (i.e., "Text Index: " should always be followed

Re: [basex-talk] Query slow via PHP

2012-12-05 Thread Christian Grün
> When running this command in basex on linux it completes in around 2.5 > seconds (acceptable speed given the size of the XML file) but when I run it > via PHP using the client from the website, it takes around 15 seconds: There should be no considerable difference reg. the APIs you are using, so

Re: [basex-talk] Query slow via PHP

2012-12-05 Thread Christian Grün
> An export of the Links.xml, by the way, shows that it's a 4.4meg file, so > it's not small, but it's all localhost so it's not a network issue as far as > I'm aware. Good to know; so it seems that the PHP API isn’t very good at retrieving data (and I was too careless claiming that the API to b

Re: [basex-talk] Query slow via PHP

2012-12-05 Thread Christian Grün
-Original Message- > From: Bill Beck [mailto:bb...@masshist.org] > Sent: 05 December 2012 13:03 > To: Mayer, Jonathan > Cc: Christian Grün; basex-talk@mailman.uni-konstanz.de > Subject: Re: [basex-talk] Query slow via PHP > > FWIW: > I've been using php for connecting to

Re: [basex-talk] UPDINDEX fails; command basexserver does not work

2012-12-06 Thread Christian Grün
> When trying to call "basexserver stop", nothing happens, it seems to wait > for something or process something. When I call basexserver stop, "java" > appears for a moment in "top", but then it disappears and the command does > not stop. Very frustrating. Calling "basexserver -S", shows the same

Re: [basex-talk] python client, issue with adding xml files

2012-12-09 Thread Christian Grün
Hi Laurent, if your client and server is placed on the same machine, you may use session.execute("create db /path/to/files") Otherwise, you'll have to read the files via Python and pass them on via create/add. Hope this helps, Christian ___ > The python samples pass a

Re: [basex-talk] Changing content through Data Source/Oxygen

2012-12-10 Thread Christian Grün
Hi France, I’m not sure what could be helpful for this particular case.. If I get it right, your xqm config file is not stored in the database, but in the webapp, which you are editing from within oXygen and requesting via RESTXQ, right? What happens if you manually edit the xqm file outside oXyge

Re: [basex-talk] UPDINDEX fails; command basexserver does not work

2012-12-10 Thread Christian Grün
Hi Cerstin, > OK, the only basex process running was the server started 20 days ago. I > killed this one and then started the server again. > I have no idea what might have caused the time out my user encountered in > the first place. The queries she ran were simple ones with only 150 and less > r

Re: [basex-talk] Are command scripts optimized before execution? / Optimization of my query

2012-12-10 Thread Christian Grün
Hi Ben, > I was wondering whether command scripts are optimized before they are > executed. I would think so, because when I had made an error in the, > say, sixth command in my script, it was caught before the first > command was executed. in fact all commands will be parsed before being execute

Re: [basex-talk] Performance Question

2012-12-11 Thread Christian Grün
Hi Thomas, > P.S. When (approx.) do you plan to release the next version of BaseX? It's only a few days left! As a little hint, I can already disclose that the release will be nicknamed »BaseXMas Edition«. > I have a question regarding performance, because my database shows a somehow > strange

Re: [basex-talk] Unable to integrate with oxygen to run xquery

2012-12-11 Thread Christian Grün
;> that is not working. When I started the server windows 7 asked >>> permission for the firewall which I gave. I started the server >>> from gui and as well closing the gui and starting from the start >>> menu basex server (start) and both gave the s

Re: [basex-talk] Problems DST

2012-12-11 Thread Christian Grün
Hi Randy, fn:implicit-timezone() may come in handy here. It returns your current local timezone: http://www.xqueryfunctions.com/xq/fn_implicit-timezone.html Best, Christian ___ On Wed, Dec 12, 2012 at 12:13 AM, Randy reed wrote: > Hi All, > > I wrote a xquery in Basex

Re: [basex-talk] Performance Question

2012-12-12 Thread Christian Grün
I/O? > Do you have any recommendations for tools to profile the database on Windows? I usually avoid visual tools and use command-level profiling instead, i.e. via the flag -Xrunhprof:cpu=sample. Hope this helps, Christian >> -Original Message- >> From: Christian

Re: [basex-talk] setting multiple bindings in the GUI

2012-12-12 Thread Christian Grün
Hi Randy, commas should usually help you out. You may want to have a look at our documentation: http://docs.basex.org/wiki/Options#BINDINGS If this does not help, feel free to provide us with a full example. Best, Christian Am 13.12.2012 00:08 schrieb "Randy reed" : > Hi All, > > I've got t

Re: [basex-talk] Perl BaseX API questions

2012-12-12 Thread Christian Grün
Hi Liam, be sure I'll have a look at this tomorrow. Christian Am 12.12.2012 20:48 schrieb "Liam R E Quin" : > (1) The sample perl files and the perl module implementing the API > mention a readme file that explains the methods; does anyone know where > one might find such a readme file? It might

Re: [basex-talk] Perl BaseX API questions

2012-12-13 Thread Christian Grün
Hi Liam, > (1) The sample perl files and the perl module implementing the API > mention a readme file that explains the methods; does anyone know where > one might find such a readme file? It might answer my other question... The quoted readme.txt file is currently found in the parent directory,

Re: [basex-talk] BaseX and Saxon8

2012-12-13 Thread Christian Grün
Hello Dilla, BaseX contains no class paths that conflict with Saxon, so this rather sounds like a general issue and has nothing to do with BaeX itself. In order to give helpful hints, we absolutely need some information on how you proceed. Could you e.g. show us your java call, the complete classp

Re: [basex-talk] Performance Question

2012-12-13 Thread Christian Grün
nges solve my problem I can > send you the modified classes for testing in your environment. Thank you for > your help so far! > > Best regards, > Thomas > >> -Original Message- >> From: Christian Grün [mailto:christian.gr...@gmail.com] >> Sent: Thursday, De

Re: [basex-talk] Perl BaseX API questions

2012-12-13 Thread Christian Grün
__ On Thu, Dec 13, 2012 at 8:29 PM, Liam R E Quin wrote: > On Thu, 2012-12-13 at 18:30 +0100, Christian Grün wrote: >> Hi Liam, >> >> > (1) The sample perl files and the perl module implementing the API >> > mention a read

Re: [basex-talk] Perl BaseX API questions

2012-12-13 Thread Christian Grün
, your contributions are welcome! Christian ___ On Thu, Dec 13, 2012 at 11:11 PM, Christian Grün wrote: > Liam, > > the bug has been fixed [1]; feel free to check out the latest version [2]. > > Thanks for sharing this, > Christian > > [1] > https

Re: [basex-talk] strange behavior of ft:mark() and ft:extract()

2012-12-14 Thread Christian Grün
Hi Francis, > ft:mark() and ft:extract() cannot be used with any intermediate looping > construct, at least in BaseX 7.3. [...] Good point. I was surprised to see that this has not been covered yet in our documentation. I have updated the module page and hope it’s clearer now [1] (even if I stic

Re: [basex-talk] strange behavior of ft:mark() and ft:extract()

2012-12-14 Thread Christian Grün
> However (this is a separate bug), the document-node() parent/child ordering > is messed up: I just noticed that I unwittingly ignored your second remark. I’ll have a look at this issue soon (it could be related to issue 588 [1], which was recently brought up by Hans-Jürgen Rennau on this list [

Re: [basex-talk] Upcoming: XMLPrague 2013

2012-12-14 Thread Christian Grün
Hi Cerstin, > I will be there, just registered :) good news! > Yes, I can show some of my awkward perl-skripts and the overall structure of > our project. It would be great to get some input on improving performance > and how to deal with digital humanities data and users. Even better news! Yo

Re: [basex-talk] Java bindings error

2012-12-14 Thread Christian Grün
Randy, thanks for your update. I have further refined the Java mappings; please check out the latest stable snapshot [1]. Since 7.0, many details of our Java bindings have improved, but it’s generally difficult to find a solution that matches all cases. As there’s no lossless mapping available fo

Re: [basex-talk] Java bindings error

2012-12-14 Thread Christian Grün
> […] Its one of the bang-your-head-against-a-wall type > mysteries that seems to have no reason. > Randy …no idea what might have caused this “fix”; let’s hope it stays that way… After all, it’s an even better choice anyway to switch over to 7.5 ;) Christian >> thanks for your update. I have f

Re: [basex-talk] setting multiple bindings in the GUI

2012-12-15 Thread Christian Grün
fter reading the documentation. I don't think I'm doing > anything wrong but i've attached a screen shot to be sure. As you can > see the variable are separated by commas, but for some reason I get a > syntax error. > > Thanks > Randy > > On Wed, Dec 12, 2012 at 9:14 PM, Ch

Re: [basex-talk] xmas feature wishes ;-)

2012-12-16 Thread Christian Grün
Hi Max, > will there be a JSONiq package under the tree (or anytime soon)? I’m afraid it won’t be part of this year’s release, unless anyone in our team gety very very busy within the next few days… >From a conceptual perspective, there are some features within JSONiq that compete with our curren

Re: [basex-talk] Binding a sequence to an external variable?

2012-12-17 Thread Christian Grün
Hi Johannes, sorry for the late feedback. – As you already indicated, our bindings don’t support sequence types. One of the reasons is that our client API is designed to be implementable in different languages. You could think about joining all your strings and bind them as a single strings, and

Re: [basex-talk] DTD validation

2012-12-17 Thread Christian Grün
Hi France, just a short one for today.. did you try to enclose your validate function with try/catch? Christian Am 18.12.2012 01:40 schrieb "France Baril" : > Hi, > > We are having challenges with validation. > > We have built a Documentation Controller for authors that create XML > content. On

Re: [basex-talk] DTD validation

2012-12-18 Thread Christian Grün
…and a longer one: the attached query may do what you need. > Stopped at line 270, column 77 in > /Applications/basex75/webapp/restxq/How2_Admin.xqm: > [BXVA0001] Validation failed: 1355790115420.xml, 3:22: Element type "headin" > must be declared. In the validation process, your xml file is temp

Re: [basex-talk] Changing content through Data Source/Oxygen

2012-12-18 Thread Christian Grün
then the DB is overridden, it works. Even if we force reindexing of the > DB after the changes, the .xqm accessing the config file get empty results. > > > > On Mon, Dec 10, 2012 at 5:20 PM, Christian Grün > wrote: >> >> Hi France, >> >> I’m not sure w

Re: [basex-talk] Changing content through Data Source/Oxygen

2012-12-19 Thread Christian Grün
> default ON [we need it OFF]. > > I just tried it on 7.5 and got the same result. > > > On Tue, Dec 18, 2012 at 8:27 AM, Christian Grün > wrote: >> >> Hi France, >> >> I’m still not sure what may be the core problem.. >> >> > From Ox

Re: [basex-talk] Changing content through Data Source/Oxygen

2012-12-20 Thread Christian Grün
d add it? I'm not sure that's the only issue though, > because even after updating indexes the information from config.xml remains > unaccessible. > > On Wed, Dec 19, 2012 at 7:05 AM, Christian Grün > wrote: >> >> Hi France, >> >> in the current versio

Re: [basex-talk] Spatial XQuery

2012-12-20 Thread Christian Grün
Dear David, thanks for your request. Yes, one of our members (Masoumeh) is in fact working on an implementation of the Geo Module (for GML2), and it may get finished in Januar or February. It will closely resemble Zorba’s implementation, and we think about proposing some updates to the official EX

[basex-talk] Release BaseX 7.5 – The BaseXMas Edition

2012-12-21 Thread Christian Grün
Dear subscribers, yes, it has been quite a while… Which is why we are even more excited to finally announce the release of BaseX 7.5, the BaseXMas Edition, our XML Database and XQuery Processor! Here are the latest features and changes: XQUERY UPDATE - bulk updates are now much faster than before

Re: [basex-talk] server / GUI synchronization and data safety

2012-12-22 Thread Christian Grün
Dear Michael, thanks for your observations. I see that our warnings cause some concerns that may have been substantial in previous versions, and I tried to soften them a little in our startup article [1]. The current status quo is actually quite safe: · you will have a peaceful life if you open c

Re: [basex-talk] basex SERVERHOST

2012-12-22 Thread Christian Grün
...exactly. Some more information how the .basex file is chosen can be found on our Configuration page [1]. [1] http://docs.basex.org/wiki/Configuration __ On Sat, Dec 22, 2012 at 4:03 AM, Liam R E Quin wrote: > On Fri, 2012-12-21 at 21:54 -0500, Liam R E Quin wrote:

Re: [basex-talk] RFE: Turning off parts of the BaseX REST interface

2012-12-22 Thread Christian Grün
…just some short feedback for today: the major challenge we are probably confronted when it comes to our user management is to find a minimum and consistent subset of functionality that covers as many use cases as possible. This said, your suggestions are helpful, and will turn out to be even more

[basex-talk] Fwd: Re: Mailing list help

2012-12-27 Thread Christian Grün
Dear all, the mailing list is currently not available outside the University of Konstanz. We will report back as soon as we know what is causing the problems. Sorry for that, Christian ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https

Re: [basex-talk] Mailing list help

2012-12-30 Thread Christian Grün
the mailing list is back and waiting for your mails. – Christian On Thu, Dec 27, 2012 at 9:26 PM, Christian Grün wrote: > Dear all, > > the mailing list is currently not available outside the University of > Konstanz. We will report back a

<    1   2   3   4   5   6   7   8   9   10   >