Hi,
I using the EXPath repository and it is going well. It would be useful to
me to manage the repository from Xquery, at least to get the REPO LIST
result.
I see Exist DB has http://demo.exist-db.org/repo/repo.xml#d5510e705
Are there any plans to add something similar to BaseX
One quick, if a
Musing on the the usefulness of actions that update the database and return
something, specifically in a web server with Xforms context, and the
absence of XQuery scripting. I have been playing around with things like
the following:
let $s:=util:eval('
let $x:=copy $c:=db:open(listman,1.xml)
___
On Fri, Apr 13, 2012 at 2:54 PM, Andy Bunce bunce.a...@gmail.com wrote:
Musing on the the usefulness of actions that update the database and
return
something, specifically in a web server with Xforms context, and the
absence
of XQuery scripting. I have been playing around with things
There seems to be problem with cookie-param when the cookie is NOT set. The
error is
[XPDY0002] No value assigned to $c.
See code below for an example.
I understand the restxq stuff is in development/experimental and I wonder
what plans you have in that direction?
I think there are
Which gaps do you see modules filling?
Well that request module has many things, in addition to multipart, that
can not be accessed via the RestXQ of Prague 2012. But as you say, there
may be better ways.
Looking forward to see, and discuss more, when your next draft appears.
/Andy
On Tue,
I am looking at the new 7.3 XML format commands and some things that are
not clear to me in the documentation.
My particular goal is to create a new database ensuring CHOP is off.
There is a Rest syntax example that is exactly what I want at
http://docs.basex.org/wiki/REST
*command
:150)
---
Any ideas?
/Andy
On Sun, Jun 3, 2012 at 10:28 PM, Andy Bunce bunce.a...@gmail.com wrote:
I have made some progress on this...
I think the protocol response to the watch is in fact {port}{id}\0
Where {port} is a basex server
Hi
This expression:
replace( ddd ,'(.{6,15}) ','$1@')
results in
[FORX0002] Invalid pattern: 'Illegal quantifier, lower upper bound:
{6,1}'.
Could it be that *S*{n,m} is only accepting single digit n and m?
This causes http://stackoverflow.com/questions/3767452/xquery-word-wrap to
I saw there was briefly 7.4 build with a db:create function and then this
functionality was removed. Is this likely to come back for the 7.5 release?
It would seem if HTTPLOCAL [1] is in use then the options for database
management are somewhat limited?
Also would you except any significant
the updated HTTP architecture. I guess there are
many open questions. If you want to know more about the changes, just
ask what feels confusing to you (this may also improve the Wiki texts
to be written).
Christian
___
On Wed, Sep 12, 2012 at 3:22 PM, Andy Bunce bunce.a
There are many ways to set options [1] but it is not clear to me which one
wins in the case where different values are specified for the same option
by the different ways.
I guess it is the 1st one to be set. So SystemProperty, then command line,
then .basex?
I am often getting caught out by the
You can use the magic of XQuery closures to only write that if once as here
in the role-check function:
(:~
: return all users as json if this session is for admin
:)
declare
%rest:GET %rest:path(cellar/api/users)
%output:method(json)
function users() {
web:role-check(admin,function(){
The confidential port is not too important to me. I have been playing
with the PaaS Openshift [1]. which needs to listen on a IP address that is
runtime determined
With confidential port I am just doing a one-off change to say 15000 to
get it in the openshift allowed range. I can do that as
Hi Peter,
I wonder if this problem is related to a change I suggested to the
webapps/WEB_INF/jetty.xml file.
Do you still get the problem if you remove the line below and restart?
Set name=hostSystemProperty name=org.basex.serverhost
default=//Set
Or if you change default= to default=0.0.0.0
Peter,
Good to know it worked.
Christian,
I think this change should be made to the github source
/Andy
On Tue, Jan 1, 2013 at 2:00 AM, p...@themail.co.uk wrote:
Andy
changing the default to 0.0.0.0 worked. Many thanks
Peter
Original Message
From: bunce.a...@gmail.com
To:
From my reading: it looks like the latest version of the spec has addressed
the updating operations in closures issue. Can we expect a BaseX
implementation soon :-)
/Andy
On Thu, Nov 22, 2012 at 2:40 PM, Christian Grün
christian.gr...@gmail.comwrote:
Hi Daniel,
Doesn't it introduce
section do you exactly refer to?
Christian
___
On Wed, Jan 9, 2013 at 10:19 PM, Andy Bunce bunce.a...@gmail.com wrote:
/Andy
On Thu, Nov 22, 2012 at 2:40 PM, Christian Grün
christian.gr...@gmail.com
wrote:
Hi Daniel,
Doesn't it introduce
at 11:17 AM, Andy Bunce bunce.a...@gmail.com wrote:
Hi John,
Thanks very much for the fast response on this.
I will take for a spin and let you know. My guess the remaining issues
will be:
1. The statically known namespaces. I cobbled together this list
https://github.com/apb2006
Hi,
The following two expressions create a file called d d.txt (Windows,
BaseX 7.6)
file:write(c:\temp\d d.txt,what)
file:write(c:\temp\d%20d.txt,what)
I wonder if it would not be better if the second would create a file
d%20d.txt?
My use case is creating a file name that encodes a path e.g.
You might try db:node-id and db:open-id [1] or the pre versions depending
on your use case.
Regards
/Andy
[1] http://docs.basex.org/wiki/Db_Module#db:node-id
On Sat, Apr 6, 2013 at 3:35 AM, C. M. Sperberg-McQueen
cms...@blackmesatech.com wrote:
I'm experimenting with the construction of
Hi,
The index settings for a database can make a huge difference to query
performance. I have been playing with a database where the time for a query
using distinct-values went from 4secs to 4ms by increasing the MAXCATS
value. Currently it is rather fiddly to change these values, particularly
to
As someone coming at this from the other direction - I would like to allow
dynamic execution of anything (given the appropriate passwords, of course).
I am trying to implement something similar to eXide [1] to run on an
Android phone. I am using
client:connect('localhost', 1984, 'admin',
That code got a little garbled. I meant:
client:connect('localhost', 1984, $user, $password) !
client:query(.,$src)
See http://docs.basex.org/wiki/Client_Module#client:query
On Fri, Jun 28, 2013 at 11:52 AM, Andy Bunce bunce.a...@gmail.com wrote:
As someone coming at this from the other
Or if you really want two and three in no namespace like your first example
your starting data should be:
one *xmlns=oneone*
two *xmlns=* /
/one
/Andy
On Mon, Jul 8, 2013 at 1:05 PM, Lukas Kircher lukaskirch...@gmail.comwrote:
Hi Carlos,
the element two/ in the second example is also
Hi Gerald,
Could that '\u\u' be part of an asynchronous response to some
previous command?
Otherwise it looks fine:
- '\u () \u' // create query returning empty sequence
- '1\u \u' //The 1 is the query handle.
- '\u0004 1 \u'//Execute the query with handle
?
-Gerald
On Tue, Jul 23, 2013 at 3:54 PM, Andy Bunce bunce.a...@gmail.com wrote:
Hi Gerald,
Could that '\u\u' be part of an asynchronous response to some
previous command?
Otherwise it looks fine:
- '\u () \u' // create query returning empty sequence
- '1\u \u
Hi,
Nice work. I wonder if the BaseX query optimizer could not spot the
idioms for the set operations and rewrite the query to something
similar for the cases:
distinct-values(($arg1, $arg2))
distinct-values($arg1[.=$arg2])
distinct-values($arg1[not(.=$arg2)])
From :
Hi France,
It looks like it might be the same as an issue I found [1]. Fixed for me by
the 7.8 beta.
Regards
/Andy
[1] https://github.com/BaseXdb/basex/issues/780#issuecomment-27771795
On Wed, Dec 18, 2013 at 4:22 PM, France Baril
france.ba...@architextus.comwrote:
Hi,
I am trying to
Hi Jean-marc,
Have you looked at using the repository? [1] There is a more complex
example at [2]
Regards
/Andy
[1] http://docs.basex.org/wiki/Repository#Java
[2] http://files.basex.org/modules/org/basex/modules/StringSimilarity/
On Mon, Dec 30, 2013 at 11:03 AM, jean-marc Mercier
Hi,
In my ongoing attempts to use various Java libraries, without writing any
Java myself, I have trying Apache Tika.
(http://tika.apache.org/1.4/api/org/apache/tika/Tika.html). With the tika
jar on the classpath I hoped the following would work:
import module namespace tika =
Or maybe better with a pragma e.g.
return tika:parse(
(# basex:java-type java:java.io.File #){$file}
)
On Thu, Jan 2, 2014 at 5:42 PM, Andy Bunce bunce.a...@gmail.com wrote:
Hi,
In my ongoing attempts to use various Java libraries, without writing any
Java myself, I have trying
://h2oconsulting.be/
On 3 January 2014 11:25, Andy Bunce wrote:
Or maybe better with a pragma e.g.
return tika:parse(
(# basex:java-type java:java.io.File #){$file}
)
On Thu, Jan 2, 2014 at 5:42 PM, Andy Bunce bunce.a...@gmail.com wrote:
Hi,
In my ongoing attempts
headers
seems to be fatal...)
Cheers,
Dirk
On 05/01/14 15:00, Florent Georges wrote:
On 5 January 2014 00:57, Andy Bunce wrote:
Hi,
curl -X PUT -T aa.pdf http://localhost:9998/tika
[...]
I have tried:
let $file:=C:\tmp\aa.pdf
let $request :=
http:request method='PUT
and we have to wait for someone to take a proper look at it.
Regards,
Lukas
On Sun, Jan 5, 2014 at 5:06 PM, Andy Bunce bunce.a...@gmail.com wrote:
Hi Dirk,
The Tika documentation is not very clear[1]. tika-app has a simple server
mode. tika-server, which I am using, is a different jar [2]
[1
Could not a custom
LSResourceResolverhttp://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/ls/LSResourceResolver.html[1]
be created to handle loading from the database?
Regards
/Andy
[1]
Hi P.C,
I think you will need to set the STOPPORT option (-s) [1] to an Openshift
friendly value e.g. 15002.
Regards
/Andy
[1] http://docs.basex.org/wiki/Options#STOPPORT
On Fri, Mar 7, 2014 at 12:10 PM, Christian Grün
christian.gr...@gmail.comwrote:
Hi P.C.,
thanks for describing your
Does
server.stop(15000,15001)
work?
https://github.com/BaseXdb/basex/blob/master/basex-core/src/main/java/org/basex/BaseXServer.java#L329
On Fri, Mar 7, 2014 at 1:04 PM, Andy Bunce bunce.a...@gmail.com wrote:
I think -s applies only to the basexhttp server not tomcat, but the
message does
Hi Christian,
These sound like very useful features. Regarding [1] Do you see this
feature, or something close, becoming part of a future standard XQuery
update standard?
/Andy
On Tue, Mar 18, 2014 at 12:03 PM, Christian Grün
christian.gr...@gmail.comwrote:
Dear BaseX aficionados,
An
To put some numbers on query precompilation [3]. I have been using Apache
ab to time a very simple RESTXQ request
declare %rest:GET %rest:path(bsp/simple)
%output:method(text)
function simple() {test};
ab -n 100 -c 10 http://localhost:8984/bsp/simple
I timed this when my webapp folder had a
I have added a comment to
https://www.w3.org/Bugs/Public/show_bug.cgi?id=9026
On Wed, Mar 19, 2014 at 10:41 PM, Christian Grün
christian.gr...@gmail.comwrote:
Hi Andy,
These sound like very useful features. Regarding [1] Do you see this
feature, or something close, becoming part of a
I wonder if this is related?
It seems to me that the port and host do not get picked up from the system
properties in WEB_INF/jetty.xml.
Set name=hostSystemProperty name=org.basex.serverhost
default=0.0.0.0//Set
Set name=portSystemProperty name=org.basex.serverport
default=8984//Set
Hi,
I want to score searches with multiple conditions e.g.
let $data:=(
rared apple/a/r,
rablue lagoon/a/r,
rbfish and chips/b/r)
for $hit score $s in $data[
a contains text(red)
or b contains text(fish)]
return $s
In 7.8.2 it always returns scores of
how you want to
combine scores. The drawback, obviously, is that your code gets more
complex.
Best,
Christian
On Thu, Apr 10, 2014 at 6:27 PM, Andy Bunce bunce.a...@gmail.com wrote:
Hi,
I want to score searches with multiple conditions e.g.
let $data:=(
rared apple/a/r
Hi Aurelien,
If you do try the BaseXHTTP server route on OpenShift, rather than the WAR
packaging, this repo may help
https://github.com/Quodatum/openshift-basex-quick-start. By default just
RESTXQ is enabled but it is easy to re-able REST and or Webdav.
This uses the OpenShift data directory to
ssh...
Rather frustrating, but well, I'm patient and open to any suggestion.
Andy,
thanks for the interesting link!
Christian
On Thu, May 8, 2014 at 2:10 PM, Andy Bunce bunce.a...@gmail.com wrote:
Hi Aurelien,
If you do try the BaseXHTTP server route on OpenShift, rather
the application to the local machine
via ssh...
Rather frustrating, but well, I'm patient and open to any suggestion.
Andy,
thanks for the interesting link!
Christian
On Thu, May 8, 2014 at 2:10 PM, Andy Bunce bunce.a...@gmail.com
wrote:
Hi Aurelien,
If you do try
Great news. Looks like you did not need my changes.
/Andy
On 9 May 2014 09:24, Andy Bunce bunce.a...@gmail.com wrote:
Hi Aurelien,
Sorry you could not get it to work. If you want to try one more time,I
have slightly changed the install instructions for
https://github.com/Quodatum/openshift
Hi Yoann,
I do it like this:
http://quodatum.wordpress.com/2014/05/14/using-angular-with-basex
/Andy
On 14 May 2014 10:53, Yoann Maingon yoann.main...@minerva-plm.fr wrote:
Hi,
I've got two questions about using Basex with Angular, because I still
have an issue accessing the XQuery
Hi,
It seems that in restxq mode relative paths for *declare base-uri* are
resolved differently [1]. If I have
-webapp
--folder1
---mod1.xqm (which has import module namespace xm='test' at 'mod2.xqm';)
---mod2.xqm
The import works. If I add
declare base-uri .;
to mod1. the import fails, running
query file, no matter in which context. This
should be fixed in the latest snapshot [1].
Thanks,
Christian
On Sun, Jun 15, 2014 at 12:25 AM, Andy Bunce bunce.a...@gmail.com wrote:
Hi,
It seems that in restxq mode relative paths for declare base-uri are
resolved differently [1]. If I
On Mon, Jun 16, 2014 at 5:04 PM, Andy Bunce bunce.a...@gmail.com wrote:
Thanks, I will give it a go.
My motivation is to find a restxq config that avoids the parsing tax.
I am
thinking of trying setting RESTXQPATH to restxq.
Then using this structure:
webapp
-app1
--mod2.xqm
or xquery annotated, then the problem would go away.
/Andy
On 16 June 2014 16:21, Andy Bunce bunce.a...@gmail.com wrote:
Did you already try to move all non-restxq modules into the repository?
I am sure that works but it does not seem the right use of the repository to
me, particularly
not
an extension rather than a location to flag up this behavior.
/Andy
On 16 June 2014 23:19, Christian Grün christian.gr...@gmail.com wrote:
;) What about adding a .tmp extension to temporarily inactive files?
On Tue, Jun 17, 2014 at 12:13 AM, Andy Bunce bunce.a...@gmail.com wrote:
I hesitate
Hi Christian,
Looking good. One minor issue, the *two* argument form of session:get [1]
with a default seems to be broken.
[XPST0017] Java function 'org.basex.modules.Session:get' is not found.
Also regarding the wiki session documentation: The session get/set
functions are documented as only
I do not have aproblem with functionality, it is just a documentation
problem - I think
http://docs.basex.org/wiki/Session_Module#session:get and set
should say
*session:get*($key as xs:string) as item()
or similar
/Andy
On 29 June 2014 13:30, Christian Grün christian.gr...@gmail.com wrote:
Hi
That marklogic link should have been:
http://docs.marklogic.com/xdmp:spawn
On 16 July 2014 09:55, Andy Bunce bunce.a...@gmail.com wrote:
Hi Micheal,
I think there may be a problem with the idea of using RESTXQ. My
experience is that something stops requests after a minute or so, maybe
Hi,
I am having problems running the source. I have download the zip from
github, and added as a java project in eclipse.
When I run I get...
/lang/English.lang not found.
English.lang: 'srv_started_port_%' is missing
English.lang: 'srv_stopped_port_%' is missing
English.lang: 'srv_running' is
8549 CBC2 613C D745 722B
Am 08.08.2014 um 00:11 schrieb Andy Bunce bunce.a...@gmail.com:
Hi,
I am having problems running the source. I have download the zip from
github, and added as a java project in eclipse.
When I run I get...
/lang/English.lang not found.
English.lang
]: http://www.jenserat.de
PGP: 350E D9B6 9ADC 2DED F5F2 8549 CBC2 613C D745 722B
Am 08.08.2014 um 00:11 schrieb Andy Bunce bunce.a...@gmail.com:
Hi,
I am having problems running the source. I have download the zip from
github, and added as a java project in eclipse
Software
Subversive SVN Team Provider1.1.3.I20140206-1700
org.eclipse.team.svn.feature.groupEclipse.org
XQuery Development Tools Feature1.0.0.201108251748
org.eclipse.wst.xquery.feature.feature.groupEclipse Web Tools Platform
On 8 August 2014 11:53, Andy Bunce bunce.a...@gmail.com
If the goal is debugging
.. another approach might be to think about Aspect Oriented Programming
something like
http://www.mkyong.com/spring3/spring-aop-aspectj-annotation-example/
/Andy
On 19 August 2014 18:05, France Baril france.ba...@architextus.com wrote:
Hi,
I am hoping to use this
Hi Lars,
You need to return a sequence of two items: (restxq:response,thedata)
I do something like...
declare
%rest:path(/download/{$file})
function page:download-file($file)
{
(download-response(raw,$file), file:read-binary(..))
};
(:~ headers for download :)
declare function
cause
problems in certain environments.
C.
/Andy
[1]
https://github.com/BaseXdb/basex/blob/7e7aad58feae2f7e36bb1bcad9641cbf944f4594/basex-core/src/main/java/org/basex/query/func/validate/ValidateXsdInfo.java#L66
On 12 September 2014 17:03, Andy Bunce bunce.a...@gmail.com wrote
To be more clear. The render arguments that referenced xml files now
reference xquery files. e.g.
return render(main.xq,map{})
On 17 October 2014 21:37, Andy Bunce bunce.a...@gmail.com wrote:
Hi Emmanuel,
At some point BaseX was changed so that variables must be declared.
Now you must
In some case, it's even not possible because the optimizer creates new
expressions that have no counterpart in the original XQuery language
Do you mean they invoke internal BaseX functions? Also to help me
understand what BaseX optimization involves:
If these serializations are post
Hi,
I often find myself adding module imports in the GUI and I wonder if the
following suggestion might speed up that process.
Add a new menu item to the filelist right click context menu Add as
import when the file selection is a XQuery module.
The action would be to add a line to the current
Hi Marc,
I have not used it, or even claim to understand it, but
https://github.com/jpcs/transform.xq might give you some ideas.
It avoids eval by using an EBNF to pre-generate an XPath parser in XQuery.
/Andy
On 13 November 2014 21:51, Marc van Grootel marc.van.groo...@gmail.com
wrote:
Hi Mansi,
The other day, I came across this work [1] [2] by Darin McBeath that may be
of interest.
It use Apache Spark [3] with Saxon. In principle it looks like one could
build something similar using the BaseX jar in place of Saxon.
/Andy
[1] https://github.com/elsevierlabs/spark-xml-utils
Hi,
I cant get this to work. My test is
https://gist.github.com/apb2006/2f1a6ec32de4b0aefcdd
/json2 returns the text I expect. /json returns zero content.
Is there some new config I am missing?
/Andy
Hi Christian,
The DBA looks good.
One comment inspired by a quick play with it. It does not show the name of
the logged in user. Indeed I have previously looked to get this
information and it does not seem to be available via any BaseX function. Is
this intentional?
/Andy
On 11 December 2014
Hi,
If I create a database with a file with [] in the name e.g.
*bracket[in]name.xml
*then
/*/base-uri(.)
gives the error
[XQST0046] URI 'bracket[in]name/bracket[in]name.xml' is invalid.
Query:
/*/base-uri(.)
Is this correct behavior?
/Andy
Thanks. As my documents are in a database I can use db:path [1] for now.
/Andy
[1] http://docs.basex.org/wiki/Database_Module#db:path
On 15 December 2014 at 19:58, Christian Grün christian.gr...@gmail.com
wrote:
Hi Andy,
interesting issue. I just tried some other XQuery processors in order
Hi,
I am having difficulty getting this to work. I had something working with
7.9 (see
https://github.com/Quodatum/openshift-basex-quick-start/tree/releases/0.2 )
Using a recent snapshot. I am running
${OPENSHIFT_DATA_DIR}/basex/bin/basexhttp -n ${OPENSHIFT_DIY_IP} -h
${OPENSHIFT_DIY_PORT} -p
Hi,
Imports to library modules are giving modules not found errors for me.
E.g. add a reference to the xquery module to restxq.xqm.
/Andy
(:~
: This module contains some basic examples for RESTXQ annotations
: @author BaseX Team
:)
module namespace page =
Michael,
As Christian suggests the web.xml from GraphXQ does date from the old
default basexhttp configuration (~basex 7.8?). Initially I was unconvinced
by the change to what is the current default configuration but I have grown
to appreciate it.
This old configuration gives you a http server
Hi Philipp,
At one point I converted Norman Walsh's ML-Schematron
https://github.com/ndw/ML-Schematron to run under BaseX. It is not hard to
do.
But it would be nice to have a standard, perhaps EXpath
https://groups.google.com/forum/#!topic/expath/_e-S7ui-gI4.
Regards
/Andy
On 7 January 2015
, and specifying admin/admin
as default in web.xml for the RESTXQ service instead. Do you think
that would make sense?
Christian
On Mon, Jan 12, 2015 at 6:44 PM, Andy Bunce bunce.a...@gmail.com wrote:
So does this mean all restxq code always runs as admin and can do
anything?
On 12 Jan
. This
continues to be different with REST and WebDAV.
Hope this helps?
Christian
On Mon, Jan 12, 2015 at 6:09 PM, Andy Bunce bunce.a...@gmail.com wrote:
Hi,
Just investigating user handling, I am using the latest snapsnap.
I start basexhttp with -U guest -P guest
and/or I set org.basex.user
Hi,
Just investigating user handling, I am using the latest snapsnap.
I start basexhttp with -U guest -P guest
and/or I set org.basex.user and org.basex.password in web.xml
Sometimes I have created a user ( guest with password guest) and permission
none via dba. Sometimes I have deleted the
Thats working for me[1]. Thanks
/Andy
[1] http://jan07-apb.rhcloud.com/
On 6 January 2015 at 10:59, Christian Grün christian.gr...@gmail.com
wrote:
Hi Andy,
I wonder if SERVERHOST should be set here? As with SERVER PORT..
christian.gr...@gmail.com wrote:
…fixed. I disallowed the deletion of document nodes, because it
resolves to the query db:delete($db, $path), and this query could
potentially delete more than a single document.
On Thu, Mar 12, 2015 at 9:44 PM, Andy Bunce bunce.a...@gmail.com wrote:
Hi
Hi,
In the GUI folder view I can delete nodes by selecting and using right
click.
But if I select a top level document name entry the UI prompts for delete
confirmation but no delete occurs.
/Andy
I think it is the handling of nested comments:
let $a:='
(:~
: BEFORE code(:~/code MIDDLE code:)/code AFTER
:)
declare function local:foo(){42};local:foo()
'
return inspect:xqdoc($a)
Result:
xqdoc:descriptionlt;/codegt; MIDDLE lt;codegt;/xqdoc:description
may be confusing [1] indeed.
/Andy
I am looking to generate documentation from the system module stubs in
etc/modules.zip.
I have two issues
1) There is an issue with inspect.xqm
declare namespace xqdoc=http://www.xqdoc.org/1.0;;
let
$a:=inspect:xqdoc(inspect.xqm)//xqdoc:function[xqdoc:name='inspect:xqdoc']//xqdoc:description
Hi Erol,
I am not volunteering :-) but if somebody wants to take this route this
code might give some pointers [1].
It uses Apache Spark to run Saxon-HE, an XQuery example [2], and more info
[3].
/Andy
[1] https://github.com/elsevierlabs/spark-xml-utils
[2]
Hi,
It appears the EXPath package format has changed. The current version of
the spec reads:
the root of the ZIP file contains a directory named *content*, containing
the components and any other file the package needs.
http://expath.org/spec/pkg#descriptor
A previous version
Hi Alex,
Looks good and certainly cleaner than my effort :-). Literate CoffeeScript
is new to me but, having struggled with asynchrous stream parsing in node,
I do like the look of
https://github.com/alxarch/basex-stream/blob/master/src/parser.litcoffee .I
hope to give it try soon.
Cheers
/Andy
Hi Eliot,
Take a look at map:entry and map:merge[1]
let $map:=map{a:old,x:43}
let $seq:=(a,b)
return map:merge(($map,
for $item in $seq return map:entry($item,somevalue)
))
/Andy
[1] http://docs.basex.org/wiki/Map_Module#map:entry
On 18 April 2015 at 17:20,
Thanks for the explanation Leo. So perhaps the surprise is that no other
queries seem to be affected by this.
/Andy
On 6 April 2015 at 14:43, Leonard Wörteler
leonard.woerte...@uni-konstanz.de wrote:
Hi Andy,
Am 06.04.2015 um 13:13 schrieb Andy Bunce:
I have compared the timings
Hi,
This is a follow up to the benchmarking work I presented at the user
meeting in Prague.
I have made some changes to my BenchX application to allow the split option
(-s) of xmgen to be used. http://www.xml-benchmark.org/faq.txt
I have compared the timings for databases created from sources
Hi
Here are a couple of minor suggestions for dba enhancement/fixes (based on
8.2.1). I should get a PR together but that might be some time.
1. Login field tab order.
Currently this is (1) name (2) login bn (3) password. Moving the
login button to after the password would make sense to me
The fixes look good to me.
Regarding the log filtering I had not really seen the role of loglist.
/dba/logs?loglist=%2Fbenchx
Gives me what I wanted, but the what I would like to see is that url to
also show the results from the first log in loglist. As a user this is what
I want to see most of
Yes
On 12 Jun 2015 17:35, Christian Grün christian.gr...@gmail.com wrote:
Hi Andy,
Gives me what I wanted, but the what I would like to see is that url to
also
show the results from the first log in loglist. As a user this is what I
want to see most of the time.
I'm not sure if I get
Same for me. Using the zip to a new folder: Desktop/basex-8.2 then .basex
has
# HTTP Services
WEBPATH = C:/Users/Bunceax/Desktop/basex-8.2/webapp
RESTPATH =
RESTXQPATH =
If I edit .basex to have:
RESTXQPATH = C:/Users/Bunceax/Desktop/basex-8.2/webapp
It works again.
/Andy
On 22 May 2015 at
was started (port: 8984)
Do you possibly have some more hints on what goes wrong in your
environment?
Christian
On Fri, May 22, 2015 at 10:37 AM, Andy Bunce bunce.a...@gmail.com wrote:
Same for me. Using the zip to a new folder: Desktop/basex-8.2 then .basex
has
# HTTP Services
WEBPATH = C
MIXUPDATES=true
Which I do like, but I am wondering if the issues outweigh the advantages.
/Andy
On 12 August 2015 at 16:24, Christian Grün christian.gr...@gmail.com
wrote:
In the DBA query window
let $c := client:connect('localhost', 1984, 'admin', 'admin')
return client:query($c, 2+
Hi,
Is there a simple example of how to create write a Java function that
returns an XQuery map anywhere?
/Andy
Thanks. That is helpful.
/Andy
On 18 August 2015 at 16:49, Christian Grün christian.gr...@gmail.com
wrote:
Hi Andy,
Please check the attached Java class for a basic example. Feel free to
ask for more details.
Christian
On Tue, Aug 18, 2015 at 12:58 PM, Andy Bunce bunce.a...@gmail.com
This looks a bit like errors I have seen with CACHERESTXQ=true [1]
and then hot swapping the XQuery files. Requesting /.init sorts it for me.
/Andy
[1] http://docs.basex.org/wiki/Options#CACHERESTXQ
On 4 August 2015 at 10:05, Christian Grün christian.gr...@gmail.com wrote:
All existing test
Hi Max,
This sounds like a good thing.
Another solution to the result-document issue might be to implement the
XQuery 3.1 transform function [1]
/Andy
[1] http://www.w3.org/TR/xpath-functions-31/#func-transform
On 3 August 2015 at 20:54, Max Goltzsche max.goltzs...@algorythm.de wrote:
Hello
1 - 100 of 277 matches
Mail list logo