fn:doc-available()
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
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
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
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
Written for BaseX 7.8. BaseX may have changed since: please check the current documentation.