[basex-talk] Running basexclient Command From a Bash Script

2015-03-22 Thread Eliot Kimber
his sort of scripted interaction with basex? It didn't appear that BaseX scripts provided a way to take parameters--if they could then I'd just call a .bxs script with the relevant parameters. Short of generating the script and then running it, I couldn't think of a simpler way to do wh

Re: [basex-talk] Running basexclient Command From a Bash Script

2015-03-22 Thread Eliot Kimber
Cool, Thanks for all the info. I knew it was due to my very weak understanding of bash scripting. The improved script you suggested worked. I'll do the reading necessary to understand *why* it works, but that gets me over the immediate hurdle. Cheers, E. — Eliot Kimber, Owner Con

Re: [basex-talk] Running basexclient Command From a Bash Script

2015-03-22 Thread Eliot Kimber
Small hick-up: the script works under OS X (and I'll assume under Linux) but not in the git shell under Windows. I should be able to use a separate batch script for Windows but it would be easiest if a single script was cross platform. Hmph. Cheers, E. — Eliot Kimber, Owner Contrext

[basex-talk] Configuration File for Basexclient Connection Details?

2015-03-25 Thread Eliot Kimber
this correct or am I missing a configuration option somewhere? What I'm looking for is the ability to call the basexclient command from git hooks without those scripts having to maintain their own configuration file for the connection details. Thanks, Eliot — Eliot Kimber, Owner Contrext

[basex-talk] Failure on Second Update to Database

2015-03-25 Thread Eliot Kimber
is committing a file on the file system. This behavior is consistent: if I drop the database, restart the server, the repeat this test, I get the same failure. Is this my user error or a bug? Cheers, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Failure on Second Update to Database

2015-03-25 Thread Eliot Kimber
Here's the link again: https://gist.github.com/dc9f6d55d891b06ecae9.git I just verified that it's not private and that I could clone it (at least with my GitHub credentials). Cheers, E. ————— Eliot Kimber, Owner Contrext, LLC http://contrext.com On 3/25/15, 12:28 PM, "

Re: [basex-talk] Failure on Second Update to Database

2015-03-25 Thread Eliot Kimber
gist-basex-failure.zip Cheers, E. ————— Eliot Kimber, Owner Contrext, LLC http://contrext.com On 3/25/15, 12:40 PM, "Christian Grün" wrote: >> https://gist.github.com/dc9f6d55d891b06ecae9.git > >Hm, it still gives me 404.. I also tried to download it from a machine >w

Re: [basex-talk] Configuration File for Basexclient Connection Details?

2015-03-25 Thread Eliot Kimber
t was not set. Cheers, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com On 3/25/15, 12:39 PM, "Christian Grün" wrote: >> Looking through the docs and trying to tests locally, it appears that >>the >> basexclient command does not use the USER or PASS

Re: [basex-talk] Simple xQuery functions do not work as expected

2015-03-25 Thread Eliot Kimber
Note that I'm not using the GUI, I'm using the basexclient command via a bash script. I have the basexserver running as a "service" (meaning it's a background task under OS X and then I'm using git commit hooks to run bash scripts that call the basexclient command.

Re: [basex-talk] Simple xQuery functions do not work as expected

2015-03-25 Thread Eliot Kimber
Sorry--just realized I confused the threads. Ignore me. Cheers, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com On 3/25/15, 1:19 PM, "Eliot Kimber" wrote: >Note that I'm not using the GUI, I'm using the basexclient command via a >bash script.

Re: [basex-talk] Failure on Second Update to Database

2015-03-25 Thread Eliot Kimber
Cool--always happy to reveal a bug. Let me know if I can help in testing a fix. Cheers, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com On 3/25/15, 1:23 PM, "Christian Grün" wrote: >Pardon me… I just tried to call the gist in the browser. Using "git &g

Re: [basex-talk] Configuration File for Basexclient Connection Details?

2015-03-25 Thread Eliot Kimber
x and .basexhome in the installation directory, the user and password from the ~/.basex file is used. Cheers, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com On 3/25/15, 1:25 PM, "Christian Grün" wrote: >> However, when I ran basexclient, I got this: >> >&g

Re: [basex-talk] Failure on Second Update to Database

2015-03-26 Thread Eliot Kimber
Is there a workaround for this bug? Do I understand the issue that this only occurs if the first document has a namespace declaration? Cheers, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com On 3/25/15, 1:44 PM, "Christian Grün" wrote: >> Cool--always happy

[basex-talk] DITA for Small Teams Git-to-BaseX Hooks

2015-03-26 Thread Eliot Kimber
ommit databases, although that might be necessary for certain use cases, hmmm). Thanks for all the help here, especially Charles Duffy's help with bash script coding. Cheers, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com

[basex-talk] HTTP Server Not Serving Any RESTXQ Results

2015-04-11 Thread Eliot Kimber
org.basex.http.restxq.RestXqServlet 1 RESTXQ /* The WebDAV service does work: I can retrieve files from specific databases using the WeDAV url. Any suggestions on where my configuration might be bad? Thanks, Eliot — Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] HTTP Server Not Serving Any RESTXQ Results

2015-04-12 Thread Eliot Kimber
Christian, I'm using the Zip distribution. The REST service works and WebDAV works, it is only RESTXQ that doesn't appear to be correctly configured. So either I'm missing some essential configuration detail or there's an OS X-specific problem that I'm tripping over. T

Re: [basex-talk] HTTP Server Not Serving Any RESTXQ Results

2015-04-12 Thread Eliot Kimber
diagnostics here would have helped, e.g. "WEBPATH directory 'foo/bar' does not exist". I'll create an issue and try to circle back to implementing a fix once my current crunch has passed. Cheers, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com On 4/12/15, 8:33

[basex-talk] Documentation on Module Imports Missing a Detail

2015-04-12 Thread Eliot Kimber
I was trying to have a RESTXQ module import a library module stored in the configured REPO directory. I copied my module into that directory and verified that it was listed: NameVersion Type Path - basex-utils -Inte

[basex-talk] Mystery Failure on REPLACE but Not ADD

2015-04-12 Thread Eliot Kimber
message is not very helpful in this case. Any idea what the problem might be or how I would diagnose this failure? Thanks, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Mystery Failure on REPLACE but Not ADD

2015-04-12 Thread Eliot Kimber
It's definitely a function of my local .basex settings. If I revert to the default settings (make the basex install dir .basexhome and remove ~/.basex) then the replace succeeds. Trying to figure out what the setting is that results in the failure. Cheers, E. — Eliot Kimber, Owner Con

Re: [basex-talk] Documentation on Module Imports Missing a Detail

2015-04-12 Thread Eliot Kimber
Yes, I can update the documentation. Cheers, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com On 4/12/15, 11:56 AM, "Christian Grün" wrote: >Hi Eliot, > >I agree, the documentation could surely be more precise here. Would >you possibly be interested

Re: [basex-talk] Mystery Failure on REPLACE but Not ADD

2015-04-12 Thread Eliot Kimber
No obvious cause for the failure yet but it feels like a bug that is revealed by a particular configuration organization. Cheers, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com On 4/12/15, 12:19 PM, "Eliot Kimber" wrote: >It's definitely a function

Re: [basex-talk] Mystery Failure on REPLACE but Not ADD

2015-04-13 Thread Eliot Kimber
65411b193f76b19e9565d' -U admin -P admin -p 1984 -n localhost And this succeeds: basexclient -c 'CHECK dfst_dfst-sample-project_develop; SET DTD false; REPLACE dfst/metadata.xml develop2df2f9674f7e8a5d43 865411b193f76b19e9565d' -U admin -P admin -p 1984 -n localhost Cheers, E.

Re: [basex-talk] Mystery Failure on REPLACE but Not ADD

2015-04-13 Thread Eliot Kimber
fails before the "skip corrupt = true" logic comes into play. I'll log an issue for it and try to track it down once I have a bit more time. Definitely don't want to have this sort of failure hanging about if we can avoid it. Cheers, E. — Eliot Kimber, Owner Contrext,

[basex-talk] Optimizing Element Access By Attribute Value Matching

2015-04-13 Thread Eliot Kimber
ue. Even if there is an attribute value index it will still be slow. The obvious solution would be to index by @class token, e.g., an index where keys are "topic/topic", "topic/p", etc. Is there a way to construct such an index in BaseX? Is there a better to address type of string-match-based lookup? Thanks, Eliot — Eliot Kimber, Owner Contrext, LLC http://contrext.com

[basex-talk] Way to React To Updates Using XQuery?

2015-04-15 Thread Eliot Kimber
t the case where documents were loaded by some other route. Is such a mechanism available? Thanks, Eliot — Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Way to React To Updates Using XQuery?

2015-04-16 Thread Eliot Kimber
imply call that function after any load or update operation from my git hooks. For my current use case that will be as good as having some sort of trigger feature. Cheers, E. ————— Eliot Kimber, Owner Contrext, LLC http://contrext.com On 4/16/15, 12:03 AM, "Christian Grün"

[basex-talk] URLs for BaseX Documents and resolve-uri()

2015-04-17 Thread Eliot Kimber
the expectations of URI handling by built-in XQuery functions. Thanks, Eliot — Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] URLs for BaseX Documents and resolve-uri()

2015-04-17 Thread Eliot Kimber
. Cheers, Eliot — Eliot Kimber, Owner Contrext, LLC http://contrext.com On 4/17/15, 10:51 AM, "Eliot Kimber" wrote: >I'm migrating XSLT functions for working with DITA documents to XQuery. As >part of this function package I have functions that resolve URI referenc

[basex-talk] How To Reflect XML Source in HTML Output?

2015-04-17 Thread Eliot Kimber
re a built-in way to generate escaped XML for use in e.g., HTML or is there some silly thing I need to do in my typeswitch to make sure the newlines make it to the HTML result? Thanks, Eliot — Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] How To Reflect XML Source in HTML Output?

2015-04-17 Thread Eliot Kimber
ry XML elements, not necessarily a complete document. Cheers, E. ————— Eliot Kimber, Owner Contrext, LLC http://contrext.com On 4/17/15, 12:13 PM, "Christian Grün" wrote: >> I'm use the RESTXQ stuff (very nice) to build a little DITA link >> management application.

Re: [basex-talk] URLs for BaseX Documents and resolve-uri()

2015-04-17 Thread Eliot Kimber
ific scheme that is used with all absolute URIs, e.g. "basex:/dbname/path/to/doc". That would remove any potential ambiguity about the intent of a given URL. Thus, document-uri(root($node)) would return either "/foo/bar" or "basex:/foo/bar", but not "foo/bar". C

Re: [basex-talk] URLs for BaseX Documents and resolve-uri()

2015-04-17 Thread Eliot Kimber
ution that is not explicitly BaseX specific. Cheers, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com On 4/17/15, 12:07 PM, "Christian Grün" wrote: >Hi Eliot, > >> This fails under BaseX: >> >> [FORG0002] Base URI is not absolute: >>&q

Re: [basex-talk] How To Reflect XML Source in HTML Output?

2015-04-17 Thread Eliot Kimber
serialize() does just what I want: { let $map := dftest:testResolveTopicOrMapUri($repo, $branch) return serialize($map) } Cheers, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com On 4/17/15, 12:43 PM, "Christian Grün&qu

[basex-talk] Working With Maps Using FLOWR Expressions?

2015-04-18 Thread Eliot Kimber
f the for loop returns a new map. In the context of a FLOWR expression I'm not seeing how to effectively update the same map instance. What fundamental aspect of map manipulation am I missing? Thanks, Eliot — Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Working With Maps Using FLOWR Expressions?

2015-04-18 Thread Eliot Kimber
Of course. Must be my lack of sleep that kept me from seeing that solution :-) Cheers, E. — Eliot Kimber, Owner Contrext, LLC http://contrext.com On 4/18/15, 11:43 AM, "Andy Bunce" wrote: >Hi Eliot, > >Take a look at map:entry and map:merge[1] > >let $

[basex-talk] Best Forum for Generate XQuery How To Discussions?

2015-04-23 Thread Eliot Kimber
What is the best forum for asking general how-to XQuery questions that are not BaseX specific? Thanks, Eliot — Eliot Kimber, Owner Contrext, LLC http://contrext.com

[basex-talk] Separate Databases vs. Directories Within One Databse?

2015-05-14 Thread Eliot Kimber
rying and indexing, which supports maintaining knowledge of the links within the XML content, could get intense. Cheers, Eliot — Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Separate Databases vs. Directories Within One Databse?

2015-05-16 Thread Eliot Kimber
ut that is not a concern for what I'm doing now. Cheers, E. ————— Eliot Kimber, Owner Contrext, LLC http://contrext.com On 5/16/15, 5:10 AM, "Christian Grün" wrote: >Hi Eliot, > >As usual, there is no simple answer to such a question. However, I can >say that sound

[basex-talk] Run Queries in Background from RESTXQ App?

2015-07-04 Thread Eliot Kimber
for. Thanks, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Run Queries in Background from RESTXQ App?

2015-07-04 Thread Eliot Kimber
. So it's not really an issue. And if I wanted things to be a bit more sophisticated I would use Javascript to submit the REST URL and manage the response, however long it took to return. Cheers, E. ---- Eliot Kimber, Owner Contrext, LLC http://contrext.com On 7/4/15, 1:26 PM, "Eliot

[basex-talk] Organizing Large Numbers of Small Documetns?

2015-07-05 Thread Eliot Kimber
numbers of documents. Thanks, Eliot ---- Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Organizing Large Numbers of Small Documetns?

2015-07-05 Thread Eliot Kimber
ormal practice) then there would be 1 million where-used records (one for each link to a given topic). So if managing 1 million documents is not a problem then I should be fine. Cheers, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com On 7/5/15, 10:43 AM, "Christian Grün&quo

[basex-talk] Returning REST Response From Updating Function

2015-07-05 Thread Eliot Kimber
age on the variable assignment. Is there a way to do what I want? Thanks, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Returning REST Response From Updating Function

2015-07-06 Thread Eliot Kimber
presents it in whatever way is appropriate. Shouldn't be too hard to set up. Cheers, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com On 7/5/15, 12:35 PM, "Christian Grün" wrote: >Hi Eliot, > >Two years ago, two members of our team gave a lit

[basex-talk] Any Way to Create A Database And Commit To It From REST Service?

2015-07-11 Thread Eliot Kimber
ase creation is done) 2. Use the redirect technique so that, for example, the root page is handled by an updating function that does the database initialization and then returns a redirect to the real root page handler. Have I missed an option? Thanks, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Any Way to Create A Database And Commit To It From REST Service?

2015-07-13 Thread Eliot Kimber
though I did see what it was doing with db:output() and redirection). Cheers, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com On 7/13/15, 2:59 AM, "Dirk Kirsten" wrote: >Hello Eliot, > >You can add the documents directly using the db:create() function, th

[basex-talk] More Array Troubles: Syntax Subtlety That I'm Missing

2015-07-17 Thread Eliot Kimber
is returned). I've verified that $keyScopes is an array of two sequences and as far as I can tell I'm passing arrays where arrays are expected so I'm not sure what my error is, but there must be one. Thanks, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] More Array Troubles: Syntax Subtlety That I'm Missing

2015-07-17 Thread Eliot Kimber
Please ignore my question: apparently I hadn't saved the module that corrected my bug. So sorry for the noise. Cheers, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com On 7/17/15, 9:30 AM, "Eliot Kimber" wrote: >I have this recursive function that tak

[basex-talk] BaseX Pegging Java Process: How To Diagnose?

2015-07-18 Thread Eliot Kimber
Using BaseX 8.2.1 HTTP server, not actively performing any queries (but having performed some after restarting the server), BaseX is pegging one of my processors. What can I do to determine what BaseX is doing when it's in this state? Thanks, E. Eliot Kimber, Owner Contrext, LLC

[basex-talk] Getting More Diagnostic Info From DBA Query Runner?

2015-07-18 Thread Eliot Kimber
that information in a log somewhere? Thanks, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Getting More Diagnostic Info From DBA Query Runner?

2015-07-20 Thread Eliot Kimber
{local:err()} I get the full trace result if I for example try to run one of my own RESTXQ functions and there is an error, but not in the DBA app. I'm using the DBA app to test and debug my code (and it's very convenient for that). Cheers, E. Eliot Kimber, Owner Contrext, LLC http

Re: [basex-talk] Getting More Diagnostic Info From DBA Query Runner?

2015-07-20 Thread Eliot Kimber
If you can point me at the relevant code I'll put aside my distaste for Javascript and take a look. Cheers, E> ---- Eliot Kimber, Owner Contrext, LLC http://contrext.com On 7/20/15, 10:32 AM, "Christian Grün" wrote: >Ok, I got it. The full error is returned to the c

Re: [basex-talk] Merging databases?

2015-07-24 Thread Eliot Kimber
heers, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com On 7/24/15, 2:30 PM, "Amanda Galtman" wrote: >Hi, > >Is there a simple, fast way to merge databases? For example, suppose I >have 200 databases, each with 5 XML documents, and the document paths

Re: [basex-talk] Getting More Diagnostic Info From DBA Query Runner?

2015-07-28 Thread Eliot Kimber
I looked at the Javascript for this but my feeble Javascript skills were insufficient to adjust this in the small amount of time I had to work on it. I'll try to look at it again when I can. Cheers, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com On 7/20/15, 10:

Re: [basex-talk] question

2015-07-29 Thread Eliot Kimber
x27;unknown type' Or something close to that. There is also "instance of", which might be I also found this paper, which might be interesting: http://www.balisage.net/Proceedings/vol8/html/Holstege01/BalisageVol8-Holst ege01.html Cheers, E. Eliot Kimber, Owner Contrext, L

Re: [basex-talk] question

2015-07-29 Thread Eliot Kimber
I am happy to be corrected. Cheers, E. Eliot Kimber, Owner Contrext, LLC http://contrext.com On 7/29/15, 10:42 AM, "Florent Georges" wrote: >Hi, > >That would base the type annotation on the lexical value. For >instance, the string '0' would be labell

Re: [basex-talk] Returning REST Response From Updating Function

2015-08-01 Thread Eliot Kimber
place. Cheers, E. Eliot Kimber, Owner Contrext, LLC http://contrext.com On 7/6/15, 8:14 AM, "Eliot Kimber" wrote: >Christian, > >Thanks for those pointers--lots of interesting stuff. > >Looking at how those two apps are using db:output() and restxq:redire

[basex-talk] RESTXQ: Call a Page With A Parameter That Does not Persist in the URL

2015-08-01 Thread Eliot Kimber
re must be a way to do what I want but I'm not sure what it is. Based on my research I think I can do a form POST instead of a GET but that seems kind of heavy weight. Is there a simpler/better way to achieve this effect? I didn't see anything obvious in the RESTXQ docs. Thanks, Eli

[basex-talk] Running BaseX In A Docker Container?

2015-08-05 Thread Eliot Kimber
that means configured with the DFST Web app and supporting modules, configuration details, etc. Just curious if anyone has experience putting BaseX in a container and if there's anything we should look out for or anything we can contribute back out of this effort. Cheers, E. ---- Elio

[basex-talk] Using BaseX With oXygenXML: Validate XQuery 3.1 Syntax

2015-08-08 Thread Eliot Kimber
happy. My question: is it possible to configure oXygenXML so it validates the 3.1 expressions BaseX supports? I'm not sure if this an oXygenXML or a BaseX issue. Thanks, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Finding document based on filename

2015-08-31 Thread Eliot Kimber
Else () Cheers, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com On 8/31/15, 11:35 AM, "Martín Ferrari" wrote: >Hi Mansi, I have a similar situation. I don't think there's a fast >way to get documents by only knowing a part of their nam

[basex-talk] Status of BaseX Docker Container?

2016-01-24 Thread Eliot Kimber
.com/zopyx/docker-basex And pushed it to the Docker Hub in the basex namespace. I'm wondering what the relationship of this is, if any, to any official BaseX Docker support? Thanks, Eliot ---- Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Status of BaseX Docker Container?

2016-01-26 Thread Eliot Kimber
OK, I'm going to proceed with making a generic basex Docker container in the DFST Docker project on GitHub. I'm using Andreas' as a starting point but it's pretty trivial. I'm working/testing on OS X, Windows, and CentOS so I should be able to get something going. Chee

Re: [basex-talk] Status of BaseX Docker Container?

2016-01-26 Thread Eliot Kimber
.2:8984/ Under Windows: The DockerFile is in GitHub here: https://github.com/dita-for-small-teams/dfst-docker My next task will be to create a container based on this one that includes specific configuration and the DFST Web application modules. Should be easy once I get to it. Cheers, E. -

Re: [basex-talk] Status of BaseX Docker Container?

2016-01-26 Thread Eliot Kimber
ker client to connect to it. Haven't been able to find a good solution in my searching. Very annoying. Cheers, E. Eliot Kimber, Owner Contrext, LLC http://contrext.com On 1/26/16, 3:50 PM, "Eliot Kimber" wrote: >For what it's worth, I've pushed a generic B

[basex-talk] Unrecognized Options Running Basex in Docker Container

2016-01-28 Thread Eliot Kimber
de running in both environments and the same config file. Thanks, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Unrecognized Options Running Basex in Docker Container

2016-01-28 Thread Eliot Kimber
seems to be up with local options. I verified that I can add data to the database itself. Thanks, E. Eliot Kimber, Owner Contrext, LLC http://contrext.com On 1/28/16, 6:10 PM, "Eliot Kimber" wrote: >I'm seeing a difference in how the .basex file is processed between >runni

Re: [basex-talk] Unrecognized Options Running Basex in Docker Container

2016-01-29 Thread Eliot Kimber
issions set correctly and got a "cannot write .basex file" message and debug showed me a java traceback but I resolved that issue. Cheers, E. Eliot Kimber, Owner Contrext, LLC http://contrext.com From: Christian Grün Date: Friday, January 29, 2016 at 2:20 AM To: Eliot Kimber

Re: [basex-talk] Unrecognized Options Running Basex in Docker Container

2016-01-29 Thread Eliot Kimber
of my own basex Docker image with the version Michael is maintaining (basex/basexhttp). One less thing for me to worry about :-) Cheers, E. ---- Eliot Kimber, Owner Contrext, LLC http://contrext.com From: on behalf of Eliot Kimber Date: Friday, January 29, 2016 at 9:53 AM To: "basex-t

Re: [basex-talk] BaseX and Git versioning of XML at the same time

2016-02-10 Thread Eliot Kimber
o your git repo. You wouldn't do it directly from the file system. My work is part of the DITA for Small Teams project, http://dita-for-small-teams.org. I'll be speaking about it remotely on Friday at the BaseX user meetup in advance of the XML Prague conference. Cheers, Eliot

[basex-talk] Where Is Documentation On Module Lookup?

2016-02-17 Thread Eliot Kimber
I'm trying to find the documentation on how BaseX looks up modules and I can't find it in the current documentation. I know I found it in the past. Where should I be looking? Thanks, Eliot ---- Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Where Is Documentation On Module Lookup?

2016-02-17 Thread Eliot Kimber
Ah, thanks. For some reason the title "Repository" did not suggest the information I was looking for. But it's all coming back to me now. I was looking for "how to implement custom XQuery modules". Cheers, E. Eliot Kimber, Owner Contrext, LLC http://contrext.com

[basex-talk] Sending Bytes, Not Strings, To BaseX Using the Ruby Client

2016-02-18 Thread Eliot Kimber
asex.execute("add to #{path} #{bytes}") it works but of course I get duplicate files if I run the command twice. If I try: @basex.execute("replace #{path} #{bytes}") Then I get the same failure. So something is not right. My Docker container is running 8.4.1 beta. What am I missing? Thanks, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Sending Bytes, Not Strings, To BaseX Using the Ruby Client

2016-02-18 Thread Eliot Kimber
I turned my UTF-8 file into a UTF-16 file and trying to commit it to BaseX via the Ruby client it did not work: BaseXClient.rb:50:in `execute': Resource "/opt/basex/?" not found. (RuntimeError) Where "?" is some kind of "unrecognized character" indicator Che

Re: [basex-talk] Sending Bytes, Not Strings, To BaseX Using the Ruby Client

2016-02-18 Thread Eliot Kimber
es as a string and of course that's not going to work in a naive way. Cheers, E. Eliot Kimber, Owner Contrext, LLC http://contrext.com On 2/18/16, 11:04 AM, "Eliot Kimber" wrote: >I turned my UTF-8 file into a UTF-16 file and trying to commit it to BaseX >via

Re: [basex-talk] Sending Bytes, Not Strings, To BaseX Using the Ruby Client

2016-02-19 Thread Eliot Kimber
I provide the remote API with a byte sequence that starts with 0xFFFE, 0xFEFF, 0x003C003F, or 0x3C003F00 that it would treat it as UTF-16. Cheers, E. Eliot Kimber, Owner Contrext, LLC http://contrext.com On 2/18/16, 4:58 PM, "Christian Grün" wrote: >Hi Eliot, > >For mos

Re: [basex-talk] Sending Bytes, Not Strings, To BaseX Using the Ruby Client

2016-02-19 Thread Eliot Kimber
t; I would expect that if I provide the remote API with a byte sequence >>that >> starts with 0xFFFE, 0xFEFF, 0x003C003F, or 0x3C003F00 that it would >>treat >> it as UTF-16. >> >> Cheers, >> >> E. >> >> Eliot Kimber, Owner >> Contrext

Re: [basex-talk] Automated Docker Build: basex/basexhttp

2016-02-19 Thread Eliot Kimber
ps in using Dockerfiles). Cheers, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com On 2/19/16, 3:54 PM, "Jens Erat" wrote: >Dear BaseX community, > >over the last weeks, interest in Docker utilization with BaseX hevily >increased, and several imag

Re: [basex-talk] Automated Docker Build: basex/basexhttp

2016-02-19 Thread Eliot Kimber
my related containers and provide a convenient way to manage everything through one command). Cheers, E. ---- Eliot Kimber, Owner Contrext, LLC http://contrext.com On 2/19/16, 4:27 PM, "Jens Erat" wrote: >Hi Eliot, > >> Looks like this version addresses the issue I

[basex-talk] Odd Behavior from Ruby Client

2016-02-20 Thread Eliot Kimber
ng this as it points up to either a really subtle user error or a flaw in the basic API mechanism. Cheers, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com

[basex-talk] Catalog Resolution Under Windows

2016-03-12 Thread Eliot Kimber
Is there any known issue with catalog resolution under Windows? Is there anything I can do to try to debug the problem? Thanks, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com

Re: [basex-talk] Catalog Resolution Under Windows

2016-03-12 Thread Eliot Kimber
skipped. I did the same test using 8.4.1 under OS X but against the same source files and catalog and it worked fine. So this seems to be a general issue with catalog resolution under Windows. Cheers, E. Eliot Kimber, Owner Contrext, LLC http://contrext.com On 3/12/16, 6:11 PM, "

Re: [basex-talk] Catalog Resolution Under Windows

2016-03-12 Thread Eliot Kimber
heers, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com On 3/13/16, 9:05 AM, "Eliot Kimber" wrote: >I tried some more experiments. > >I used the BaseX GUI as follows: > >1. Created a new database and used the GUI to select the catalog file >directl

Re: [basex-talk] Catalog Resolution Under Windows

2016-03-13 Thread Eliot Kimber
is pretty bad Simon Says behavior. It doesn't help that the Javadoc for the Apache CatalogManager isn't itself explicit that the catalog files property is in fact URLs, not OS-specific file paths. Cheers, E. Eliot Kimber, Owner Contrext, LLC http://contrext.com On 3/13/16, 5:19

Re: [basex-talk] Catalog Resolution Under Windows

2016-03-13 Thread Eliot Kimber
This code would fail to construct a good Windows file: URL because it misses out the "/" after the "file:". Cheers, E. Eliot Kimber, Owner Contrext, LLC http://contrext.com On 3/14/16, 5:02 AM, "Kendall Shaw" wrote: >I remember trying to figure out if

Re: [basex-talk] Catalog Resolution Under Windows

2016-03-21 Thread Eliot Kimber
uot;/" before passing the value to the catalog manager. Cheers, E. Eliot Kimber, Owner Contrext, LLC http://contrext.com On 3/21/16, 7:46 AM, "Christian Grün" wrote: >Hi Eliot, > >I spent some time to find out what might have gone wrong in your >scenario. I c

Re: [basex-talk] XLSX to XML

2016-04-11 Thread Eliot Kimber
pache POI project provides pretty robust Java code reading and writing Office documents including Excel files. It should be relatively easy to use it from BaseX as a Java extension. Cheers, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com On 4/11/16, 6:00 AM, "Florian Eck

[basex-talk] Possible to Access Environment Variables from XQuery?

2017-03-25 Thread Eliot Kimber
from XQuery. Is there a built-in way to do this? Thanks, Eliot -- Eliot Kimber http://contrext.com

Re: [basex-talk] Possible to Access Environment Variables from XQuery?

2017-03-25 Thread Eliot Kimber
Thanks—it never occurred to me this would be a built-in function of XQuery 3. Cheers, E. -- Eliot Kimber http://contrext.com On 3/25/17, 7:05 PM, "Christian Grün" wrote: Hi Eliot, fn:environment-variable should do the job; proc:property [1] can be used to acc

[basex-talk] Basex Docker Container: How to Control Options

2017-03-26 Thread Eliot Kimber
Web apps to work. Thanks, Eliot -- Eliot Kimber http://contrext.com

Re: [basex-talk] Basex Docker Container: How to Control Options

2017-03-26 Thread Eliot Kimber
B-INF/web.xml Creating /srv/BaseXWeb/WEB-INF/jetty.xml I think this Unknown option this is actually an issue with the file itself but I don’t recall what the exact cause and/or solution was. Cheers, E. -- Eliot Kimber http://contrext.com On 3/26/17, 1:40 PM, "Eliot Kimber" wrote:

Re: [basex-talk] Basex Docker Container: How to Control Options

2017-03-26 Thread Eliot Kimber
: Unknown option 'CHOP'. /srv/.basex: writing new configuration file. Note that it’s only complaining about DTD, CATFILE, SKIPCORRUPT, and CHOP, but not DBPATH, REPOPATH, and WEBPATH. I tried reordering things, no difference in result (but the messages reflect the order chan

Re: [basex-talk] Basex Docker Container: How to Control Options

2017-04-01 Thread Eliot Kimber
options mechanism deisgn. Cheers, Eliot -- Eliot Kimber http://contrext.com On 3/26/17, 10:20 PM, "Eliot Kimber" wrote: I found my original mail thread from January 2016: https://mailman.uni-konstanz.de/pipermail/basex-talk/2016-January/010171.html Basicall

Re: [basex-talk] Basex Docker Container: How to Control Options

2017-04-01 Thread Eliot Kimber
specify these options at document load time? Cheers, E. -- Eliot Kimber http://contrext.com On 4/1/17, 10:23 PM, "Eliot Kimber" wrote: I dug into the code and I think this is a code bug but I don’t understand the overall flow well enough to know where the bug is, but I susp

Re: [basex-talk] Basex Docker Container: How to Control Options

2017-04-02 Thread Eliot Kimber
uot; That seems to work. I guess I could also set this environment variable in my docker-compose.yml file, although except for CATFILE, these are invariant for this application. Cheers, E. -- Eliot Kimber http://contrext.com On 4/1/17, 10:44 PM, "Eliot Kimber" wrote: Perhaps a

Re: [basex-talk] Basex Docker Container: How to Control Options

2017-04-02 Thread Eliot Kimber
Yes, the options were at the end. But looking at the code I don’t see how that could have mattered. Perhaps I missed a detail? Cheers, E. -- Eliot Kimber http://contrext.com From: Christian Grün Date: Sunday, April 2, 2017 at 11:38 AM To: Eliot Kimber Cc: "basex

Re: [basex-talk] Basex Docker Container: How to Control Options

2017-04-02 Thread Eliot Kimber
ised Wiki makes this more obvious [1]. Best, Christian [1] http://docs.basex.org/wiki/Options On Sun, Apr 2, 2017 at 12:45 PM, Eliot Kimber wrote: > Yes, the options were at the end. But looking at the code I don’t see how > that could have ma

[basex-talk] Approximating ML's Reverse Queries Mechanism?

2017-05-23 Thread Eliot Kimber
process in general, but there must be well-understood strategies. I suspect that one could build the equivalent of ML’s reverse query index in BaseX. 2. Is there a direct equivalent to ML’s reverse query facility in BaseX or an obvious route to building one? Thanks, Eliot -- Eliot Kimber http

[basex-talk] 9.0.1: High Memory Usage Loading Docs Via GUI

2018-05-04 Thread Eliot Kimber
;s an issue with memory on macOS or with DITA documents in particular (the DITA DTDs are notoriously large)? Should I expect BaseX to be able to load this kind of corpus with 14GB of RAM? Cheers, E. -- Eliot Kimber http://contrext.com

  1   2   3   >