Re: [basex-talk] using Xerces2 with schema-validation

2016-03-21 Thread Christian Grün
Hi Rob, it seems you forgot the version argument? Cheers, Christian On Mon, Mar 21, 2016 at 12:06 PM, Rob Stapper wrote: > Hi, > > > > I would like to use xerces2 for schema-validation. See attached file, but I > can’t get it activated from within BaseX. > > I’ve read

Re: [basex-talk] fn:normalize-space question, BaseX v8.4.1

2016-03-21 Thread Christian Grün
Hi Bridger, Thanks for your mail. It’s just a guess, but I assume that this is due to whitespace chopping, which is enabled by default in BaseX [1,2]. This default may be a little unfortunate, in particular for mixed-content, but it was introduced at a very early stage, and it’d be tricky to

[basex-talk] fn:normalize-space question, BaseX v8.4.1

2016-03-21 Thread Bridger Dyson-Smith
Hi all, I'm running into what looks some odd behavior with fn:normalize-space -- or a gross user/operator error :) -- and was hoping to get some clarification. I've attached a Very Simple Sample Query, as well as an example input document. Note: I'm using BaseX as a query processor, not as a db,

Re: [basex-talk] Parsing XML within string constructors

2016-03-21 Thread Christian Grün
Hi Tim, > The following three expressions illustrate the difference. Numbers 2 and 3 > return parsed XML, whereas number 1 returns the original, unparsed string. > Is this the expected behavior when using string constructors? Yes, this is how it should be. With plain quotes, entities will be

Re: [basex-talk] Catalog Resolution Under Windows

2016-03-21 Thread Christian Grün
Hi Eliot, Thanks for the swift response. Interestingly, I can use a loca, absolute file path for CATFILE and Windows (10), and it works perfectly for me. Did you possibly have a look at the .bxs example? Cheers, Christian On Mon, Mar 21, 2016 at 2:03 PM, Eliot Kimber

Re: [basex-talk] Catalog Resolution Under Windows

2016-03-21 Thread Eliot Kimber
The issue was entirely the syntax of the URL for the catalog file. Once I used "file:/c:/foo/bar/catalog-dita.xml" then it worked reliably. The catalog resolver requires a URL and unless I was looking at the wrong BaseX code there was nothing in there to correct "\" to "/" before passing the

[basex-talk] using Xerces2 with schema-validation

2016-03-21 Thread Rob Stapper
Hi, I would like to use xerces2 for schema-validation. See attached file, but I can't get it activated from within BaseX. I've read the chapter on validation [1] and followed the instructions : copying the 4 files to the library. I can see that these 4 file are part of the -cp option when

Re: [basex-talk] Standalone RUN for .bxs file not working in version 8.4

2016-03-21 Thread Christian Grün
Hi Amanda, Back again… The issue you reported is fixed. The new snapshot is available in a few minutes [1]. Thanks Christian [1] http://files.basex.org/releases/latest/ On Fri, Mar 11, 2016 at 7:56 PM, Amanda Galtman wrote: > Hi Christian, > > It turns out the