Hello there,
I am working in a project to work with train schedules.
Sadly, the data is given to me as a series of JSON objects which need to be
read in line by line.
Is there a way of batch processing JSON, or do I have to submit line by
line?
Shaun
Spot on! Thank you very much xx
On 9 Apr 2014 11:19, Shaun Flynn scf...@googlemail.com wrote:
Hello there,
I am working in a project to work with train schedules.
Sadly, the data is given to me as a series of JSON objects which need to
be read in line by line.
Is there a way of batch
Hello there,
I am writing an application using JavaFx 8.
A facility I would like to have is a progress bar showing how the db:add
command is running, similar to what the Basex GUI shows when creating a new
database.
Is it possible to send updates from BaseX to another application?
Shaun
Hello there,
I am attempting to create a database and add a resource to it
programatically in Java.
If I use this code:
public static void main(String[] args) {
try (ClientSession session = new ClientSession("localhost", 1984,
"admin", "admin")) {
session.execute("SET
Thank you -- I will give a go and let you know.
SCF xx
On 16 Oct 2016 10:02, "Christian Grün" wrote:
> > The parsing runs out memory. I also tried doubling the memory to 1024MB,
> and
> > still the same issue.
>
> Memory consumption should be much lower if you create
Hello there,
The parsing runs out memory. I also tried doubling the memory to 1024MB,
and still the same issue.
Kind regards
On 16 Oct 2016 09:15, "Christian Grün" wrote:
Hi Shaun,
> I do this through the MS DOS prompt, but -Xmx does not appear to be a
> parameter
Hello there,
I am trying to parse a large CSV file into XML by the following xquery:
let $file := fetch:text("D:\BPLAN\tlk.txt")
let $convert := csv:parse($file, map { 'header' : true(), 'separator' :
'tab'})
return fn:put(
{for $row in $convert/csv/record
return {$row/*}
},
Hello there,
I am having issues with the following query:
declare default element namespace "http://www.tracsis.com/TTVP_Interface;;
declare variable $date := "2017-07-10";
declare variable $daysRun := 3;
declare variable $diagrams :=
Hello there,
I am trying to use xquery:eval method supplying bindings as map, and
following the example on the website where the bindings are supplied as a
map. However, when I run the following query, I get the error "Items of
type map(*) cannot be atomized". What am I doing wrong?
(:Filter out
?
Shaun
On 31 Oct 2017 06:20, "Shaun Flynn" <scf...@googlemail.com> wrote:
> Hello there,
>
> I found the problem! My code added a trailing space to the values of the
> variables when binding.
>
> After tokenizing in the XQuery, this creates a zero length stri
Hello there,
I have the following query:
declare variable $queryPath external := "D:\NROD
Projects\xqCrews\diagrams.v3\";
declare variable $testSet := doc($queryPath || "tests\testSet1.xml");
$testSet
where testSet1.xml is:
Foobar
Foobar
When I run $testSet/*, I would
Hello there,
I have had a look in the documentation and was wondering, is it possible to
cancel a query once it has been submitted using ClientQuery/ClientSession?
Would calling close() on ClientQuery do that?
Shaun
Hello there,
I am using BaseX 9.1, and Java version 8.
When I use the basexhttp command, the server appears to start fine, but
when I navigate to http:\\localhost:8984\rest, I get the following response
below. What am I doing wrong?
HTTP ERROR 500
Problem accessing /rest. Reason:
Server
Hello there,
I am using BaseX 9.1.1 inside a Tomcat server trying to build a webapp
using RESTXQ.
I have studied the DBA xqm files, and see that there is static content
delivered to the generated login page, located in dba/static folder.
When I try to replicate this in my app, I get 404 errors
Hello there,
Further to the below, I have found the common.xqm module which has the
resource function to do this.
Happy New Year :)
Shaun
On Tue, 1 Jan 2019, 12:26 Shaun Flynn Hello there,
>
> I am using BaseX 9.1.1 inside a Tomcat server trying to build a webapp
> using RESTXQ.
&
Hello there Marco,
This might be down to the choice of regex.
Assume $path = "path"
app/{$path=.+}
Will match
"app/path=1234"
And
"app/path=1234/input"
Which I think would be matched by ".+" part of the expression, as "/input"
would match ".+".
Kind regards
On Sat, 23 Feb 2019, 11:00 ,
16 matches
Mail list logo