Re: [basex-talk] BaseX setup under Docker

2019-01-19 Thread Wendell Piez
Alex, thanks for confirming, that is awesome, I'll keep my eye open for the edits. Thanks, Wendell On Fri, Jan 18, 2019 at 4:18 PM Alexander Holupirek wrote: > > > > On 18. Jan 2019, at 22:10, Wendell Piez wrote: > > > > Hello BaseX friends, > > > > S

[basex-talk] BaseX setup under Docker

2019-01-18 Thread Wendell Piez
need be, to add the saxon.jar ... Thanks for any hints. relevant tips or links to Docker help :-) Regards, Wendell -- Wendell Piez | wendell -dot- piez -at- nist -dot- gov | http://www.wendellpiez.com pellucidliterature.org | github.com/wendellpiez | gitlab.coko.foundation/wendell - pausepress.org

Re: [basex-talk] BaseX in maven

2015-02-12 Thread Wendell Piez
know. > > And sorry about being pedantic on using the mailing list. But I truly > think many people stumble onto the problems faced with project setup and > Maven usage, so I think these people can benefit. > > I hope this helps. > > Cheers > Dirk > > On 02/04/2015

Re: [basex-talk] BaseX in maven

2015-02-11 Thread Wendell Piez
31 PM, Christian Grün wrote: > Hi Wendell, > > I haven't done this by myself (personally, I tend to work with the > start scripts), but if you decide to do everything with Maven, it's > surely an option to do so! > > Cheers, > Christian > > > On Wed, Feb 11, 2

Re: [basex-talk] BaseX in maven

2015-02-11 Thread Wendell Piez
gt; > > The default is to use the data/ directory of the directory where the pom.xml > file is located. > > Happy to help and to answer more questions. Maybe we can actually use this > and write down some Maven+BaseX Getting started guide in our documentation. > > Cheers, &

Re: [basex-talk] BaseX in maven

2015-02-08 Thread Wendell Piez
ur article on Maven [1], and add the > missing pieces! > > All the best, > Christian > > [1] http://docs.basex.org/wiki/Maven > > > On Sun, Feb 8, 2015 at 10:54 PM, Wendell Piez wrote: >> Hi again Dirk, >> >> This is excellent, thanks for helping me alo

Re: [basex-talk] BaseX in maven

2015-02-08 Thread Wendell Piez
;/> > > or in the web.xml using > > > org.basex.dbpath > your/db/path > > > The default is to use the data/ directory of the directory where the pom.xml > file is located. > > Happy to help and to answer more questions. Maybe we can actually use t

Re: [basex-talk] BaseX in maven

2015-02-07 Thread Wendell Piez
hink we use them at all. I > don't have much knowledge about them (also about Maven, I just use it as > a tool, but I am always amazed how complex it is), but I guess we would > have to write same sample archetypes for them - Which we didn't, as far > as I know. > > And sor

Re: [basex-talk] BaseX in maven

2015-02-04 Thread Wendell Piez
stems and screens as speedily as possible. Thanks again, Wendell On Wed, Feb 4, 2015 at 12:36 PM, Wendell Piez wrote: > Dear Christian, > > Absolutely, the BaseX wiki page helps. > > The one thing I am stuck on is the selection of the Maven archetype. I > vaguely get that it

Re: [basex-talk] BaseX in maven

2015-02-04 Thread Wendell Piez
hould add)? > > It's absolutely ok to run BaseX without Maven. The easiest thing is to > use the zip file and start "basexhttp" (see e.g. [2] for more > information). > > Best, > Christian > > [1] http://docs.basex.org/wiki/Maven > [2] http://docs.basex

Re: [basex-talk] BaseX in maven

2015-02-03 Thread Wendell Piez
, Wendell On Tue, Feb 3, 2015 at 4:47 PM, Wendell Piez wrote: > Dear Christian and Dirk, > > For all us Maven innoscenti, I wonder if you could recommend which > maven archetype one should use when getting started running BaseX? > (Any guidance or resource appreciated.) &g

Re: [basex-talk] BaseX in maven

2015-02-03 Thread Wendell Piez
org.basex >> basex-api >> 7.9 >> >> >> >> >> >> For Saxon, if you have the jar file in your lib you should be good to go >> (are you sure however that you included it via maven). Should be somethin >> like that as depende

Re: [basex-talk] Linux lessons

2015-01-19 Thread Wendell Piez
ll be interpreted as JVM argument. > > 8.0 is still not a stable release, so switching to it has the usual risk of > using beta software. I think it is about to be release align with XML Prague, > so it shouldn't be long until it is out. > > Cheers, > Dirk > > On 0

Re: [basex-talk] Linux lessons

2015-01-18 Thread Wendell Piez
projects this way you could write a little script which does this for > you. Perfect. (I am now seeing what to educate myself on. :-) Will this also work with BaseX 7.9 or what would be an alternative, if $BASEX_JVM is not available? (Or is it time to switch to 8.0?) Cheers, Wendell -- Wen

Re: [basex-talk] Linux lessons

2015-01-18 Thread Wendell Piez
Dirk thanks! this is immensely helpful. Of course I should always cc: the list. :-) Cheers, Wendell On Mon, Jan 12, 2015 at 3:57 AM, Dirk Kirsten wrote: > Hi Wendell, > > On 01/10/2015 10:31 PM, Wendell Piez wrote: >> Hi Dirk, >> >> I am still looking at this - I

[basex-talk] BaseX in maven

2015-01-18 Thread Wendell Piez
BaseX friends, If I run BaseX from Maven, do I always get to use the latest BaseX? Do I have to do anything special to set up BaseX in Maven to use SaxonHE instead of Xalan for xslt:transform()? (I have Saxon9he.jar in my BaseX lib.) Thanks! Wendell -- Wendell Piez | http

Re: [basex-talk] Linux lessons

2015-01-07 Thread Wendell Piez
Hi again, Correction: of course, under the "composite" path, neither path works. Perhaps BaseX can only have a single RestXQ directory at a time? Thanks again for your patience with me. :-) Cheers, Wendell On Wed, Jan 7, 2015 at 5:29 PM, Wendell Piez wrote: > Dear BaseX peopl

[basex-talk] Linux lessons

2015-01-07 Thread Wendell Piez
shell script have to call Java or can I use the scripts in the basex/bin and pass in a value somehow)? In general, what recommendations can you offer for no-fuss configuration of RestXQ for separate projects? Thanks! Wendell -- Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic

Re: [basex-talk] Serializing unescaped xml to string

2013-12-06 Thread Wendell Piez
nt. When using the text output method it comes out as XML (because it's already been serialized). When using the XML output method, it comes out escaped (as it should be). Cheers, Wendell Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing

Re: [basex-talk] parse-xml removes CDATA in text content

2013-10-24 Thread Wendell Piez
y I don't see any reason why it should not perform as well: won't the call to parse the string as XML take just as long as the bare XQuery syntax parse, which is happening in any case? (Of course I have no measurements.) Cheers, Wendell Wendell Piez | http://www.wendellpie

Re: [basex-talk] do not interpret text nodes as embedded expressions (Expecting '}' but found...)

2013-10-18 Thread Wendell Piez
Erdal, Escaping the curly braces by doubling them would be the "normal" way. You ask for a better way; can you be more specific as to what needs to be improved? Would this be an improvement? let $expr := 'main(){int i=0;}' let $x := doc({ $expr }) return ... Cheers, Wendell

[basex-talk] Caching RestXQ responses

2013-09-23 Thread Wendell Piez
sibilities? Is it a Jetty thing? Any advice in general, or links I can go to learn about this? Thanks, Wendell Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables _oo_o_o___oooo_^ ___

Re: [basex-talk] Mistaken order?

2013-09-02 Thread Wendell Piez
Dear Arve, Ouch! The behavior is indeed as expected in 7.7. It is unexpected (and non-conformant) in 7.7 beta. The saddest thing is that I have 7.7 installed and could have tried it there before posting. :-( Cheers, Wendell Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic

[basex-talk] Mistaken order?

2013-09-01 Thread Wendell Piez
e what I expect. Where am I going wrong, or is this a bug? Cheers, Wendell Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables _oo_o_o___oooo_^ ___ BaseX-Talk mailing list

Re: [basex-talk] Efficiencies for batching

2013-08-13 Thread Wendell Piez
is as efficient as possible (avoiding known impediments) even before performance testing at scale. Thanks, Wendell Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables _oo_o_o___oooo_^ On Tue, Aug 13, 2013 at 12:42 PM, Christ

[basex-talk] Efficiencies for batching

2013-08-13 Thread Wendell Piez
nce from a sequence. What's my best approach to this in BaseX? Thanks, Wendell For example, XQuery 3.0 has tumbling windows. Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables _oo_o_o___oo

[basex-talk] Binding variables in scripts (bxs)

2013-06-11 Thread Wendell Piez
nks as ever, Wendell -- Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables _oo_o_o___oooo_^ ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz

Re: [basex-talk] Using an XSD with BaseX (to provide extra type information)

2013-05-30 Thread Wendell Piez
>> >> ___ >> BaseX-Talk mailing list >> BaseX-Talk@mailman.uni-konstanz.de >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > ___ > BaseX-Talk mailing l

Re: [basex-talk] Fwd: whitespace around comments

2013-04-18 Thread Wendell Piez
gt;>>> significant - that is only possible if there's a DTD and the space is in >>>> a context where only elements would be valid, not #PCDATA. There's no >>>> formal specification, although constructing an XDM instance from an >>>>

Re: [basex-talk] Running and configuring update operations outside the GUI

2013-04-17 Thread Wendell Piez
is would avoid the precious cost of an useless intermediate data extraction. > > Best regards, > Fabrice > Questel-Orbit > > > -Message d'origine- > De : basex-talk-boun...@mailman.uni-konstanz.de > [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la pa

[basex-talk] Running and configuring update operations outside the GUI

2013-04-16 Thread Wendell Piez
psulate the updating logic and also make it configurable externally like this? And run it from the command line or a script for speed and efficiency? Thanks, Wendell -- Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables

[basex-talk] Fwd: whitespace around comments

2013-04-16 Thread Wendell Piez
Oops -- just sent this to Christian only, when it was meant for the list -- -- Forwarded message -- From: Wendell Piez Date: Tue, Apr 16, 2013 at 11:15 AM Subject: Re: [basex-talk] whitespace around comments To: Christian Grün Hi, Thanks to Cerstin for once again urging that

Re: [basex-talk] re-sort database

2013-03-13 Thread Wendell Piez
_ > > On Wed, Mar 13, 2013 at 3:20 PM, Wendell Piez wrote: >> Christian, >> >> Alternatively, would this be a place one could use a 3.0 window clause? >> >> This raises a related question. I have seen a big boost on performance >> when

Re: [basex-talk] re-sort database

2013-03-13 Thread Wendell Piez
z >> >> Tel: +41 61 267 07 65 >> Fax: +41 61 267 34 40 >> Mail: cerstin.mah...@unibas.ch >> Web: http://www.oldphras.net >> >> ___ >> BaseX-Talk mailing list >> BaseX-Talk@mailman.uni-konstanz.de >>

Re: [basex-talk] Setting up RESTXQ in more than one place

2013-03-02 Thread Wendell Piez
what happens). I’m not > 100% sure what you are after here.. What’s the main reasons for not > leaving all RESTXQ files in the restxq (sub)directories? -- Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables _oo_o_o___oooo_^

Re: [basex-talk] Whitespace anomaly running XSLT from BaseX

2013-03-01 Thread Wendell Piez
; return (# db:chop "no" #) { > xslt:transform($xml,$xslt) > } > > Hope this helps, > Christian > > [1] http://docs.basex.org/wiki/Options > _______ > > On Fri, Mar 1, 2013 at 3:18 PM, Wendell Piez wrote: >>

Re: [basex-talk] Setting up RESTXQ in more than one place

2013-03-01 Thread Wendell Piez
question in my mind is how portable symlinks are across operating systems, but I have hopes as long as everything is NTFS, right? I'm sure you and many readers of this list know the answer to that question, and in any case one can always try.) Thanks again, Wendell -- Wendell Piez |

Re: [basex-talk] Whitespace anomaly running XSLT from BaseX

2013-03-01 Thread Wendell Piez
_____ > > On Thu, Feb 28, 2013 at 9:05 PM, Wendell Piez wrote: >> Hi again, >> >> Sorry if I wasn't clear enough. The XSLT is not in the database; it is >> called from the file system. >> >> I just checked, and I'm seeing the same behavior whether th

Re: [basex-talk] Whitespace anomaly running XSLT from BaseX

2013-02-28 Thread Wendell Piez
e GUI, everything is fine. Cheers, Wendell On Thu, Feb 28, 2013 at 12:18 PM, Dirk Kirsten wrote: > Hello, > > Please take a look at the CHOP database option, I guess that will fix it: > http://docs.basex.org/wiki/Options#CHOP > > Cheers, > Dirk > > > On T

[basex-talk] Whitespace anomaly running XSLT from BaseX

2013-02-28 Thread Wendell Piez
d trailing whitespace trimmed). But I can't duplicate this behavior running BaseX from the GUI. I am sure there is a 'trim' or 'chop' setting somewhere that is allowing this, but I don't know where to look. Any ideas? Thanks, Wendell -- Wendell Piez | http://www

[basex-talk] Setting up RESTXQ in more than one place

2013-02-27 Thread Wendell Piez
ndell -- Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables _oo_o_o___oooo_^ ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/

Re: [basex-talk] RestXQ parameter matching

2013-02-27 Thread Wendell Piez
how the standard evolves. >> >> Best, >> Christian >> ___ >> >> On Tue, Feb 26, 2013 at 11:20 PM, Wendell Piez >> wrote: >>> >>> Christian, >>> >>> Ah, how ... non-obvious. "Path segment." :->

Re: [basex-talk] RestXQ parameter matching

2013-02-26 Thread Wendell Piez
>> Thanks, >> Wendell >> >> -- >> Wendell Piez | http://www.wendellpiez.com >> XML | XSLT | electronic publishing >> Eat Your Vegetables >> _oo_o_o___oooo_^ >> ___ >> BaseX-T

[basex-talk] RestXQ parameter matching

2013-02-26 Thread Wendell Piez
"testing.html". Any clue as to what I'm doing wrong? Thanks, Wendell -- Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables _oo_o_o___oooo_^ ___ BaseX-Talk mailing lis

Re: [basex-talk] Whitespace handling on ingest

2013-02-22 Thread Wendell Piez
o prepare the data and delete > it afterwards. > > Comments are welcome, > Christan > ___ > > On Wed, Feb 20, 2013 at 5:35 PM, Wendell Piez wrote: >> Hi, >> >> I see the 'CHOP' option, turned on by default, for trimming lea

[basex-talk] Whitespace handling on ingest

2013-02-20 Thread Wendell Piez
l would be welcome. Thanks! Wendell -- Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables _oo_o_o___oooo_^ ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://m

Re: [basex-talk] path index does not seem to be used

2013-02-14 Thread Wendell Piez
ing STRIPNS to true or selecting the corresponding checkbox > in the Parsing tab of the create dialog. Thanks, we are now doing this. Cheers, Wendell -- Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables _oo_o_o___oooo_^

Re: [basex-talk] path index does not seem to be used

2013-02-11 Thread Wendell Piez
ntation? Or more generally, can you offer any advice for how I should (a) detect related issues, and (b) deal with them? Scrubbing the data on the way in may be an option. Should I be considering that? Thanks, Wendell -- Wendell Piez | http://www.wendellpiez.com XML | XSLT | electr

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

2013-01-28 Thread Wendell Piez
eries like this; maybe they have just never thought about it, or they don't know what text() actually does. In any case, the error is pernicious, since nothing tells you the query you gave isn't the one you intended -- it even works, until the day it doesn't, and the ca

[basex-talk] URI resolver when calling XSLT

2013-01-28 Thread Wendell Piez
> https://github.com/BaseXdb/basex/blob/master/src/main/java/org/basex/query/func/FNValidate.java#L95 > [2] > https://github.com/BaseXdb/basex/blob/master/src/main/java/org/basex/query/func/FNValidate.java#L183 > _______ > BaseX-Talk mailing lis