Hello all,
the error interception functions are pretty useful. My feature request
here is whether it could be possible to overcome:
XQuery runtime errors can be processed via /error annotations/. A
single argument must be supplied, which represents the QName of the
error to be caught. A
Hi BaseX Team,
this may be a bug: I have an xml file:
?xml version=1.0 encoding=UTF-8?
Testfoo Inner//Test
note the whitespace between the text foo and the node Inner/.
Importing this into basex and running a query yields
TestfooInner//Test
without whitespace. Is there some kind of
Hi Stefan,
Am 26.03.2014 17:51, schrieb Stefan Sechelmann:
Is there some kind of whitespace normalization
going on during import? Can I set options that influence this behavior or is
this a bug?
this is the `CHOP` option [1] at work:
Signature CHOP [boolean]
Default true
Summary Chops
Sorry, mail was supposed to be send to the mailing list... Information
is the same as in Leos mail
Original Message
Subject: Re: [basex-talk] whitespaces in import
Date: Wed, 26 Mar 2014 17:59:12 +0100
From: Dirk Kirsten d...@basex.org
To: Stefan Sechelmann
True; this discussion is already going on for quite a while now. The
default value of CHOP will be changed in a future version of BaseX.
On Wed, Mar 26, 2014 at 6:14 PM, Graydon Saunders graydon...@gmail.comwrote:
Though I think CHOP defaulting to true is a bug compared to the
expected
Could we get _which_ future version? I recall this being said before
7.8 was released, too, and was feeling hopeful.
I understand that from a technical perspective this is a completely
trivial thing -- set the flag! -- but from the perspective of having
to argue for three months to be able to
Thank you Dirk and also Leo for the quick response.
I can work with that but I have to agree with Graydon that this was
unexpected using the default settings.
Best
Stefan
Stefan Sechelmann
DFG-Forschungszentrum Matheon
Mathematik für Schlüsseltechnologien
Technische Universität Berlin
Hi Dirk --
I understand that you don't want to break backward compatibility, but
a)it never gets easier, only harder, when you must do that, as more
existing applications accumulate and b)the example given of the type
of problem is seriously bad code. (I totally believe this kind of
code exists
Just sharing some information I've learned over the past week about using BaseX
with Oracle using the SQL Module... in particular, to extract XML out of CLOB
fields in Oracle you need to jump through a couple hoops:
To get things set up, the following jars need to be on the classpath (I just
Hi Graydon,
it is not so easy. For instance: The moment I turned off CHOP during import
of my test data base, all of my unit tests involving assert-equals with a
comparison
of nodes failed because of extra of different whitespace. So this has indeed
deep
implications for running code.
Stefan
Graydon,
It's a plain fact that we can't simply switch the default behavior of
BaseX, because there are various applications out there that first need to
be checked in depth before we can realize the switch. We simply need
(..enough..) time to get aware of the consequences before we do simple
Hi Graydon,
as already said, we are going to change the default and we are aware of
the problem.
But I do think your statement that this is an error and we are
preserving errors does not hold. As Liam Quin pointed out at
https://mailman.uni-konstanz.de/pipermail/basex-talk/2013-April/004983.html
Sorry, throw this question, that is my fault.
I have another question.
Until now, I was able to read huge xml file (several Gbytes) through
partition it and parse it with basex part by part.
Do we have any new utility that can read 3-5G xml file and parse through
basex?
Thanks
Erol Akarsu
On
Hi All,
I am writing a feature that will rely on geo:distance to give me the distance
between two points of latitude and longitude.
I am a total n00b to GIS and GML so I may have messed this up, but based on a
bit of research to figure out how to define the coordinate system and based on
the
Hi Jesse,
BaseX only supports GML 2, and AFAIK gml:pos was not introduced until GML
3. You need to use gml:coordinate instead (which uses a comma instead of a
space as a delimiter). This works for me:
import module namespace geo = http://expath.org/ns/geo;;
declare namespace
15 matches
Mail list logo