Re: [basex-talk] FOP module

2021-01-07 Thread Christian Grün
> it works like a charm with a fop.xconf (which contains fonts'config) file in > the basex root dir. Glad to hear that! > Do you plan to upgrade the FOP dependency ? Currently no, but we’ll let you know. In the long term, we’d like to have a public repository page for all modules with some

Re: [basex-talk] FOP module

2021-01-05 Thread Christian Grün
lable through the BaseX module. > > Should I modify (based on > https://xmlgraphics.apache.org/fop/1.1/embedding.html#config-external) and > recompile the module ? > > Thanks > > Regards, > > Jérôme > > - Mail original - > De: "jerome chauveau"

Re: [basex-talk] error "lock file does not exist" after "add" command

2021-01-04 Thread Christian Grün
Hi Thomas, Thanks for your mail. As you have already reported back to us, it seems to be an inconsistency in your database that seems to trigger the exception. It’s true that the INSPECT cannot catch all possible inconsistencies in a database. You can try to… 1. export all files from your

Re: [basex-talk] Database access in a function

2020-12-18 Thread Christian Grün
> I have a script where I join two databases. It works. However, when I try to > put the content of this script in a function, and then call it (with the > databases being the arguments), the execution is slowed down (I guess the > indexes are not properly accessed). Is there a way to overcome

Re: [basex-talk] write result to file?

2020-12-15 Thread Christian Grün
There are numerous ways to do so. Did you already check our documentation ( docs.basex.org)? Nicholas schrieb am Di., 15. Dez. 2020, 18:15: > how is the return result from a query written to a file? > > > thanks, > > > Nick > >

Re: [basex-talk] FOP module

2020-12-15 Thread Christian Grün
Hi Jérôme, hi Andy, We have aligned all modules with the latest version of BaseX (including the FOP, FTP and Map module). Hope this helps, Christian On Tue, Dec 8, 2020 at 3:09 PM Jerome Chauveau wrote: > > Hi, > > I am trying to use the (too old ?) FOP module, but unsuccessfully. > I copied

Re: [basex-talk] set parser csv header

2020-12-15 Thread Christian Grün
Hi Nicholas, Just assign your configuration to the CSVPARSER option [1]. Hope this helps, Christian [1] https://docs.basex.org/wiki/Options#CSVPARSER On Sun, Dec 13, 2020 at 2:39 PM Nicholas wrote: > > How do I set the CSV parser to use "header" true? > > > so that when the record is

Re: [basex-talk] java bindings - Data types

2020-12-15 Thread Christian Grün
Hi André, Some Java types are automatically converted to XQuery types [1]. It’s currently not possible to suppress the conversion. If your code contains more than one, two Java calls, it’s usually cleaner to write some Java and XQuery wrapper code. For better packaging, the files can be embedded

Re: [basex-talk] Copying databases between servers: pth.basex?

2020-12-12 Thread Christian Grün
ctions correctly. > > Thanks again for your help > > James > > > On 4 Dec 2020, at 12:35, Christian Grün > wrote: > > > > Hi James, > > > > Finally some feedback: > > > > Database paths are looked up differently on Windows/Mac and UNIX-

Re: [basex-talk] FOP module

2020-12-12 Thread Christian Grün
ri, 11 Dec 2020 at 15:50, Christian Grün > wrote: > >> Hi Jérôme, >> >> I just learned there are some more modules (such as the FTP Module) >> that need to be aligned with the latest version of BaseX. I hope we’ll >> manage to look at that next week. >> >&

Re: [basex-talk] FOP module

2020-12-11 Thread Christian Grün
Hi Jérôme, I just learned there are some more modules (such as the FTP Module) that need to be aligned with the latest version of BaseX. I hope we’ll manage to look at that next week. Merci et salutations Christian On Tue, Dec 8, 2020 at 3:09 PM Jerome Chauveau wrote: > > Hi, > > I am trying

Re: [basex-talk] Copying databases between servers: pth.basex?

2020-12-04 Thread Christian Grün
Hi James, Finally some feedback: Database paths are looked up differently on Windows/Mac and UNIX-based platforms: On the first ones, the lookup is case insensitive; on the latter ones, case matters. As a result, it may happen that path lookups will fail on UNIX/Linux systems (it shouldn’t

Re: [basex-talk] Improper use/potential bug error

2020-11-25 Thread Christian Grün
if you disable the info view panel, run the query on command-line without the -V flag, etc. Cheers, Christian [1] https://files.basex.org/releases/latest/ On Wed, Nov 25, 2020 at 1:03 PM Christian Grün wrote: > > One more hint: > > If you iterate over documents that ar

Re: [basex-talk] Improper use/potential bug error

2020-11-25 Thread Christian Grün
One more hint: If you iterate over documents that are not stored in a database, you can save a lot of main memory by using fetch:xml instead of fn:doc. As fn:doc is deterministic, all intermediate documents must be kept in main memory in order to ensure that a future access to this file will

Re: [basex-talk] Improper use/potential bug error

2020-11-25 Thread Christian Grün
Hi GIuseppe, The error message indicates that the info that’s to be output in the Info View panel gets too large. Does the error also occur if you disable the Info View before running the query? We’ll try to find the weak spot (usually, too large info output will be chopped), Christian On Sat,

Re: [basex-talk] RESTXQ and posting files

2020-11-25 Thread Christian Grün
Hi Giuseppe, > I would like to make the script available as a RESTXQ application, but > it is not clear to me how I can specify, in a RESTXQ function, that an > xml or txt file should be accepted as an input. What have you tried so far? Are you planning to upload your file as binary stream (e.g.

[basex-talk] BaseX 9.4.5: Bug Fixes

2020-11-24 Thread Christian Grün
Dear all, Another patch release with bug fixes is online. All the best, Christian

Re: [basex-talk] A first RESTXQ function

2020-11-19 Thread Christian Grün
Hi Nicholas, A good start is to: 1. download the full distribution of BaseX 2. run basexhttp, 3. visit http://localhost:8984, 4. open the BaseX GUI and look at the files in the webapp directory. You can modify some of these files and see what your browser does. Cheers, Christian On Tue, Nov

Re: [basex-talk] testing of updating functions in basex

2020-11-17 Thread Christian Grün
Dear BR dudzikp, You can place your actual test your assertion in a second function with the %unit:after annotation. Another solution is to perform your update in a %unit:before function and test the result in the main function. See [1] for an example. Cheers, CG [1]

Re: [basex-talk] in comments

2020-11-17 Thread Christian Grün
Hi Giuseppe, The reason is the specification: entities in comments are adopted without change (i.e. in their literal representation) [1]. The following example expression will be successfully evaluated: /data() Cheers, Christian [1]

Re: [basex-talk] BaseX GUI and remote editing

2020-11-16 Thread Christian Grün
Hi Marco, I guess you’ve already discovered the built-in XQuery editor in the DBA. It can be used for remote administration of your code, but the editing facilities are certainly limited (syntax highlighting is probably the most stunning feature…). We sometimes use it for critical bug fixes and

Re: [basex-talk] Dr. Mike Kay's proposals for XPath and XQuery 4.0

2020-11-16 Thread Christian Grün
proposal for convenient > HTTP client functions. I remember a proposal by you, Christian, together > with Adam maybe? > > M. > > On 16/11/20 15:30, Loren Cahlander wrote: > > Please make sure to keep me in the loop. I will need to keep xqDoc up to > > date. > > >

Re: [basex-talk] Dr. Mike Kay's proposals for XPath and XQuery 4.0

2020-11-16 Thread Christian Grün
> I don't know how many implementers we have on this list, outside of Christian > and co., but thought you all might find it interesting. Everyone: raise your hands and get involved ;) Michael’s initiative to push for a new version of XQuery, XPath & co. is very promising indeed. If you are

Re: [basex-talk] grouping by fuzzy match?

2020-11-12 Thread Christian Grün
L power. > > > You will need a number two phillips screwdriver. > You will need a #2 Phillips screwdriver. > > > Under no circumstances should you rig an antenna during a > thunderstorm. > > > Graphics card; do not eat. >

Re: [basex-talk] grouping by fuzzy match?

2020-11-11 Thread Christian Grün
Hi Graydon, Could you add some exemplary input and the output you’d be expecting? Thanks in advance Christian Graydon Saunders schrieb am Do., 12. Nov. 2020, 00:00: > Hello -- > > Is there some way to assign the abstraction of a fuzzy match to a > variable, so that something like > > for

Re: [basex-talk] Progress bar

2020-11-11 Thread Christian Grün
> > > On 11. Nov 2020, at 12:19, Christian Grün > wrote: > > Hi Giuseppe, > > I have written a BaseX script (which applies a few functions to files in a > directory), which I run at the command line. Is there a "trick" to get a > progress bar for that (othe

Re: [basex-talk] Progress bar

2020-11-11 Thread Christian Grün
Hi Giuseppe, > I have written a BaseX script (which applies a few functions to files in a > directory), which I run at the command line. Is there a "trick" to get a > progress bar for that (other than calling BaseX from a different programming > language having some progress bar library)?

Re: [basex-talk] Versioning in BaseX

2020-11-10 Thread Christian Grün
> > I don’t have that much experience with xQuery, but what you’re basically > saying is to setup another database for archiving right? > Exactly!

Re: [basex-talk] Versioning in BaseX

2020-11-06 Thread Christian Grün
Hi Rob, Thanks for writing to the list. As promised, I’ll give you a quick reply, and I can basically confirm what Michael has replied to you already: The existing modules of BaseX don’t provide a ready solution for versioning features, but it’s perfectly feasible to build a versioning solution

[basex-talk] BaseX 9.4.4: Performance Tweaks, Bug Fixes

2020-11-06 Thread Christian Grün
Dear all, BaseX 9.4.4 is available. Once again, we have focused on performance tweaks and fixed some minor bugs. http://basex.org Have fun, thanks for all, Your BaseX Team

Re: [basex-talk] archive:extract-text($archive, $entries) not returning all expected items

2020-11-01 Thread Christian Grün
Hi James, Thanks for the observation and the attached test case. The bug was fixed. You may be surprised to hear that it was already introduced eight years ago in a completely different context: Chained hash entries were not correctly linked after the deletion of an entry [1,2]… A new snapshot

Re: [basex-talk] Docker Image fails on initialization

2020-10-22 Thread Christian Grün
Hi Moishy, The docker integration of BaseX is something we eventually need to look at again. I haven’t used it by myself, but could you please check the following links and keep us stay tuned? https://docs.basex.org/wiki/Docker

Re: [basex-talk] recursively used variables

2020-10-22 Thread Christian Grün
I noticed there is an open issue that relates to your observation: https://github.com/BaseXdb/basex/issues/1095 Lots to do right now, let’s see when we can tackle it. On Thu, Oct 8, 2020 at 2:17 PM Rob Stapper wrote: > Hi, > > > > The code[1] below and send as attachment generates a error

Re: [basex-talk] Dpi scaling problem - Ubuntu 20.04

2020-10-18 Thread Christian Grün
Hi Silamphre, DPI scaling might be improved with a future version of Java (we only have limited means of improving rendering with Swing). With version of the JDK are you currently using / have you tried different versions? Best, Christian On Fri, Oct 16, 2020 at 4:12 AM Bridger Dyson-Smith

Re: [basex-talk] recursively used variables

2020-10-18 Thread Christian Grün
Hi Rob, sorry, I’ve just discovered your mail in the basex-talk archive. I believe that the given query should not raise an error as the variable does only reference your function. Let’s see what we can do. – Best, Christian On Thu, Oct 8, 2020 at 2:17 PM Rob Stapper wrote: > Hi, > > > > The

Re: [basex-talk] stemming chinese texts

2020-10-18 Thread Christian Grün
Hi Duncan, Thanks for offering your help, that’s appreciated. We could add Lucene’s CJK analyzers in BaseX, and either embed it or provide it as library, similar to the Japanese tokenizer. Have you already used the Lucene analyzers [1], and if so, which of the 3 provided analyzers would you

Re: [basex-talk] Packaging BaseX for the Chocolatey Package Manager

2020-10-18 Thread Christian Grün
Hi Sacha, Thanks for packaging BaseX. Will the software be available on https://chocolatey.org/ in the future? Best, Christian On Fri, Oct 16, 2020 at 3:45 PM Sacha Froment wrote: > > Hello, > > I made a packaging script for the chocolatey package manager of the BaseX > software. the script

Re: [basex-talk] stemming chinese texts

2020-10-14 Thread Christian Grün
d Chinese (without reading either > one myself). > I would like to test Lucene's analyzers, but I don't know how to do it in > BaseX? > > Best regards, > Philippe Pons > > > > Le 12/10/2020 à 12:01, Christian Grün a écrit : > > Dear Philippe, > > As the Chi

Re: [basex-talk] stemming chinese texts

2020-10-12 Thread Christian Grün
Dear Philippe, As the Chinese language rarely uses inflection, there is usually no need to perform stemming on texts. However, tokenization will be necessary indeed. Right now, BaseX provides no tokenizer/analyzer for Chinese texts. It should be possible indeed to adopt code from Lucene, as we’ve

Re: [basex-talk] XPTY0004 error when calling http:send-request inside of a local function

2020-10-11 Thread Christian Grün
Hi Bridger, As your query will either return an empty sequence (in the case of success) or a string (in the case of an error), you’ll need to use xs:string? as return type: declare function local:grab( $url as xs:string, $path as xs:string, $fname as xs:string ) as xs:string? { ... Hope

Re: [basex-talk] XQuery Optimizer Bug?

2020-10-07 Thread Christian Grün
Dear Paul, Thanks for your observation, and thanks for reporting it to the mailing list; indeed it’s the best place for all notifications and feature requests. You’ve encountered a bug that was seemingly introduced with BaseX 9.3, and was the side effect of a premature index rewriting. The bug

Re: [basex-talk] Mapping query-params to $options argement of ft:functionj

2020-10-05 Thread Christian Grün
> thanks for your help. Is there a way to combine ft:search with ft:mark, cause > at the end I need the results marked. Yes, you can combine ft:search and ft:mark. Try e.g. the following query: ft:mark(ft:search('db', 'term')/..)

Re: [basex-talk] king Henry VIII dalenda est

2020-10-05 Thread Christian Grün
Hi Liam, Did you find out why II et al. was ignored? Feel free to provide me with a little test case. Cheers, Christian On Tue, Sep 29, 2020 at 3:55 AM Liam R. E. Quin wrote: > > On Mon, 2020-09-28 at 19:32 -0400, Liam R. E. Quin wrote: > > At > > > > https://words.fromoldbooks.org/Search/ >

Re: [basex-talk] Mapping query-params to $options argement of ft:functionj

2020-10-05 Thread Christian Grün
Hi Günter, The function ft:search [1] was added to BaseX to fill this shortcoming of the official spec. Hope this helps Christian [1] https://docs.basex.org/wiki/Full-Text_Module#ft:search On Mon, Sep 28, 2020 at 11:06 AM Günter Dunz-Wolff wrote: > > Hi all, > is there a possibility to

Re: [basex-talk] issue: Add custom lib folder #1456

2020-09-25 Thread Christian Grün
Hi Nick, the Ubuntu distribution contains only the core library. If you want to use all features of BaseX, we recommend you to download the BaseX ZIP archive directly from our homepage. As you may have seen, Kralj Karlo has proposed a new BaseX package for UNIX-based platforms some days ago.

Re: [basex-talk] Paging results of an XQuery-Search

2020-09-25 Thread Christian Grün
Hi Günter, Here’s one way to do it: declare variable $QUERY external := 'mailto'; declare variable $START external := 1; declare variable $MAX external := 50; let $hits := db:open('data')//text() [. contains text { $QUERY }] let $count := count($hits) return { { concat($count, ' results,

Re: [basex-talk] Fwd: error in the latest developpers snapshot (BaseX944-20200919.114509)

2020-09-25 Thread Christian Grün
Confirmed and fixed ෴ Check out the updated snapshot On Thu, Sep 24, 2020 at 12:37 PM wrote: > > Hi Christian, > > considder the snapshot down below and as bijlage. This genereate > different results with the latest snapshot. > No problem with 943 and the previous snapshot(

Re: [basex-talk] Package for system integration

2020-09-18 Thread Christian Grün
Hi Kralj, Thanks for your generous offer to prepare future packages for us. I would also target your third option and try to automatize the process as far as possible. This way, you won’t need to feel responsible for all the time coming. The core of our packaging routine is an ancient Perl

Re: [basex-talk] Fulltext Distancing

2020-09-16 Thread Christian Grün
>> => the query is not specified in the email >> I am guessing the query was i) above (with all words): 'A x B' contains text >> 'A B' all words distance at most 1 words Exactly.

Re: [basex-talk] Fulltext Distancing

2020-09-16 Thread Christian Grün
Hi Adam, Thanks for writing to the list. After having given you a quick reply in private, I have double-checked your new use cases, and once again I realized that it’s the complex specification rules that leads to behavior that’s difficult to grasp. I’ll try to make it short: This query returns

Re: [basex-talk] Repeating "bin/basexhttp -S" and "bin/basexhttpstop"

2020-09-15 Thread Christian Grün
f4jLog > HTTP Server was stopped (port: 8984). > Server was stopped (port: 1984). > > C:\Users\WDAGUtilityAccount\Desktop\BaseX942\basex>query process java.exe > No Process exists for java.exe > > C:\Users\WDAGUtilityAccount\Desktop\BaseX942\basex> > ``` > > -- >

Re: [basex-talk] Package for system integration

2020-09-15 Thread Christian Grün
Hi Kralj, Thanks for your packaging proposal, very appreciated. We’ll have a look at it in the near future. Would you recommend it as default distribution for all Linux systems, or are there possible restrictions that may need to be considered? The current build system is based on Windows

Re: [basex-talk] Repeating "bin/basexhttp -S" and "bin/basexhttpstop"

2020-09-15 Thread Christian Grün
Hi AirQuick, The BaseX startup behavior hasn’t been changed in recent versions, and I didn’t manage to reproduce the behavior you described. Which OS do you use? Does it work if you delay the invocations? If you use Linux, it’s usually more elegant to start BaseX as background task. A second

Re: [basex-talk] html:parse() fails on webpage

2020-09-14 Thread Christian Grün
Hi Andreas, I get… Chmod Task Chmod Description Are you sure that TagSoup is included in your classpath? Cheers Christian On Mon, Sep 14, 2020 at 11:00 PM Andreas Mixich wrote: > > Hi, > > when doing: > > >

Re: [basex-talk] Best way to re-create existing root element with all attributes

2020-09-13 Thread Christian Grün
Hi Yitzhak, Try this: declare context item := document { ... }; * update { delete node employee } See [1] for more information on updating expressions. Best, Christian [1] https://docs.basex.org/wiki/XQuery_Update On 9/13/20, Yitzhak Khabinsky wrote: > Hello, > > > > This is

Re: [basex-talk] tail recursion issue in 9.4.3

2020-09-13 Thread Christian Grün
Hi Mark, With BaseX 9.4.3, your FLWOR expression will be rewritten to a simple map expression – for which no TCOs detection was implemented so far. It works with the latest snapshot [1]. If you want to stick with 9.4.3, you can manually inline $x: declare function local:f($n, $xs) { if ($n =

[basex-talk] BaseX 9.4.3: New Compile-Time Optimizations, Performance Tweaks

2020-09-11 Thread Christian Grün
Dear all, BaseX 9.4.3 is available, another late-summer maintenance release with new compile-time optimizations and performance tweaks: http://basex.org Have fun everyone, Your BaseX Team

Re: [basex-talk] big data performance

2020-09-10 Thread Christian Grün
> thanks for pointing to "ft:search", that's much easier to understand for me > than > using the enforceindex pragma (which yielded 0 matches, btw). Interesting. I’ll check if I get this reproduced. In the long term, however, I also think that ft:search will give you more flexibility.

Re: [basex-talk] big data performance

2020-09-10 Thread Christian Grün
Hi Matthias, > since I "definitely should" build a BaseX database from millions of TEI-XML > files, I did so! Glad to hear! > I modified the XQuery: > ... > gives results, but lasts orders of magnitude longer than for just one > database: If a query is run on a single database, this database

Re: [basex-talk] creating epub and odf with basex

2020-09-08 Thread Christian Grün
> Creating a new file epub or odf file works correctly now but archive:update() > does not retain the 'stored' property for the manifest file. (It does retain > the order of the entries). The stored property will now be retained if an archive is updated. Up to now, archive:update removed

Re: [basex-talk] creating epub and odf with basex

2020-09-08 Thread Christian Grün
:27 PM Christian Grün wrote: > > Hi Jos, > > > There are 5 bytes between 'mimetype' and 'applicatino/epub+zip'. These are > > deflate information. If the entry is 'stored' there are no bytes between the > > entry name […] > > Great, so we are talking about the same

Re: [basex-talk] creating epub and odf with basex

2020-09-08 Thread Christian Grün
usually proceed to check the validity of ePub files? Best, Christian [1] https://stackoverflow.com/questions/1206970/how-to-create-uncompressed-zip-archive-in-java On Tue, Sep 8, 2020 at 2:06 PM Jos van den Oever wrote: > > On dinsdag 8 september 2020 13:06:19 CEST Christian Grün wrote: >

Re: [basex-talk] creating epub and odf with basex

2020-09-08 Thread Christian Grün
> Here is an example that creates a new archive that uses compression-level="0" > and algorithm="stored" and still compresses that entry. > > Note that the archive level option 'algorithm' is unfortumate because often it > is only single entries such as 'mimetype' or images that should not be >

Re: [basex-talk] creating epub and odf with basex

2020-09-08 Thread Christian Grün
> This example demonstrates that compression-level="0" does do what > the api promises: I can have a closer look into that. Could you possibly provide me with a little self-contained example that I can run out of the box?

Re: [basex-talk] creating epub and odf with bases

2020-09-08 Thread Christian Grün
> Oh, a shame that the cross-implementation module is not maintained. The Archive Module was supposed to become the new EXPath standard. Unfortunately, different versions of that module were specified one after another such that the spec that’s currently publicly available doesn’t reflect our

Re: [basex-talk] creating epub and odf with bases

2020-09-08 Thread Christian Grün
Hi Jos, While the ZIP Module is still part of our distribution, it’s not actively maintained anymore, and we generally recommend our users to switch to the Archive Module [1]. Providing custom compression levels for each archive entry is one of the features that is provided by this newer module.

Re: [basex-talk] [EXTERNAL] - Re: Re. Encoding support for the BaseX server

2020-09-07 Thread Christian Grün
02] > "C:/Sharath/outputxml_0601800029e2p.xml" (Line 1): Invalid byte 1 of > 1-byte UTF-8 sequence. > How do we make basex server to store certain format of > encoded file(In above example, it is ISO-8859-1 encoded file)? > Thanks, >

Re: [basex-talk] [EXTERNAL] - Re: Re. Encoding support for the BaseX server

2020-09-06 Thread Christian Grün
ocument(BasexTest.java:159) > at com.test.BasexTest.main(BasexTest.java:32) > ReStoreDocument: BaseX content push for ANSI encoding is completed > > ++++++ > > FYI, I have attached t

Re: [basex-talk] http:send-request / http:request with Azure API key

2020-09-05 Thread Christian Grün
Hi Jozef, I tried the following query… http:send-request( ) …and it returned the error message 'Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.'. I guess that’s expected because the key is not valid anymore. Do you get the same

Re: [basex-talk] [EXTERNAL] - Re: Re. Encoding support for the BaseX server

2020-09-05 Thread Christian Grün
> > Please find the attached zip, which contains the sample program for > replicating the encoding issue with the provided datafiles. > Could you please review the provided sample and help me in resolving > this issue. > After having created "testenvSSL1" database, and after having fixed your

Re: [basex-talk] missing web.xml from docker image

2020-09-04 Thread Christian Grün
py files in to add to the db. Can I perhaps connect to the > db on the container through basex on the host? Or would that be an > odd approach? > > On 9/3/20, Christian Grün wrote: > > Thanks for the observation. I’ll try to get into contact with the guys who > > wrote

Re: [basex-talk] missing web.xml from docker image

2020-09-03 Thread Christian Grün
k feature. This has been > deprecated for years. instead, use a v2 or v3 docker-compose.yml > file (if using compose) or if using a different system, simply put > both containers on the same│ > > so the documentation is out of date. > > On 9/3/20, Christian Grün wrote: >

Re: [basex-talk] big data performance

2020-09-03 Thread Christian Grün
Hi Matthias, > Can I give BaseX a try? You definitely should ;) Maybe you can simply start off, download BaseX and import your TEI directories. Some database limits are listed here [1]. If you encounter problems with creating the full-text index for your XML data, documents can also be split

Re: [basex-talk] [EXTERNAL] - Re: Re. Encoding support for the BaseX server

2020-09-03 Thread Christian Grün
(), I have tried pushing and pulling of the >document in basex. > > > Can we have a quick call at any time, to discuss on this issue. > > Thanks & Regards, > Sharath. > ------ > *From:* Christian Grün > *Sent:* Thursday, September 3, 2020 5:29 PM

Re: [basex-talk] missing web.xml from docker image

2020-09-03 Thread Christian Grün
Hi Nicholas, Have you already worked through the Docker documentation in our Wiki [1]? Best, Christian [1] https://docs.basex.org/wiki/Docker On Thu, Sep 3, 2020 at 4:23 PM Nicholas Saunders wrote: > > I've just opened an issue: > > https://github.com/BaseXdb/basex/issues/1936 > > based on

Re: [basex-talk] Question about map:merge

2020-09-02 Thread Christian Grün
> example to track this down [1]. A bug fix will probably be available > tomorrow Things worked out faster than I expected. Feel free to check out the latest snapshot [1]. Best, Christian [1] https://files.basex.org/releases/latest/ > > Cheers, > Christian > > [1]

Re: [basex-talk] Question about map:merge

2020-09-02 Thread Christian Grün
Hi Markus, Thanks for reporting this. I have opened an issue with a minimized example to track this down [1]. A bug fix will probably be available tomorrow Cheers, Christian [1] https://github.com/BaseXdb/basex/issues/1935 On Wed, Sep 2, 2020 at 9:19 PM Markus Schmid wrote: > > Hi, > > I

Re: [basex-talk] ancestor axis i.c.w. fetched XML issue

2020-08-31 Thread Christian Grün
/releases/latest/ On Mon, Aug 31, 2020 at 9:22 AM Christian Grün wrote: > Seems you’ve stumbled upon a classic [1]; and the problem is related: > Inside “database nodes” we only have a parent, but no reference to the > ancestors of main-memory nodes. One more nudge to eventually get thi

Re: [basex-talk] ancestor axis i.c.w. fetched XML issue

2020-08-31 Thread Christian Grün
> > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > *From: *Christian Grün > *Sent: *Wednesday, August 26, 2020 6:21 PM > *To: *RobStapper > *Cc: *basex-talk@mailman.uni-konstanz.de > *Subject: *Re: [

Re: [basex-talk] json:doc-available()

2020-08-30 Thread Christian Grün
Hi Hans-Jürgen, > Perhaps you will also add the corresponding xxx:doc-available() functions? Yes, these might be interesting additions. Right now, the semantics of fn:doc currently differs from json:doc, csv:doc and html:doc: The first function is deterministic (i.e., repeated calls will only

Re: [basex-talk] [EXTERNAL] - Re: XQExpression-8.executeQuery() API throws java.lang.NullPointerException exception while executing XQuery(retrieving the 171 MB xml document) like db:open('testenvSSL1

2020-08-28 Thread Christian Grün
t; > > https://github.com/BaseXdb/basex/blob/master/basex-examples/src/main/java/org/basex/examples/api/BaseXClient.java > Thanks, > Srikumar > ------ > *From:* Christian Grün > *Sent:* Thursday, August 27, 2020 7:57 PM > *To:* Srikumar Choudhury &

Re: [basex-talk] [EXTERNAL] - Re: XQExpression-8.executeQuery() API throws java.lang.NullPointerException exception while executing XQuery(retrieving the 171 MB xml document) like db:open('testenvSSL1

2020-08-27 Thread Christian Grün
…and our own API will definitely consume less memory. Did you try it as well? On Thu, Aug 27, 2020 at 2:55 PM Christian Grün wrote: > > > do I need to increase -Xmx4096m to higher? > > +1

Re: [basex-talk] [EXTERNAL] - Re: XQExpression-8.executeQuery() API throws java.lang.NullPointerException exception while executing XQuery(retrieving the 171 MB xml document) like db:open('testenvSSL1

2020-08-27 Thread Christian Grün
> do I need to increase -Xmx4096m to higher? +1

Re: [basex-talk] Xquery performence

2020-08-27 Thread Christian Grün
Thanks for the example document. – Have you already switched to the latest version of BaseX? On Thu, Aug 27, 2020 at 8:30 AM Christian Grün wrote: > > Hi Chandra, > > We’d appreciate to see a little XML document that allows us to test your > query. > > Best > Christian

Re: [basex-talk] cdata not happening to elements with element children?

2020-08-27 Thread Christian Grün
ntent"}) > > Which gives > > > > > > (Your solution is considerably more elegant but would be much trickier to > use the actual case.) > > Thank you! > > On Wed, Aug 26, 2020 at 5:12 PM Christian Grün > wrote: > >> Hi Graydon, >&g

Re: [basex-talk] Xquery performence

2020-08-27 Thread Christian Grün
Hi Chandra, We’d appreciate to see a little XML document that allows us to test your query. Best Christian chandra sekhar n schrieb am Do., 27. Aug. 2020, 07:38: > Dear Basex team, > We are facing an xquery performance issue. Please find the query in below > and please suggest any clue to

Re: [basex-talk] XQExpression-8.executeQuery() API throws java.lang.NullPointerException exception while executing XQuery(retrieving the 171 MB xml document) like db:open('testenvSSL1', '6300000180000

2020-08-27 Thread Christian Grün
Hi Srikumar, The error message seems to have been raised from within the Spring framework. Could you please provide us with some Java example code that we can run without Spring? Thanks in advance Christian Srikumar Choudhury schrieb am Do., 27. Aug. 2020, 06:57: > Hi Christian, > I am

Re: [basex-talk] cdata not happening to elements with element children?

2020-08-26 Thread Christian Grün
Hi Graydon, I can’t say much about serialization in XSLT, but the serialization of CDATA sections in XQuery is indeed focused on text nodes [1]: “The cdata-section-elements parameter contains a list of expanded QNames. If the expanded QName of the parent of a text node is a member of the list,

Re: [basex-talk] ancestor axis i.c.w. fetched XML issue

2020-08-26 Thread Christian Grün
Hi Rob, An interesting one. The mixing of external nodes and node fragments (which have different internal representations) caused some confusion. The issue has been fixed, a new snapshot is ready to go [1]. All the best, hope you are fine, Christian [1]

Re: [basex-talk] Stack Overflow on 9.4.2

2020-08-25 Thread Christian Grün
Hi noreply, With BaseX 9.4, additional expression properties were requested for static functions – including recursive ones, which led to the stack overflow [1]. The bug has been fixed, a new snapshot is available [2]. Best, Christian [1] https://github.com/BaseXdb/basex/issues/1927 [2]

Re: [basex-talk] BaseX GUI: XPath suggestions / completion

2020-08-25 Thread Christian Grün
Hi André, The XPath completion works again. A new snapshot is available [1]. Hope this helps, Christian [1] https://files.basex.org/releases/latest/ On Fri, Aug 21, 2020 at 11:45 PM Christian Grün wrote: > > Hi André, > > Thanks for the observation. I’ve checked our rec

Re: [basex-talk] Unpredictable function return types seems to default to item()? instead of item()*. Applies to 9.4.2

2020-08-25 Thread Christian Grün
Hi Sebastian, The static type of the client:query function is fixed. A new snapshot is available [1]. Hope this helps, Christian [1] https://files.basex.org/releases/latest/ On Mon, Aug 24, 2020 at 4:29 PM Wiemer, Sebastian < sebastian.wie...@adesso.de> wrote: > Hi, > > Thank you Christian

Re: [basex-talk] XQDoc Parser requires leading colons in doc-comment for @token documentation

2020-08-25 Thread Christian Grün
Hi Andreas, You can now omit the colon in comments. A new snapshot is available [1]. Hope this helps, Christian [1] https://files.basex.org/releases/latest/ On Mon, Aug 24, 2020 at 4:41 PM Andreas Mixich wrote: > > Hello, > > when using `inspect:xqdoc#1` on a module, where the lines of doc

Re: [basex-talk] improving query performance

2020-08-22 Thread Christian Grün
Yes, I see now why my query returns much more hits than yours (including the first). As Liam already expressed, it’s not really a nested query what you are wanting to achieve. Oe thing you can always try is to change the order of your for clauses and see what happens. Maybe you did that already?

Re: [basex-talk] improving query performance

2020-08-22 Thread Christian Grün
vely expanded version of the data, then perhaps this will get > to <1000ms! > > On Sat, Aug 22, 2020 at 4:07 AM Christian Grün > wrote: > >> Hi Bill, >> >> Feel free to run the attached queries; maybe they give you a faster >> result. >> >> Your

Re: [basex-talk] documentation flaw

2020-08-22 Thread Christian Grün
Hi Rob, you are right. I have replaced "or" with "and". Thanks for the hint. – Best, Christian On Sat, Aug 22, 2020 at 12:57 PM RobStapper wrote: > Hi, > > > > I have my doubts about the expressions used at the “tertium non > datur”-principle in the documentation [1]. > > Or the expression

Re: [basex-talk] improving query performance

2020-08-22 Thread Christian Grün
Hi Bill, Feel free to run the attached queries; maybe they give you a faster result. Your use case was interesting. It gave me some additional ideas on how to speed up queries (by reordering consecutive 'for' clauses that do not change the result). Cheers, Christian On Sat, Aug 22, 2020 at

Re: [basex-talk] BaseX GUI: XPath suggestions / completion

2020-08-21 Thread Christian Grün
Hi André, Thanks for the observation. I’ve checked our recent releases, and it seems that the interactive path completion got corrupted with version 9.3 of BaseX. We’ll fix this in our next snapshot and keep you updated. Greeting across the border, Christian On Fri, Aug 21, 2020 at 10:58 PM

Re: [basex-talk] improving query performance

2020-08-21 Thread Christian Grün
Just a quick hint: As the query info output indicates that no text index is used (see [1]), you could try to attach explicit text() steps in your comparisons: where $track_release/ReleaseLabelReference/text() = $r/PartyList/Party/PartyReference/text() ... where

[basex-talk] BaseX 9.4.2: Tweaks & Fixes

2020-08-21 Thread Christian Grün
Dear all, We have released another 9.4 late-summer maintenance release with new performance tweaks and minor bug fixes: http://basex.org In addition, we have started a new Wiki article on XQuery optimizations, which we plan to extend step by step:

<    3   4   5   6   7   8   9   10   11   12   >