From: Joe W. <jo...@gm...> - 2010-01-21 17:55:52
|
Hi Leif-Jöran, Fantastic! Thank you so much for committing these changes! Joe On Thu, Jan 21, 2010 at 12:24 PM, Leif-Jöran Olsson <lj...@ex...> wrote: > Den 2010-01-17 23:13, Joe Wicentowski skrev: >> >> Hi Leif-Jöran, > >> Ah, I see! I just tested and confirmed that >> xmldb:collection-available() does work when you use the XMLDB URI, >> e.g. >> >> xmldb:collection-available('xmldb:exist:///db/test') > > Added a test for this and changed the documentation to reflect the actual > state. > >> However, for xmldb:reindex(), I think it's more than a question of the >> function documentation. The function won't work if you use XMLDB URIs >> >> xmldb:login('xmldb:exist:///db/', 'admin', ''), >> xmldb:reindex('xmldb:exist:///db/test') >> >> This returns true() for the first expression and false() for the 2nd, >> while using '/db/test' returns true() for both. >> >> If this is confirmed, would it be possible to add the option to use >> XMLDB URIs with xmldb:reindex()? > > Yes, now it does. Documentation is changed to reflect the new state. > > Cheers, > Leif-Jöran > > |