fn:doc-available()

Tuesday, 18 February 2014 · 4 messages · last reply 19 Feb 2014
HR
Hans-Juergen Rennau18 Feb 2014 22:26 #

Dear BaseX team,

I am puzzled by the behaviour of fn:doc-available when applied to a zip file:

doc-available('/user/xsd/niem-2.1.zip')

yields this error: [BXDB0006] Database path '/user/xsd/niem-2.1.zip' yields no documents.

Kind regards, Hans-Juergen

CG
Christian Grün18 Feb 2014 23:50 #

Hi Hans-Jürgen,

Quoted text · Hans-Juergen Rennau · 6 lines
> I am puzzled by the behaviour of fn:doc-available when applied to a zip file: > > doc-available('/user/xsd/niem-2.1.zip') > > yields this error: > [BXDB0006] Database path '/user/xsd/niem-2.1.zip' yields no documents.

I tried to reproduce this behavior; could you please tell me what configuration (created databases, available files) is required to trigger this error?

Thanks, Christian

CG
Christian Grün19 Feb 2014 18:40 #

The problem has been fixed in the latest snapshot.

Thanks, Christian

Quoted text · Christian Grün · 17 lines
On Tue, Feb 18, 2014 at 11:50 PM, Christian Grün <christian.gruen at gmail.com> wrote: > Hi Hans-Jürgen, > >> I am puzzled by the behaviour of fn:doc-available when applied to a zip file: >> >> doc-available('/user/xsd/niem-2.1.zip') >> >> yields this error: >> [BXDB0006] Database path '/user/xsd/niem-2.1.zip' yields no documents. > > I tried to reproduce this behavior; could you please tell me what > configuration (created databases, available files) is required to > trigger this error? > > Thanks, > Christian
HR
Hans-Juergen Rennau19 Feb 2014 21:14 #

Cordial thanks, Christian! Hans-Juergen

--------------------------------------------

Quoted text · Christian Grün · 1 line
Christian Grün <christian.gruen at gmail.com> schrieb am Mi, 19.2.2014:

Betreff: Re: [basex-talk] fn:doc-available() An: "Hans-Juergen Rennau" <hrennau at yahoo.de> CC: "BaseX" <basex-talk at mailman.uni-konstanz.de> Datum: Mittwoch, 19. Februar, 2014 18:40 Uhr

The problem has been fixed in the latest snapshot.

Thanks, Christian

On Tue, Feb 18, 2014 at 11:50 PM, Christian Grün <christian.gruen at gmail.com>

Quoted text · Christian Grün · 4 lines
wrote: > Hi Hans-Jürgen, > >> I am puzzled by the behaviour of fn:doc-available

when applied to a zip file:

Quoted text · Christian Grün · 5 lines
>> >> doc-available('/user/xsd/niem-2.1.zip') >> >> yields this error: >> [BXDB0006] Database path '/user/xsd/niem-2.1.zip'

yields no documents.

Quoted text · Christian Grün · 9 lines
> > I tried to reproduce this behavior; could you please tell me what > configuration (created databases, available files) is required to > trigger this error? > > Thanks, > Christian

⚡Generated with XQuery