Thanks for the reply.
I agree. It definitely should be one api both for LocalSession and
ClientSession, otherwise it wouldn't be really helpful.
I made example like this, because I saw, that both ClientSession and
LocalSession accept Concept class as constructor parameter (even though
not all
Hello!
I'm not sure whether this is a question relevant to BaseX or more
generally to the XQuery community. Since I don't use other XQuery
systems and it might be specific to the BaseX parser, I post it here first.
Why can't I specify xs:positiveIntegers as literals? Or why can't I
treat
Hi Kristian,
Why can't I specify xs:positiveIntegers as literals? Or why can't I treat
xs:integers as xs:positiveIntegers?
The error is correct. Type handling in XQuery is a topic on its own:
Values can be cast, promoted, treated as, etc. in this language. If
you want to dive into the details,
PS for my further investigations, could you point me to the BaseX code for
the pseudo-function named derives-from? Thank you!
There is no direct relationship between functions in the spec and in
BaseX, but you could e.g. have a look at the following function and
classes:
I am sorry for mistyping. It was jdk1.8.0_25.
I am not sure why I got that exception.
Maybe, it is disk I/O issue?
After I got above exception, my working folder had tons of files with names
consisting of digits. This may explain disk issue. What do you think?
Erol Akarsu
On Wed, Apr 15, 2015 at
As part of my DITA link management system, I need to create and update
various indexes and data structures whenever specific documents are added
or updated.
I was looking for some sort of trigger or event handler by which I would
register an XQuery function and the system would call it on add,
Is such a mechanism available?
Such a mechanism is indeed planned to be added in a future versoin. It
might take a while, though, to make this happen, as we first want to
sort out what are the most important use cases (e.g.: do we want
synchronous or asynchronous triggers?). You are invited in
Is there anything else I can do to help?
Karel
On 13/04/2015 10:15, Karel Hovorka wrote:
Hello Johan and Christian,
this is the simpliest snippet, that I am using to run xquery (without
giving it any input xml):
System.setProperty(org.basex.QUERYPATH,
8 matches
Mail list logo