Re: [basex-talk] text() vs string()

2013-01-29 Thread Cerstin Elisabeth Mahlow
Hi Wendell, Am 28.01.2013 um 22:27 schrieb Wendell Piez: 1. Unless I learn better, I'm going to prefer [B] or [C], because in my world, mixed content is common; is there any reason (performance or otherwise) to prefer [A] in cases where I know it will be robust? Is there any reason to prefer [B]

Re: [basex-talk] URI resolver when calling XSLT

2013-01-29 Thread Alexander Holupirek
Hi Wendell, My apologies if this post is no help but only a me too. :-) no need for excuses. You mentioned that you have similar problems, proposed a hint on how that could be resolved and in general showed, that this is an issue of importance for you. We, the BaseX community, definitely

Re: [basex-talk] URI resolver when calling XSLT

2013-01-29 Thread Marco Lettere
I feel the problem is the same. The issue is just that the resolver for imports and includes (both XSD and XSL) in BaseX seems not being able to resolve relative uris. We fixed temporarely by creating a folder with all schemas and stylesheets locally to the BazeX dist folder and transforming

Re: [basex-talk] concurrency within xquery

2013-01-29 Thread Marco Lettere
Hello Jens, what we wanted to do is writing a testing client for our service framework and we wanted to do it with BaseX as the testing client. An Xquery reading the testcase (in XML) and using http-client for the request plus XSD/XSLT and Xquery itself for doing the assertions on the outcome

Re: [basex-talk] text() vs string()

2013-01-29 Thread Christian Grün
Dear Wendell, if you query structured documents, Query [C] will be automatically optimized to [A]; this will not apply, however, if the addressed element contains other elements, such as is the case for mixed content. As Cerstin indicated, the text index is based on text nodes, so the main

Re: [basex-talk] URI resolver when calling XSLT

2013-01-29 Thread Christian Grün
Hi Marco, hi Seenivasan, hi Wendell, thanks for your comments; I’ve added a GitHub entry for that issue [1]. The original BaseX code is found at [2]. It gives some insight into how the XSLT processor is triggered via TransformerFactory.newInstance() etc., so if you should manage to get these few

Re: [basex-talk] BaseX Performance Test - hitting a performance wall

2013-01-29 Thread Christian Grün
Hi Gregg, finally some feedback.. Thanks for passing me on your performance results. It’s quite obvious that your application leads to heavy I/O. i'd like to get a deeper understanding of how your file-io is organized and what your caching scheme looks like. What sort of file-io caching

[basex-talk] Compiling w/ HTTP

2013-01-29 Thread Jay Straw
Hi all, I've just compiled from git the basex, basex-api, and basex-example repos, using maven. When I try to start, in basex-api, etc/basexhttp, I get: Exception in thread main java.lang.NoClassDefFoundError: org/eclipse/jetty/server/Handler Caused by: java.lang.ClassNotFoundException:

Re: [basex-talk] XSD Validation

2013-01-29 Thread Christian Grün
Hi Marco, thanks again for sending me the patch for the Validation Module. After some thoughts, I’ve eventually decided to add two new functions dtd-info() and xsd-info(), which return all warnings and errors in a string sequence [1] – in contrast to the existing functions, which continue to