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 the chapter on validation

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 simp

[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 reso

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 wrote: > The issue was en

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 value

Re: [basex-talk] Catalog Resolution Under Windows

2016-03-21 Thread Christian Grün
Hi Eliot, I spent some time to find out what might have gone wrong in your scenario. I created a little, self-contained BaseX command script, which seems to work out of the box with Windows. Could you please give it a try and modify it such that I can see what goes wrong? You can change the value

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

2016-03-21 Thread Amanda Galtman
Christian, Thank you! I hope you enjoyed your time off. Regards, Amanda > -Original Message- > From: Christian Grün [mailto:christian.gr...@gmail.com] > Sent: Monday, March 21, 2016 6:31 AM > To: Amanda Galtman > Cc: basex-talk@mailman.uni-konstanz.de > Subject: Re: [basex-talk] Standa

[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 cal

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 contents of my script were rel