REST "directory" listing

Tuesday, 18 September 2012 · 3 messages
B
basex18 Sep 2012 10:24 #

Hi @all,

since BaseX 7.3 it seems there ist no more resource listing of sub paths of a database

http://localhost:8984/rest/factbook/tmp [1]

as example won't work

There will be an error like

Name 'factbook/tmp' is invalid.

Listing in http://localhost:8984/rest/factbook/ [2] shows the path and it's contents

factbook.xml tmp/factbook.xml

in BaseX7.2 the listing of paths was possible

Regards

Marcus

Links: ------ [1] http://localhost:8984/rest/factbook/tmp [2] http://localhost:8984/rest/factbook/tmp

CG
Christian Grün18 Sep 2012 12:26 #

Hi Marcus,

thanks for your feedback. This may be related to the 7.3 release. Could you please try the latest stable BaseX 7.5 snapshot [1] and give us some quick feedback?

7.5 will be released the end of September.

Christian

[1] http://files.basex.org/releases/latest/

Quoted text · basex · 42 lines
On Tue, Sep 18, 2012 at 10:24 AM, <basex at phpexpert.net> wrote: > Hi @all, > > since BaseX 7.3 it seems there ist no more resource listing of sub paths of > a database > > http://localhost:8984/rest/factbook/tmp > > as example won't work > > There will be an error like > > Name 'factbook/tmp' is invalid. > > Listing in http://localhost:8984/rest/factbook/ shows the path and it's > contents > > > <rest:database xmlns:rest="http://basex.org/rest" name="factbook" > resources="2"> > <rest:resource typ="xml" content-type="application/xml" > größe="77192">factbook.xml</rest:resource> > <rest:resource typ="xml" content-type="application/xml" > größe="77192">tmp/factbook.xml</rest:resource> > </rest:database> > > in BaseX7.2 the listing of paths was possible > > > > Regards > > > > Marcus > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
CG
Christian Grün18 Sep 2012 13:15 #

…the issue has been fixed in the latest snapshot [1]. It was related to the syntax change of the LIST command [2], which expects two instead of one argument since 7.3.

Thanks again for reporting, Christian

[1] http://files.basex.org/releases/latest/ [2] http://docs.basex.org/wiki/Commands#LIST

Quoted text · Christian Grün · 57 lines
On Tue, Sep 18, 2012 at 12:26 PM, Christian Grün <christian.gruen at gmail.com> wrote: > Hi Marcus, > > thanks for your feedback. This may be related to the 7.3 release. > Could you please try the latest stable BaseX 7.5 snapshot [1] and give > us some quick feedback? > > 7.5 will be released the end of September. > > Christian > > [1] http://files.basex.org/releases/latest/ > ___________________________ > > On Tue, Sep 18, 2012 at 10:24 AM, <basex at phpexpert.net> wrote: >> Hi @all, >> >> since BaseX 7.3 it seems there ist no more resource listing of sub paths of >> a database >> >> http://localhost:8984/rest/factbook/tmp >> >> as example won't work >> >> There will be an error like >> >> Name 'factbook/tmp' is invalid. >> >> Listing in http://localhost:8984/rest/factbook/ shows the path and it's >> contents >> >> >> <rest:database xmlns:rest="http://basex.org/rest" name="factbook" >> resources="2"> >> <rest:resource typ="xml" content-type="application/xml" >> größe="77192">factbook.xml</rest:resource> >> <rest:resource typ="xml" content-type="application/xml" >> größe="77192">tmp/factbook.xml</rest:resource> >> </rest:database> >> >> in BaseX7.2 the listing of paths was possible >> >> >> >> Regards >> >> >> >> Marcus >> >> >> _______________________________________________ >> BaseX-Talk mailing list >> BaseX-Talk at mailman.uni-konstanz.de >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >>

⚡Generated with XQuery