Thank you, Christian, as always very useful!
> On 26. Apr 2022, at 19:54, Christian Grün wrote:
>
> Hi Giuseppe,
>
> Is this due to the fact that BaseX tries to convert the values of @n of all
> div elements into a number and, if it happens that the @n values returned are
> all numbers,
On Tue, 2022-04-26 at 19:54 +0200, Christian Grün wrote:
>
> A side note: I was surprised to see that Saxon EE 10 raises an
> exception for my example query. It seems that the predicates are
> swapped, and
> the
> comparison is evaluated before the cast check. Maybe the behavior has
> been
>
Hi Giuseppe,
Is this due to the fact that BaseX tries to convert the values of @n of all
> div elements into a number and, if it happens that the @n values returned
> are all numbers, then an error is not raised (the comparison is then
> possible), otherwise it is? Is this BaseX specific? Thanks.
Hi Everyone,
I have an xml document with elements such as . If I run the query
doc(“file.xml")//div[@subtype="chapter"]//*/parent::div[@n=21], I get the
relevant div element, even if 21 is passed as an integer. On the other hand,
if I type doc(“file.xmll")//div[@n=21], I get the error "Cannot
Dear all,
We provide you with a new version of BaseX, our open source XML framework,
database system and XQuery 3.1 processor. Apart from performance tweaks and
bug fixes, it comes with the following enhancements [1,2]:
• Backups: support for comments added
• RESTXQ: improved caching for
5 matches
Mail list logo