A little announcement: With BaseX 10 [1], main memory updates will get much
faster:
{
(1 to 100) !
} update {
y ! (insert node into .)
}
BaseX 9: ages (6-7 minutes)
BaseX 10: 3 seconds
The reason: The disk-based block storage layout is now also used for the
main memory representation o
Hi Paul,
Thanks for the valuable hint. I agree that’s a bug. A surprising one
for me, actually, I’m not sure when the base URI got lost. It should
be correctly assigned again, and refer to the currently evaluated
module [1,2]. BaseX 9.7 is due later this week.
Best,
Christian
[1] https://files.b
Hi Ben,
I guess this could be caused by a little error in your implementation
of the R client. Did you already have a look at the documentation of
the server protocol [1] and an alternative implementation [2]?
Cheers,
Christian
[1] https://docs.basex.org/wiki/Server_Protocol
[2]
https://github.
> I feel my explanations are generally clear, especially in light of the
> context I offered, and I don't want to keep repeating myself.
Sorry, Eric. I assume no one here wanted to steal your valuable time.
But if you are seeking help, it’s sometimes helpful to help others
first.
> The plan had
>
> > Maybe it helps to compare BaseX with other Open-Source SQL databases,
> > e.g. PostgreSQL: While it’s possibly to use it embedded, specifying a
> > simple path as target won’t suffice.
>
> SQL databases are most useful for data that may be represented
> naturally using a relational model.
>
> I have already drawn an analogy to a pattern that has become widespread for
> using SQLite.
Maybe it helps to compare BaseX with other Open-Source SQL databases,
e.g. PostgreSQL: While it’s possibly to use it embedded, specifying a
simple path as target won’t suffice.
You’ve probably seen that
Hi Eric,
While it’s possible to use BaseX in an embedded way, it’s actually
more than that:
• The existence of a persistent home directory is a focal aspect of
BaseX, many features rely on that [1].
• Users, jobs, database logs and other information is kept in this
directory, and is not limited t
>
>
>
> Expected database db1 to exist
>
>
>
>
>
>
>
>
>
> Expected to find doc2 in database test_swapped_to
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Cheers,
>
>
>
> E.
I guess the function dutils:getDirectReferences is still missing in
your example.
But I’m glad to hear you’ve already found the bug.
Could you provide us with a little self-contained example?
Thanks in advance,
Christian
On Sat, Feb 19, 2022 at 3:56 PM Eliot Kimber
wrote:
>
> I’m working out my new-and-improved orchestration mechanism using the
> job-chaining approach and I’m not getting the unit test behavior I was
> expec
> So if I understand your final recommendation, I should be “chaining” the jobs
> so that each job does its thing and then schedules the next job in the
> sequence.
ちょうど!
> What I’m trying to achieve is a sequence of jobs run such that job 2 does not
> start until job 1 is finished and I don’t think that’s actually what I’m
> producing here.
If you schedule jobs, you cannot control when a job will eventually be
evaluated, as the start time is e.g. influenced by o
>
> PS. I've nearly completed a text that I mean to present to R-bloggers
> and in which I present my client. Would you care giving it a look?
Feel free to share it with us.
Hi Jonathan,
The query may run faster if the namespaces are declared in one of the
ancestor elements. Otherwise, they need to be re-declared many times
in the XML structure, and that takes additional time and memory.
Still, it’s difficult to make generalized statements about execution
times with
Hi Ben,
An XQuery string is parsed by the QueryParser class [1]. It’s the
largest Java class in the project, so it might take some time to get
it reimplemented in R.
Groetjes,
Christian
[1]
https://github.com/BaseXdb/basex/blob/master/basex-core/src/main/java/org/basex/query/QueryParser.java
Hi Eric,
It’s not possible to specify a dynamic path to a single database, but
you can change the path to the database directory before you start
BaseX. This can e.g. be done via system properties, either on command
line …
java -Dorg.basex.dbpath=/custom/path/ -cp basex.jar org.basex.BaseX
…or v
The evaluation in the GUI and on command-lines differs in various ways:
• If the command line is used, all results will be returned in an
iterative manner, so you’ll immediately get the first results once
they are available. As the results need not be cached such as in the
GUI, iterative evaluatio
Hi Jonathan,
If you use the XQuery function db:copy, an existing database will
simply be overwritten. The much older COPY command should by all means
behave identically, so I’ve just updated to BaseX to make this happen
[1,2]. You can use the command XQUERY db:copy('old', 'new') if you
don’t want
Hi Josselin,
> It seems that there is no french translation for the fn:format-date()
> fonction with BaseX. Does anyone knows how and where I could add it to make
> it run with the format-date() function?
Thanks for your offer to help out with the French variant of the
format functions.
I’m no
Hi Eliot,
In addition to redirects, you can use web:forward to invoke another
endpoint without informing the client [1]. This is recommendable if
you want to avoid incomplete transactions caused by connection
failures.
An alternative, which also works without HTTP context, is to schedule
the eval
Hi Eric,
That’s perfectly feasible. You can bind the dynamic query string to an
external variable and invoke it on extracted data via xquery:eval.
Here’s one way to do it:
(: db.xml :)
(: query.xq :)
declare variable $query external;
for $data in db:open('db')/path/to/source/data
let $updated
> Then, *please* let us have this instead:
> file:list2($dir, false(), $fname) ! doc(.)
This is what I would write and recommend:
file:descendants($dir)[file:name(.) = $fname] ! doc(.)
> Excellent, I had overlooked this possibility, however - currently
> file:children and file:descendants (whic
Hi Rob,
I found that when running the application the distribution of the
> life-cycle fases: Parsing, Compiling, Evaluating and Printing, is:
>
What’s the total execution time?
> However I had expected/hoped that this code-optimization only occurs at
> the first run and that the optimized code
Hi Hans-Jürgen,
> should return the full paths of the resources found, but they do so only if
> the argument was in turn a full path. A bug?
The behavior is correct, but the wording in our documentation may be
misleading: While file:list will only return the paths after the input
path, file:chil
Hi Jonathan,
> Is there any way for me to control the order of attributes in BaseX when I
> insert new attributes?
If you evaluate the following XQuery expression in BaseX …
… you can be sure that the attributes will be placed in the original
order. Please note that we cannot give a guarantee
> I dropped my validation report database and then BaseX was able to start as
> expected.
That’s unusual. No databases should be opened or initialized if you
start basexhttp. The only files that are parsed are .basex and
(optional, if they exist) data/users.xml and data/jobs.xml. Feel free
to sha
Usually, BaseX should be available immediately after startup.
How do you start BaseX? Have you enabled any services [1] that will
run at startup time, or similar?
[1] https://docs.basex.org/wiki/Jobs_Module#Services
On Wed, Feb 9, 2022 at 1:45 PM Eliot Kimber wrote:
>
> I now have my server loa
ead-only
> for user access.
>
>
>
> Will explore this.
>
>
>
> Cheers,
>
>
>
> E.
>
>
>
> _
>
> Eliot Kimber
>
> Sr Staff Content Engineer
>
> O: 512 554 9368
>
> M: 512 554 9368
> I am seeing that when BaseX is doing some long-running process (constructing
> one of our big custom indexes) that it seems to consume all the BaseX cycles
> and the HTTP server becomes unresponsive.
If you perform expensive write operations on databases that other
users want to access, they’l
> I did a really quick experiment with no time for deeper introspection or
> thought, so kind of embarrassed to show it, but we learn by doing…
Just fine! I’do it similar. If the following endpoint…
declare %rest:path('test') function local:test() {
archive:create('file.xml', serialize())
};
> I take it as a given that BaseX, properly configured and using queries that
> are not poorly implemented should perform acceptably as a concurrent web
> server with not too much load (10s or 100s of users, not 1000s of users).
Absolutely. Our usual benchmark for commercial applications is to
e
> Looking at the Archive module it’s not immediately clear how to go about it
> (or how best to go about it)—
What have you tried so far? Maybe the examples in the documentation
are not self-explanatory enough?
> it would make the most sense to construct the Zip as a stream and return the
> str
>
> I thought this issue seemed oddly familiar… 2015 was a long time ago—I can
> barely remember what I had for breakfast.
>
True, that piece of information is clearly missing in your bug report ;)
Hi Rob,
> Referring to an old issue of 10-10-2020. Is there any change the solution to
> the issue as mentioned below is part BaseX 10?
It’s still open, sorry (see [1] and comments). I guess I’d need 2, 3
days off to make this really robust.
> Another point that I would very much be concidered
This is related to an older open issue on GitHub [1]; I hope I can fix it
with BaseX 10.
Best,
Christian
[1] https://github.com/BaseXdb/basex/issues/1172
Eliot Kimber schrieb am Fr., 4. Feb. 2022,
01:54:
> I think this is a bug:
>
>
>
> I’m using db:create() to initialize a database with f
> for $key in $keysForDocs
> return $dtbIndex/doc-to-bundle-index-entry[@key eq $key]/bundles/bundle !
> string(.)
You can probably save time by omitting the loop:
$dtbIndex/doc-to-bundle-index-entry
[@key = $keysForDocs]/bundles/bundle ! string(.)
Did you check if $dtbIndex is in
BaseX for my programming needs ;)
>
> Tim
>
>
>
> On Wed, Feb 2, 2022 at 6:08 PM Christian Grün
> wrote:
>>
>> Thanks.
>>
>> > The server is MarkLogic, s maybe they are biased against BaseX ;) I'm not
>> > sure about the configuration
Thanks.
> The server is MarkLogic, s maybe they are biased against BaseX ;) I'm not
> sure about the configuration, but replacing the User-Agent header with
> "curl/7.71.1" didn't help.
Fraudulent competition ;·)
I’m particularly confused by the response code: 502 usually indicates
a server-si
gt; All best,
> Tim
>
>
> --
> Tim A. Thompson
> Metadata Librarian
> Yale University Library
>
>
> On Wed, Feb 2, 2022 at 2:20 PM Christian Grün
> wrote:
>
>> > I notice that curl doesn't include the Authorization header on the
>> first re
> I notice that curl doesn't include the Authorization header on the first
> request, but I am out of my depth here.
That could be an interesting hint. In the latest snapshot [1], I have
removed the Authorization header from the first request. Can you check
if it makes a difference?
If not, coul
>
>
>
>
>
>
>
>
>
>
>
>
> --
> Tim A. Thompson
> Metadata Librarian
> Yale University Library
>
>
> On Wed, Feb 2, 2022 at 12:06 PM Andy Bunce wrote:
>>
>> I find httpbin.org a useful resource to test t
>
>
>
>
>
>
>
>
>
> --
> Tim A. Thompson
> Metadata Librarian
> Yale University Library
>
>
> On Wed, Feb 2, 2022 at 12:06 PM Andy Bunce wrote:
>
>> I find httpbin.org a useful resource to test this kind of thing [1] and
>
ersity Library
>
> On Wed, Feb 2, 2022 at 11:52 AM Christian Grün
> wrote:
>
>> Yes, it should still be supported. I assume it doesn't make a difference
>> if you use "Digest" or "digest"?
>>
>>
>>
>> Tim Thompson s
quest, etc.)
>
> But when I submit the request via BaseX, it never gets past step (1). It
> never seems to send the username and password at all. Is Digest
> authentication still supported?
>
> Best,
> Tim
>
>
> --
> Tim A. Thompson
> Metadata Librarian
> Yale Unive
> Just confirm: while before-module and after-module are separate transactions,
> within a single unit:test function that itself performs an updating function
> there’s no way to then evaluate the result of the update as any asserts will
> be in the same transaction.
Exactly.
> […] it would on
Hi Tim,
Difficult to tell; both the curl and the XQuery variants give me 404.
Do you think you could provide us with an example that works out of
the box?
Best,
Christian
On Wed, Feb 2, 2022 at 12:54 AM Tim Thompson wrote:
>
> Hello,
>
> I'm trying to post a SPARQL query to an endpoint using
Hi Eliot,
> The database is created but is not dropped and obviously not updated.
>
> If my test is legit then this suggests that before-module and after-module
> are not separate transactions.
As each function will be evaluated separately, the current dateTime
value will be different for each f
That’s precisely what happens. I have added this piece of information
to our documentation. – Thanks, Christian
On Mon, Jan 31, 2022 at 5:54 PM Andrew Sales wrote:
>>
>> But maybe the test runner runs unit:before-module() as a separate
>> transaction?
>
>
> That does look to be the behaviour -
ontrast, this works:
> basex "<_ xmlns='bar'>{}/*"
> =>
>
>
> PPS: And this also works:
> basex "<_ xmlns:f='bar'>{element f:foo {namespace {'f'} {'bar'}}}/*"
> =>
>
>
>
>
>
> Am Son
Hi Hans-Jürgen,
> basex "{namespace {''}{'bar'}}"
> =>
> [XQDY0102] Duplicate namespace declaration: ''.
This is expected. The specification states that “[…] if the name of an
element in an element constructor is in no namespace, creating a
default namespace for that element using a computed name
> I see that I can just directly install the individual module files, i.e.:
> repo install
> file:/Users/eliot.kimber/git/dita-build-tools/src/main/xquery/modules/now-dita-utils.xqm
True! I overlooked that one. With the repo:install, it can optionally
be combined with a FLWOR expression.
> How best to manage deployment of XQuery modules and top-level scripts from a
> source environment to a running remote server so that using scripts can
> import modules using just the module namespace?
If you don’t care about version conflicts and other potential
dependency errors, you could us
I guess you’re right.
We haven’t revised EXPath packaging for a long time now. Actually, I’m
not sure how many people use it at all ;) Anyone out there?
On Mon, Jan 24, 2022 at 4:08 PM Eliot Kimber
wrote:
>
> I did confirm that if the package @name URI matches the URI of a module, then
> the
Hi Eliot,
> Using the where-used index to calculate the doc-to-bundle index, it takes
> about 50ms per topic or map to determine the bundle (on my laptop), which is
> still 10x slower than I’d like but certainly tolerable (at 50ms per topic it
> takes about 7.5 minutes to process 9400 topics).
> My approach is to create a separate element for each index entry, rather than
> creating a single element that then contains all the index entries as shown
> in the index construction example in the docs.
You mean you don’t group the nodes by the index key, as shown in the
docs? That should be
Hi Eliot,
I believe to remember that (at least in BaseX) the URL of the
expath-pkg.xml library module which will be imported from outside must
match the name of the package (http://servicenow.com/xquery, in your
case). See e.g. the example in the specification [1].
Best,
Christian
[1] http://exp
> let $changeList := proc:execute($gitCmd, ('diff-tree', '--no-commit-id',
> '--name-status', 'HEAD'), map{'dir' : $repoPath})
>
> dita-now % git diff-tree --no-commit-id --name-status -r HEAD
That’d probably be too simple, but didn’t you forget '-r' in your
XQuery function call?
Hi Matt,
It would probably take some time to switch to the latest release of
Milton library as the versions are not 100% compatible. Apart from
that, BaseX WebDAV has some custom extensions for locking resources,
which would need to be reimplemented.
I remember there was another thread on licensi
Hi Eliot,
XQuery Maps are very efficient, but they are mostly useful for ad-hoc queries.
If you want to create an additional persistent data structure, I would
probably create a database in order to benefit from the standard index
structures. db:node-id can be helpful indeed. See e.g. [1] for a
l
> But it does not appear to have any effect.
What happens exactly (or what doesn’t)?
I have written and attached a little BaseX command scripts that
simulates the GUI workflow. You can download it and run it with BaseX
on command line (it will create a temporary sub directory in your
folder):
ba
Hi Eliot,
> I’ve found and successfully configured the options for skipping corrupt and
> parsing archives but I don’t see an option that will populate the Input file
> or directory field, which I need to be “*.xml, *.dita,*.ditamap”.
Did you already try to enter this string in the "File patter
of the 9.6.x release
> on docker hub?
>
> Regards,
> Johan
>
> On Tue, Sep 21, 2021 at 4:15 PM Christian Grün
> wrote:
>>
>> Hi Johannes,
>>
>> Thanks for the pointer. It’s quite likely that the existing Docker
>> image will be replaced by a
e results, I do not understand why this
> works so fast – or if there is any feasible alternative to this approach (I
> got the feeling that there is still much to learn for me in the mysteries of
> XQuery ;-)
>
> Does this work because BaseX simply handles this well? Could matc
…hardly possible to give a concise and distinct answer on this. If you
use basic JavaScript without any frameworks (Angular, React, VueJS,
etc.), you may need to pass on all data to the server via the POST
request (triggered by your input form) and generate a server-side
answer which includes the c
Hi Hans-Jürgen.
A fixed directory for static resources can be adjusted in the web.xml
file; see [1] for further information. Static files can also be
delivered via RESTXQ; see [2] on how it’s done by the DBA.
Gutes Neues,
Christian
[1] https://docs.basex.org/wiki/Web_Application
[2]
https://git
n Tue, Sep 21, 2021 at 4:15 PM Christian Grün
> wrote:
>>
>> Hi Johannes,
>>
>> Thanks for the pointer. It’s quite likely that the existing Docker
>> image will be replaced by a revised version (the point of time has not
>> been settled yet).
>>
>
Hi Daniel,
Thanks for presenting your interesting use case.
Your solution looks clever. Would you mind sharing some sample data with us
(an XML document and a string dictionary)?
Cheers,
Christian
Zimmel, Daniel schrieb am Mi., 29. Dez. 2021, 12:13:
> Hi,
>
> recently I ran into serious (as
Hi Ben,
> But the result from:
> return db:add($MariaBase, $doc, $db)
> is:
> BaseX database "Relational"
>
>
>
That’s strange indeed. I tried to reproduce this by…
1. running db:create('Relational'),
2. running the attached script and
3. running db:open('Relational'),
but the last q
> return db:add($MariaBase, $doc, $db)
> results in my database in Relational -> Innovate/1 -> Innovate/1 ->
> Dienst/1 -> row/n (1 and n indicate parity)
Sorry, I can’t follow (e.g., I don’t understand what /1 is supposed to
indicate, what you mean by "indicate parity", …).
With your query, you
Thanks. Does the query do what you are looking for?
On Tue, Dec 21, 2021 at 12:47 PM wrote:
>
> Christian Grün schreef op 21-12-2021 10:18:
> > Hi Ben,
>
> > return db:add($db, $doc, $table || '.xml')
> >
> > Could you give us little examples for , an
Hi Ben,
> Is it possible to change the query-statement in such a way that the
> results are added to MariaBases//?
If I get you right, you would like to read your tabular MariaDB data
via SQL select statements and add the contents to your new BaseX
database, right?
You might want to do something
Thanks so much, Gerrit, for taking the initiative. It would be great to see
the meeting happening again in 2022.
Imsieke, Gerrit, le-tex schrieb am Fr., 17. Dez.
2021, 17:02:
> Fellow BaseX Users!
>
> You might have heard that XML Prague 2022 will take place in June.
> (Unless the then-prevale
Dear all,
We conclude this year with yet another release of BaseX, our XML
framework, database and XQuery processor [1]. The new version contains
new performance tweaks and minor bug fixes, the details of which can
be examined on our GitHub page [2].
As we’ve got numerous inquiries regarding Log4
Hi Eliud,
The E-Mail Module is not officially maintained. However, you can have
a glimpse at the XQuery example files inside the JAR file. I hope they
are self-explanatory enough; otherwise, just share your questions with
us.
Best,
Christian
On Thu, Dec 16, 2021 at 2:15 AM Eliúd Santiago Meza y
o., 13. Dez. 2021,
19:08:
>
>
> On Mon, Dec 13, 2021 at 10:18 AM Christian Grün
> wrote:
>
>> I was waiting for that question ;)
>>
>
>
> Jonathan
>
Hi Marc,
I was waiting for that question ;)
All fine, BaseX uses a custom logger, as well as Jetty does [1,2].
You may need to check your setup, though, if you use Tomcat as web
server or any additional search index applications like Solr or
Elasticsearch. ES is only susceptible to information l
Hi Kristian,
> If I choose the correct paths to the database and repository folders and
> choose quit from the menu and start the GUI again, then the values have been
> reverted to the old and wrong ones.
The BaseX configuration is stored in a .basex file, either a global
one in your home direc
Hi Tim,
Did you try db:path?
All the best,
Christian
Timothée schrieb am So., 12. Dez. 2021, 04:39:
> Hello,
>
> I am trying to build a web application, powered by data served through
> BaseX.
> One of the use cases I have is that I want to find all "documents" that
> match a xquery.
>
> I h
Hi Ben,
I assume this challenge needs to be tackled in the R realm: If the
Java client is used, no sleep is required at all.
Hope this helps,
Christian
On Wed, Dec 8, 2021 at 12:53 PM Ben Engbers wrote:
>
> Hi Christian,
>
> All my previous packages for RBaseX were based on using a blocking
>
…fixed and deployed [1]. BaseX 9.6.4 will be released in December.
[1] https://files.basex.org/releases/latest/
On Tue, Dec 7, 2021 at 11:04 AM Christian Grün
wrote:
>
> …definitely a (fairly new) bug, and one that should be fixed soon [1].
> I have opened an issue to track
…definitely a (fairly new) bug, and one that should be fixed soon [1].
I have opened an issue to track this down.
Thanks,
Christian
[1] https://github.com/BaseXdb/basex/issues/2054
On Tue, Dec 7, 2021 at 10:31 AM Martin Honnen wrote:
>
>
> Am 07.12.2021 um 10:16 schrieb Marco Lettere:
> > Hi a
Hi Eliot,
There’s currently no automatized feature to write updated files to a
database. As you’ve already indicated, the easiest way will be to use a
little script for that.
All the best,
Christian
On Wed, Dec 1, 2021 at 4:28 PM Eliot Kimber
wrote:
> I’m using BaseX for ad-hoc analysis of co
Hi Gerrit,
Thanks for both the observation and the test case. The bug has been fixed,
a new snapshot is available [1,2].
All the best,
Christian
[1] https://files.basex.org/releases/latest/
[2] https://github.com/BaseXdb/basex/issues/2052
On Thu, Dec 2, 2021 at 9:35 AM Imsieke, Gerrit, le-tex
Hi Johannes,
In general, it shouldn’t make a difference if you run a query standalone,
in the client/server context or with RESTXQ. Do you think you can provide
us with an SSCCE?
Thanks in advance
Christian
On Wed, Dec 1, 2021 at 2:17 PM Johannes Bauer
wrote:
> Hi,
>
> I want to use the attri
Hi Daniel,
According to the wiki, there is no way to get 3.1 support in Oxygen because
> of the limitation of the XQJ interface?
>
Unfortunately, the XQJ API license is restricted to XQuery 1.0, so we’ll
need to live with it (until someone feels a vocation to write a custom
BaseX/oXygen plugin?).
>
> Related to the previous question: Is possible to run encrypted
> xquery-files?
>
As a query file would need to be decrypted by BaseX, and as our code base
is completely open source, it wouldn’t be easy to create a solution for
that.
What’s the reason for encrypting your code? Are you seeking
Hi Rob,
I haven't worked with Docker by myself too much, but maybe other users on
the list will be able to help you here.
Hartelijke groet,
Christian
Rob Stapper schrieb am Fr., 26. Nov. 2021, 14:51:
> Hi Christian,
>
>
>
> I’m fiddling with docker-images and containers now and I’m trying to
Hi Sebastian,
how did you start the HTTP server?
If you use the basexhttp startup script from our full distributions
(ZIP, etc.), you can redirect the output to files:
$ basexhttp >basex.log 2>basex.err
This is mostly helpful for unexpected behavior, if e.g. Java is
crashing (i.e., all errors t
Hi Bridger,
> As always, thanks for your time and help.
You are welcome!
> In my real world case, which again I hesitate to share, *all* requests are
> slow. In the meantime, maybe this new URL/endpoint might help illustrate.
It does indeed; it takes around a minute for this query to be fully
Hi Andy,
An interesting finding! I didn’t notice this so far, and it seems no
one else did. I have added an issue to track this down [1].
Thanks,
Christian
[1] https://github.com/BaseXdb/basex/issues/2048
On Wed, Nov 24, 2021 at 7:08 PM Andy Bunce wrote:
>
> Hi,
>
> "Module imports are not tr
Hi Tim,
> Does BaseX support any Unicode block properties, such as
> \p{InCombiningDiacriticalMarks}, in regex functions? \p{Mn} works, but
> \p{InCombiningDiacriticalMarks} doesn't seem to.
Yes, it does. The confusion may have been caused by a little typo [1]; try this:
matches('̀', '\p{IsC
Hi Bridger,
> I'm pulling data back from an OAI-PMH endpoint that is slow; i.e. response
> times are ~1/minute.
I’ve tried the example you have attached (thanks). It’s seems to be
much faster. Do you think that’s just my geographic proximity to the
Konstanz-based server, or did you use a differe
…thanks for the easily reproducible bug report. The issue has been
fixed and a new snapshot is available [1].
Best,
Christian
[1] https://files.basex.org/releases/latest/
On Wed, Nov 24, 2021 at 2:48 PM Tom De Herdt wrote:
>
> Hi,
>
> While doing some tests, I noticed an unexpected query resul
h
> Yale University Library
> www.linkedin.com/in/timathompson
> timothy.thomp...@yale.edu
>
> On Mon, Nov 22, 2021 at 2:53 PM Christian Grün
> wrote:
>
>> Hi Tim,
>>
>> > I have a question about the BaseX ft:normalize function. What kind of
>&g
Hi Tim,
> I have a question about the BaseX ft:normalize function. What kind of Unicode
> normalization is performed by this function, and how might it be implemented
> using standard XPath functions?
The function is based on a custom BaseX tokenization, which includes
normalization of case, re
Hi Jonathan,
> 1. How do I return a forest of elements?
It depends ;) What will your client do with the response? If you talk
about a »forest of elements«, is it equivalent to a »sequence of
elements«?
> 2. Can I use query strings to specify parameters in RESTXQ? What if I want
> URLs like th
Hi Günter,
You can add a little redirect entry to the web.xml file; see [1] for
more information.
Best,
Christian
[1] https://docs.basex.org/wiki/RESTXQ#Catch_HTTP_Errors
On Sat, Nov 13, 2021 at 12:57 PM Günter Dunz-Wolff
wrote:
>
> Hi all,
>
> how can I handle it, that in my RESTXQ-App ever
Hi Jonathan,
As Kristian indicated, it suffices to specify the media-type or method
parameter. The content type will be generated by BaseX (see the
attached example).
If you want to return a non-standard or custom Content-Type header,
you’ll indeed need to construct your own response, either manu
> > Best, (and apologies for the water cooler suggestion!)
>
> An entirely helpful suggestion!
I completely agree! Currently, we don’t provide support for
vendor-specific transformation options, and it’s perfectly viable to
run Saxon as external process and convert the result string back to
XML.
Hi Vincent, Gerrit, Liam, Graydon,
> Is it possible to use a different XML Catalog Resolver with BaseX? I’m
> referring specifically to the new XML resolver that Norm Tovey-Wash presented
> today at Declarative Amsterdam. The presentation recording is at
> https://www.youtube.com/watch?v=LBuqQG
501 - 600 of 5088 matches
Mail list logo