Re: [basex-talk] XSD 1.1 validation: base-uri(.) in the assert

2024-07-11 Thread Zimmel, Daniel
Hi, no solution, but I can share my observations: * base-uri(.) in your example equals 'null'. On the other hand, the same happens for example when validating with Xerces in Oxygen. * Saxon EE does validate your xsd OK. Looks like base-uri() is failing in general in this context with Xerces.

Re: [basex-talk] Command line "-i" directory does not update files when file extension not "xml"

2024-07-02 Thread Zimmel, Daniel
Thank you for the clarification and the example – I wasn’t aware of this option. Von: Christian Grün Gesendet: Montag, 1. Juli 2024 10:34 An: Zimmel, Daniel Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] Command line "-i" directory does not update files when file

[basex-talk] Command line "-i" directory does not update files when file extension not "xml"

2024-06-28 Thread Zimmel, Daniel
Hi, is the following behaviour a bug or does it need better documentation? When in a directory of XML files one file extension is not .xml but .xsl then with java -cp BaseX.jar org.basex.BaseX -u -w -i"localpath/" update.xquery only .xml-files get updates (not .xsl) Only with

Re: [basex-talk] Making store reactive

2024-05-22 Thread Zimmel, Daniel
Nothing substantial to contribute right now to the discussion, but since you asked for feedback: I really like the Store Module for its ease of use and access. It is fast, reliable, flexible and short. With my main use case, when running a handful of updating queries in a row, accessing a map

Re: [basex-talk] Bug in parse-xml-fragment() and ampersand entity?

2023-11-22 Thread Zimmel, Daniel
xample and avoid the entity problems. Von: Christian Grün <christian.gr...@gmail.com> Gesendet: Mittwoch, 22. November 2023 12:41 An: Zimmel, Daniel <d.zim...@esvmedien.de> Cc: BaseX <basex-talk@mailman.uni-konstanz.de> Betreff: Re: [basex-talk] Bug in parse-xml-fragment() and ampersan

Re: [basex-talk] Bug in parse-xml-fragment() and ampersand entity?

2023-11-22 Thread Zimmel, Daniel
or internal parser velocity! Von: Christian Grün <christian.gr...@gmail.com> Gesendet: Dienstag, 21. November 2023 18:54 An: Zimmel, Daniel <d.zim...@esvmedien.de> Cc: BaseX <basex-talk@mailman.uni-konstanz.de> Betreff: Re: [basex-talk] Bug in parse-xml-fragment() and ampersand en

Re: [basex-talk] Bug in parse-xml-fragment() and ampersand entity?

2023-11-21 Thread Zimmel, Daniel
been deleted. Daniel Von: Christian Grün Gesendet: Dienstag, 21. November 2023 16:59 An: Zimmel, Daniel Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] Bug in parse-xml-fragment() and ampersand entity? Hi Daniel, Yes, I assume we’ll need to call it a bug… Although what BaseX

[basex-talk] Bug in parse-xml-fragment() and ampersand entity?

2023-11-21 Thread Zimmel, Daniel
Hi, is this a bug? Query: parse-xml-fragment('Tom Jerry') Result: Tom ? Jerry Same result with: parse-xml-fragment('Tom DUMMY; Jerry') BaseX 10.7 Saxon complains correctly that the resulting document node is not well-formed. BaseX should also return an error,

Re: [basex-talk] use-character-maps vs parameter-document with db:export()

2023-10-05 Thread Zimmel, Daniel
stian Grün Gesendet: Dienstag, 3. Oktober 2023 14:38 An: Zimmel, Daniel Cc: BaseX Betreff: Re: [basex-talk] use-character-maps vs parameter-document with db:export() Hi Daniel, Is it? It is. Maybe the parameter could be introduced with the 4.0 version of the spec. I invite you to add

[basex-talk] use-character-maps vs parameter-document with db:export()

2023-09-29 Thread Zimmel, Daniel
Hi, when using db:export, the serialization parameter use-character-maps works just fine. But can someone explain why it is not possible to use parameter-document? At least, it does not work here with 10.3. As in: db:export($dbname,$path, map{ 'indent':'no', 'omit-xml-declaration':'no',

Re: [basex-talk] Timeframe for supporting fn:load-xquery-module()?

2023-06-08 Thread Zimmel, Daniel
XQS looks like an interesting approach, thanks for the pointer. I guess you do know about it, but if you do not, for "an implementation of Schematron that would work well with BaseX" I use SchXslt quite heavily, which can be installed with your BaseX installation with the REPO command, see

Re: [basex-talk] Odd behaviour in the GUI (XPath with XQuery window)

2023-04-19 Thread Zimmel, Daniel
> Just to be sure: You are pointing to the (as we call it) input bar, > containing the dropdown menu for the input mode and the text field, right [1]? right >> * hit Strg-A to mark the line so I can start with a new query > And just a note: When placing the cursor in this field, previously

[basex-talk] Odd behaviour in the GUI (XPath with XQuery window)

2023-04-19 Thread Zimmel, Daniel
Hi, somewhere between BaseX 9 and 10 there was a change in the behaviour of the Find/XQuery window (which I use quite a lot for quick access to data): * with 9.5, I can enter any valid XPath, and then delete it for a fresh start with another expression... * with 10.3, whenever I do the

Re: [basex-talk] Potential bug in GUI, Unit Tests

2023-03-31 Thread Zimmel, Daniel
>> 1. changes that are not saved to disk do not get respected - as >> opposed to other queries > True, this feels confusing. Maybe it would be better to disable the test icon > if the current file has not been saved? Yes that would be less confusing (to me). > If you prefer to, you can

[basex-talk] Potential bug in GUI, Unit Tests

2023-03-23 Thread Zimmel, Daniel
Hi, while I am trying to find my way around the Unit Module, I noticed the following unexpected behavior. 0. Using the test example from https://docs.basex.org/wiki/Unit_Module#Query in the GUI 1. changes that are not saved to disk do not get respected - as opposed to other queries 2.

Re: [basex-talk] Progress bar (again)

2023-03-16 Thread Zimmel, Daniel
. Perhaps there is a way to do this with Ant, but I do not think this is a good idea for portability... Thanks for the insight, Daniel -Ursprüngliche Nachricht- Von: Christian Grün Gesendet: Mittwoch, 15. März 2023 17:37 An: Zimmel, Daniel Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re

Re: [basex-talk] Progress bar (again)

2023-03-15 Thread Zimmel, Daniel
: Christian Grün Gesendet: Donnerstag, 9. März 2023 17:25 An: Zimmel, Daniel Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] Progress bar (again) Hi Daniel, > can anyone say what might be needed to implement this as a module? Looks interesting! I hope our Wiki article on creat

Re: [basex-talk] Problem with using XInclude in BaseX

2023-03-15 Thread Zimmel, Daniel
While this may not solve your problem, I can confirm that your files import just fine with BaseX 10.3 GUI on my Windows machine. There is a checkbox in the import dialog "Use XInclude", but it works regardless whether the I check or uncheck the box. -Ursprüngliche Nachricht- Von:

[basex-talk] Progress bar (again)

2023-03-09 Thread Zimmel, Daniel
Hey, I have a task that may take longer to execute (several minutes), so I felt I got to have a fancy progress bar on the command line to entertain me. No progress bar though, found this in the archives: https://mailman.uni-konstanz.de/pipermail/basex-talk/2020-November/015845.html So this is

Re: [basex-talk] Possible to get line number of node?

2022-12-22 Thread Zimmel, Daniel
Kimber Gesendet: Donnerstag, 22. Dezember 2022 15:01 An: Zimmel, Daniel ; basex-talk@mailman.uni-konstanz.de Betreff: Re: Possible to get line number of node? Interesting—I did not know Oxygen provided this option. I’m wondering what I could put in an Excel spreadsheet that would make this work

Re: [basex-talk] Possible to get line number of node?

2022-12-22 Thread Zimmel, Daniel
I can’t answer anything helpful for the reliability of line numbers, but can tell you how we are doing this in a similar use case: we make use of what Oxygen calls “simplified XPath index path” (https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/opening-document-from-cli.html)

Re: [basex-talk] Problem with validate:xsd-report

2022-09-01 Thread Zimmel, Daniel
Not sure why you have the doctype declaration in there... perhaps your parser is missing XMLSchema.dtd? In my xml.xsd there is no such declaration, I fetched it from https://www.w3.org/2001/xml.xsd Best, Daniel Von: BaseX-Talk Im Auftrag von Hans-Juergen Rennau Gesendet: Mittwoch, 31. August

Re: [basex-talk] XML Catalog and xslt:transform()

2022-06-02 Thread Zimmel, Daniel
catalog to the XML parser that is invoked by > Saxon. This definitely isn’t a fun task. > > Gerrit > > On 02.06.2022 14:44, Zimmel, Daniel wrote: >> Hi, >> >> after reading https://docs.basex.org/wiki/Catalog_Resolver and >> digging in the list archives >

[basex-talk] XML Catalog and xslt:transform()

2022-06-02 Thread Zimmel, Daniel
Hi, after reading https://docs.basex.org/wiki/Catalog_Resolver and digging in the list archives (https://mailman.uni-konstanz.de/pipermail/basex-talk/2019-March/014199.html ) I still have trouble understanding catalog files. Is this supposed to work with xslt:transform() and BaseX GUI 9.7.2?

Re: [basex-talk] Date picture and xslt:transform()

2022-04-29 Thread Zimmel, Daniel
HE as well. Thanks! -Ursprüngliche Nachricht- Von: Christian Grün Gesendet: Freitag, 29. April 2022 10:29 An: Zimmel, Daniel Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] Date picture and xslt:transform() Hi Daniel, What do you get if you invoke xslt:processor() ? If i

Re: [basex-talk] Date picture and xslt:transform()

2022-04-29 Thread Zimmel, Daniel
e. Daniel -Ursprüngliche Nachricht- Von: Zimmel, Daniel <> Gesendet: Freitag, 29. April 2022 10:05 An: basex-talk@mailman.uni-konstanz.de Betreff: Date picture and xslt:transform() Hi, why do I get different results with the following two queries? xslt:transform() does not respect

[basex-talk] Date picture and xslt:transform()

2022-04-29 Thread Zimmel, Daniel
Hi, why do I get different results with the following two queries? xslt:transform() does not respect my date picture. Expected result: 29. März 2022 Query 1: {format-date(xs:date('2022-03-29'), '[D]. [MNn] [Y]', 'de', (), ())} Result: 29. März 2022

Re: [basex-talk] Interrupted queries - partial results?

2022-04-19 Thread Zimmel, Daniel
How about some custom logging? for $i in (1 to 10) return if ($i = 4) then error() else file:append-text-lines('C:\tmp\file',string($i)) There might be more sophisticated ways. Daniel -Ursprüngliche Nachricht- Von: BaseX-Talk Im Auftrag von Patrick Durusau Gesendet: Dienstag,

Re: [basex-talk] Enclosing strings by double quotes for CSV data output

2022-04-06 Thread Zimmel, Daniel
If any CSV parser complains about the perfectly valid data in this example, I would definitely say it is poorly implemented, because it does not comply to the RFC. I took a glance at the mail thread and I could not find a hint where exactly you are having trouble with the quotes missing apart

Re: [basex-talk] How to return/use the value of a nested counter?

2022-03-09 Thread Zimmel, Daniel
Are you simply counting the wrong items? It seems to me you wanted to count: for $Beurt at $CountInner in $Debat//spreekbeurt Daniel -Ursprüngliche Nachricht- Von: BaseX-Talk Im Auftrag von Ben Engbers Gesendet: Mittwoch, 9. März 2022 13:11 An: Basex Mail-lijst Betreff:

Re: [basex-talk] validate:xsd-info agains more than one schema

2022-03-04 Thread Zimmel, Daniel
Why not pass both schemas as a string? You could then tokenize it and get two validation reports. Or do you want one validation report for two schemas at once? I am not sure if that’s possible... let $schema:= "http://inspire.ec.europa.eu/schemas/bu-base/4.0/BuildingsBase.xsd

Re: [basex-talk] string-join with a newline separator?

2022-02-24 Thread Zimmel, Daniel
> Ok, at least in the GUI using as separator works. > Is this a HTML-specific separator? no, this is the decimal notation of a line feed in UTF-8. Not sure what you environment expects your encoding, you might want to try carriage return instead () Line endings can be fun. Best Daniel

Re: [basex-talk] string-join with a newline separator?

2022-02-24 Thread Zimmel, Daniel
or, if you prefer, you could even use a function for this, see https://docs.basex.org/wiki/Output_Module out:nl() Von: BaseX-Talk Im Auftrag von Bridger Dyson-Smith Gesendet: Donnerstag, 24. Februar 2022 16:57 An: ben.engb...@be-logical.nl Cc: Basex Mail-lijst Betreff: Re: [basex-talk]

Re: [basex-talk] Faster in the cloud?

2022-02-22 Thread Zimmel, Daniel
Wait – my tea kettle is not yet prepared for 3 seconds! When shall I do my breaks? Can’t wait to try this in my updating pipelines. It is always intriguing to learn from this list about performance optimizations, be it in the implementation or giving example designs, thanks! Daniel Von:

Re: [basex-talk] Questions about the performance of bulk string matching

2022-01-18 Thread Zimmel, Daniel
only go so far. Thanks! -Ursprüngliche Nachricht- Von: Christian Grün Gesendet: Freitag, 7. Januar 2022 18:49 An: Zimmel, Daniel Cc: BaseX Betreff: Re: [basex-talk] Questions about the performance of bulk string matching Hi Daniel, Thanks for your code. My reply is a fairly general

[basex-talk] Questions about the performance of bulk string matching

2021-12-29 Thread Zimmel, Daniel
Hi, recently I ran into serious (as in SERIOUS) performance trouble regarding expensive regexes, and no wonder why. Here is my scenario: * XML text documents with a total of 1m text nodes * A regex search string, including a huge string dictionary list of 50.000 strings (some of them

Re: [basex-talk] Oxygen integration limitations?

2021-12-01 Thread Zimmel, Daniel
Thanks Christian for the confirmation of this behaviour and the useful hints. I have not tried the IntelliJ plugin but I will! Also interesting feature on Linux desktops, I have to try this. Best Daniel Von: Christian Grün Gesendet: Mittwoch, 1. Dezember 2021 13:14 An: Zimmel, Daniel Cc

[basex-talk] Oxygen integration limitations?

2021-12-01 Thread Zimmel, Daniel
Hi, while the BaseX GUI is really great, there are times I want to use Oxygen (for its features or even for a silly reason like "hey why is there no dark mode in BaseX-GUI I need a dark mode now because I have eye strain!"). According to the wiki, there is no way to get 3.1 support in Oxygen

Re: [basex-talk] Running XQuery Update via apply Ant task

2021-05-26 Thread Zimmel, Daniel
then? -Ursprüngliche Nachricht- Von: BaseX-Talk Im Auftrag von Zimmel, Daniel Gesendet: Mittwoch, 26. Mai 2021 17:31 An: basex-talk@mailman.uni-konstanz.de Betreff: [basex-talk] Running XQuery Update via apply Ant task Hi, is there anyone using BaseX in an Apache Ant scenario? I have

[basex-talk] Running XQuery Update via apply Ant task

2021-05-26 Thread Zimmel, Daniel
Hi, is there anyone using BaseX in an Apache Ant scenario? I have the following target for XQuery Updating some files (no database access), but I am too dumb to make an apply task that reads every file in a fileset. Usually you place the where you need it to be in your external command, but

Re: [basex-talk] Clarification on registering a job service

2021-05-06 Thread Zimmel, Daniel
Thank you for the insight on how this works: so you cannot update a scheduled job, but you can update the jobs-to-be-scheduled. Helps a lot, Daniel -Ursprüngliche Nachricht- Von: Christian Grün Gesendet: Donnerstag, 6. Mai 2021 13:52 An: Zimmel, Daniel Cc: basex-talk@mailman.uni

[basex-talk] Clarification on registering a job service

2021-05-06 Thread Zimmel, Daniel
Hi, can someone clarify on the following behaviour? The docs say: "Job services can be updated: If a new job is registered, and if there is already a job with the same id, the old entry will be replaced." https://docs.basex.org/wiki/Jobs_Module#Services So when I try to update

Re: [basex-talk] BaseX and Oxygen scenario

2021-04-22 Thread Zimmel, Daniel
en setting is quite useful indeed. Now I can make a comfortable button for an XML editor to produce a PDF report with Levenshtein distance markings. BaseX modules are fun. Thanks, Daniel -Ursprüngliche Nachricht- Von: Christian Grün Gesendet: Donnerstag, 22. April 2021 12:16 An: Zimmel,

[basex-talk] BaseX and Oxygen scenario

2021-04-21 Thread Zimmel, Daniel
Hi, am I right in assuming that in order to use the XQJ interface as described here (https://docs.basex.org/wiki/Integrating_oXygen) , you will always need a running local database instance of BaseX? I am not able to use the BaseX.jar standalone in a transformation scenario as I would for

Re: [basex-talk] A question about RESTXQ rest:form-param()

2020-04-23 Thread Zimmel, Daniel
es(): $body: foo=bar=key $key: key Von: Marco Lettere Gesendet: Donnerstag, 23. April 2020 10:40 An: Zimmel, Daniel ; basex-talk@mailman.uni-konstanz.de Betreff: Re: AW: AW: [basex-talk] A question about RESTXQ rest:form-param() I set up this restxq [1]. And call it with something like [2]. Go

Re: [basex-talk] A question about RESTXQ rest:form-param()

2020-04-22 Thread Zimmel, Daniel
An: Zimmel, Daniel ; basex-talk@mailman.uni-konstanz.de Betreff: Re: AW: [basex-talk] A question about RESTXQ rest:form-param() Are you setting the mime type to "application/x-www-form-urlencoded"? This is the prerequisite in order to get the body of a post parsed to form parameters. M. On 22/0

Re: [basex-talk] A question about RESTXQ rest:form-param()

2020-04-22 Thread Zimmel, Daniel
://docs.basex.org/wiki/Request_Module On 22/04/20 12:18, Zimmel, Daniel wrote: > Hi Daniel, > > RTFM. Simply pass the body in %rest:POST("{$body}"). > > Sorry for disturbing! > > Daniel > > -Ursprüngliche Nachricht- > Von: Zimmel, Daniel > Gesendet: Mittwoch,

Re: [basex-talk] A question about RESTXQ rest:form-param()

2020-04-22 Thread Zimmel, Daniel
Hi Daniel, RTFM. Simply pass the body in %rest:POST("{$body}"). Sorry for disturbing! Daniel -Ursprüngliche Nachricht- Von: Zimmel, Daniel Gesendet: Mittwoch, 22. April 2020 11:27 An: BaseX Betreff: [basex-talk] A question about RESTXQ rest:form-param() Hi, in an

[basex-talk] A question about RESTXQ rest:form-param()

2020-04-22 Thread Zimmel, Daniel
Hi, in an HTML form with a RESTXQ POST action, do I really have to declare %rest:form-param() for every param, or is there a way to pass the full query component in one parameter? Best, Daniel

Re: [basex-talk] file:move() fails when moving to another file system

2020-02-12 Thread Zimmel, Daniel
ava:18) at org.basex.query.func.file.FileFn.item(FileFn.java:25) ... 15 more Von: Christian Grün Gesendet: Dienstag, 11. Februar 2020 17:54 An: Zimmel, Daniel Cc: BaseX Betreff: Re: [basex-talk] file:move() fails when moving to another file system >: Die Operation ist nicht erlaubt A last try: What do you get i

Re: [basex-talk] file:move() fails when moving to another file system

2020-02-11 Thread Zimmel, Daniel
fail sequentially before the delete if something goes wrong with the copy (?) Thanks, Daniel Von: Christian Grün Gesendet: Dienstag, 11. Februar 2020 16:47 An: Zimmel, Daniel Cc: BaseX Betreff: Re: [basex-talk] file:move() fails when moving to another file system Hi Daniel, BaseX uses

[basex-talk] file:move() fails when moving to another file system

2020-02-11 Thread Zimmel, Daniel
Hi, I am able to file:copy() or file:write() a file from a Linux system to a Windows mount (via cifs). I am not able to file:move() to the same target. The error says "file:io-error: Die Operation ist nicht erlaubt" BaseX version is 9.2.1 Is this a bug or a known restriction with moving

Re: [basex-talk] Help with a Query/Performance

2020-01-20 Thread Zimmel, Daniel
Hi Tom, I think that trying to copy/modify a huge tree is definitely the bottleneck here. Why don’t you copy only your third Message element and then reconstruct the wrapping Container with ContainerMetaData? Since the wanted result is a transformation, perhaps a typeswitch expression might

Re: [basex-talk] BaseX and validating the entire database

2019-12-13 Thread Zimmel, Daniel
I would second that using Schematron here seems more complicated than actually writing the code in XQuery; it is even shorter. We do this kind of checks in XQuery all the time, similar to the examples below. Schema validation can also be quite slow when compared to optimized queries in

Re: [basex-talk] Is there an API that provides XQuery compilation results?

2019-11-13 Thread Zimmel, Daniel
With xquery:parse(), I wondered about this myself, so I second this question without having an answer :-( You will get a query plan if it is a non-static error: xquery:parse("let $a := return $a + 1", map {'compile':true(),'pass':true()}) … but what the pass option does is not clear to me.

[basex-talk] Built-in collations

2019-08-21 Thread Zimmel, Daniel
Hi, I found out that after adding the third-party jar to the classpath as described here (http://docs.basex.org/wiki/XQuery_3.1#Collations), I can finally alphanumeric-sort my map:keys: map:keys($map_ev) => sort('http://www.w3.org/2013/collation/UCA?lang=de;numeric=yes') Which I like

Re: [basex-talk] Update operation is spawning new databases with underscore

2019-07-18 Thread Zimmel, Daniel
> In your first query, ADDCACHE was set to false. Does the problem exist > in both cases? Definitely. > Just guessing: > • Did you get any errors reported while performing updates? No. > • Do you have any symbolic links (and potential circular dependencies) > in the directory you are parsing?

Re: [basex-talk] Update operation is spawning new databases with underscore

2019-07-18 Thread Zimmel, Daniel
> It looks as if databases are not cleaned up in your environment that > are temporarily created during the update step. > > I guess it will be difficult for you to get this reproduced for us? Indeed. It does happen on Windows and Linux, though. I pretty much run the default setup. This is a

[basex-talk] Update operation is spawning new databases with underscore

2019-07-17 Thread Zimmel, Daniel
Hi, sometimes in my update operations BaseX deliberately is spawning several databases like the following, with a name of the database plus underscore and number: DBNAME_2618234251 caused by db:replace($dbname, $dbpath|| '/' || $fname, $file-to-import, map { 'intparse': true(),

Re: [basex-talk] Hyphenation with XQuery

2019-06-20 Thread Zimmel, Daniel
Gesendet: Mittwoch, 19. Juni 2019 09:56 > An: Zimmel, Daniel > Cc: BaseX > Betreff: Re: [basex-talk] Hyphenation with XQuery > > Hi Daniel, > > I’m not aware of any XQuery implementation. Would you like to give it a try? > ;) > > Best, > Christian > > >

[basex-talk] Hyphenation with XQuery

2019-06-04 Thread Zimmel, Daniel
Hi, somewhat off-topic to BaseX, but I wonder if anybody already tried to port the TeX hyphenation algorithm to XQuery? See for example this Python port: https://nedbatchelder.com/code/modules/hyphenate.py >>> hyphenate_word("supercalifragilisticexpialidocious") ['su', 'per', 'cal',

Re: [basex-talk] db:replace() in DBA resulting in duplicates

2019-05-20 Thread Zimmel, Daniel
> > * Optimize DB > > * The first db:replace() via RESTXQ creates a second file with the same > > base-uri() > > * The second db:replace() via RESTXQ replaces the earlier created second > > file (duplicate) > Do you perform the next steps in the database instance that has been copied > to

Re: [basex-talk] db:replace() in DBA resulting in duplicates

2019-05-17 Thread Zimmel, Daniel
che Nachricht- > Von: Christian Grün [mailto:christian.gr...@gmail.com] > Gesendet: Montag, 29. April 2019 16:00 > An: Zimmel, Daniel > Cc: BaseX > Betreff: Re: [basex-talk] db:replace() in DBA resulting in duplicates > > > Still, when I browse the database, the /DB/pa

Re: [basex-talk] 9.2: http://localhost:8984/dba/file-upload 400 bad request

2019-05-02 Thread Zimmel, Daniel
Yes, the snapshot seems to fix this. Thanks, Daniel > -Ursprüngliche Nachricht- > Von: Christian Grün [mailto:christian.gr...@gmail.com] > Gesendet: Donnerstag, 2. Mai 2019 11:16 > An: Zimmel, Daniel > Cc: BaseX > Betreff: Re: [basex-talk] 9.2: http://localhost:8984/d

[basex-talk] 9.2: http://localhost:8984/dba/file-upload 400 bad request

2019-05-02 Thread Zimmel, Daniel
Hi, in 9.2 web admin I get an HTTP 400 with any file upload: Stopped at D:/BaseX92/webapp/dba/files/file-upload.xqm, 23/10: [XPTY0004] Cannot convert empty-sequence() to map(xs:string, xs:base64Binary): (). The file seems to be sent, but $files is empty. Is this a bug? This was working with

Re: [basex-talk] db:replace() in DBA resulting in duplicates

2019-04-29 Thread Zimmel, Daniel
n Grün [mailto:christian.gr...@gmail.com] > Gesendet: Montag, 29. April 2019 11:08 > An: Zimmel, Daniel > Cc: BaseX > Betreff: Re: [basex-talk] db:replace() in DBA resulting in duplicates > > Hi Daniel, > > seems hard to reproduce. Could you tell me what you did step by step? >

[basex-talk] db:replace() in DBA resulting in duplicates

2019-04-26 Thread Zimmel, Daniel
Hello, something has gone awry in my database after a db:replace(): query: db:open('DB','/path/file.xml')/base-uri() result: /DB/path/file.xml This is as expected. The result is the replaced file. But when I query: db:open('DB')/root[@id='id']/base-uri() result is a

Re: [basex-talk] jobs:eval as a service, "no variables allowed"

2019-04-03 Thread Zimmel, Daniel
Thanks for the clarification. This sound like a wise thing to do. > -Ursprüngliche Nachricht- > Von: Christian Grün [mailto:christian.gr...@gmail.com] > Gesendet: Mittwoch, 3. April 2019 13:18 > An: Zimmel, Daniel > Cc: BaseX > Betreff: Re: [basex-talk] jobs

[basex-talk] jobs:eval as a service, "no variables allowed"

2019-04-03 Thread Zimmel, Daniel
Hi, when I try to register jobs:eval as a service, BaseX 9.2 says: "no variables allowed". Is it not possible to register a service with a variable? Not working: jobs:eval("declare variable $xml external; $xml", map { 'xml': 'XML' }, map { 'id':'TEST', 'start':'11:31:50', 'interval':'P1D',

Re: [basex-talk] following-sibling axis -- real data example

2019-03-04 Thread Zimmel, Daniel
Nothing wrong here with BaseX behavior. If your xml import chops the whitespace, following-sibling::text()[1] will of course always match “.-“ for the first two word nodes. Cheers, Daniel Von: Mark Bordelon [mailto:markcborde...@yahoo.com] Gesendet: Freitag, 1. März 2019 22:51 An: Michael

Re: [basex-talk] Schema 1.1 validation and Xerces cta-full-xpath-checking?

2019-02-14 Thread Zimmel, Daniel
019 14:38 > An: Zimmel, Daniel; George Sofianos > Cc: basex-talk@mailman.uni-konstanz.de > Betreff: Re: [basex-talk] Schema 1.1 validation and Xerces cta-full-xpath- > checking? > > Hi Daniel, hi George, > > With the latest snapshot of BaseX, XSD validation features can now

Re: [basex-talk] XSD 1.1 - Element not found

2019-01-22 Thread Zimmel, Daniel
With 1.1, I found that validate:xsd() requires you to explicitly give ‘1.1’ as third parameter. Having vs:minVersion is not being honored by BaseX. Daniel Von: Hans-Juergen Rennau [mailto:hren...@yahoo.de] Gesendet: Dienstag, 22. Januar 2019 15:15 An: BaseX Support Betreff: [basex-talk] XSD 1.1

Re: [basex-talk] Command line options not working with update operation on input file

2018-12-13 Thread Zimmel, Daniel
lto:christian.gr...@gmail.com] > Gesendet: Donnerstag, 13. Dezember 2018 14:26 > An: Zimmel, Daniel > Cc: BaseX > Betreff: Re: [basex-talk] Command line options not working with update > operation > on input file > > > With the same query, when CHOP=false in the .bas

Re: [basex-talk] Command line options not working with update operation on input file

2018-12-13 Thread Zimmel, Daniel
TTT eins und zwei .basex: CHOP=false Result TTTeinsundzwei > -Ursprüngliche Nachricht- > Von: Christian Grün [mailto:christian.gr...@gmail.com] > Gesendet: Donnerstag, 13. Dezember 2018 13:49 > An: Zimmel, Daniel > Cc: BaseX > Betreff: Re: [basex-talk] Co

Re: [basex-talk] Command line options not working with update operation on input file

2018-12-13 Thread Zimmel, Daniel
> Gesendet: Donnerstag, 13. Dezember 2018 12:41 > An: Zimmel, Daniel > Cc: BaseX > Betreff: Re: [basex-talk] Command line options not working with update > operation > on input file > > > The only thing is I prefer the Saxon default about not changing anything on &g

Re: [basex-talk] Command line options not working with update operation on input file

2018-12-13 Thread Zimmel, Daniel
-defined. Thanks for the update, Daniel > -Ursprüngliche Nachricht- > Von: Christian Grün [mailto:christian.gr...@gmail.com] > Gesendet: Mittwoch, 12. Dezember 2018 18:47 > An: Zimmel, Daniel > Cc: BaseX > Betreff: Re: [basex-talk] Command line options not working with u

Re: [basex-talk] Command line options not working with update operation on input file

2018-12-12 Thread Zimmel, Daniel
n Grün [mailto:christian.gr...@gmail.com] > Gesendet: Mittwoch, 12. Dezember 2018 17:04 > An: Zimmel, Daniel > Cc: BaseX > Betreff: Re: [basex-talk] Command line options not working with update > operation > on input file > > Hi Daniel, > > > Unfortunately, I still have not foun

Re: [basex-talk] Command line options not working with update operation on input file

2018-12-10 Thread Zimmel, Daniel
on the command line, whitespace gets chopped (not expected!) Thanks, Daniel > -Ursprüngliche Nachricht- > Von: Christian Grün [mailto:christian.gr...@gmail.com] > Gesendet: Freitag, 7. Dezember 2018 17:41 > An: Zimmel, Daniel > Cc: BaseX > Betreff: Re: [basex-talk] Command line o

[basex-talk] Command line options not working with update operation on input file

2018-12-07 Thread Zimmel, Daniel
Hello, can anyone give me a hint on the behaviour of the command line options in BaseX 9.0.2? When I try an update operation on a file given with "-i", neither the option "-w" nor any serialisation option gets evaluated; while the update operation with "-u" is working correctly, my whitespace

[basex-talk] Schema 1.1 validation and Xerces cta-full-xpath-checking?

2018-11-19 Thread Zimmel, Daniel
Hi, is there any chance BaseX will support the cta-full-xpath-checking option (see https://xerces.apache.org/xerces2-j/features.html)? Without it, schema 1.1 validation is limited. I could not find any switches to configure Xerces features, but did find someone mentioning it from two years