From: Fabian K. <koe...@fa...> - 2012-07-16 08:34:35
|
Hi, > On Sun, Jul 15, 2012 at 9:28 PM, Dannes Wessels <da...@ex...> > wrote: > > > according to the documentation it has been renamed t, check > > http://localhost:8080/exist/xquery/functions.xql > > > > the reason is to have it *consistent *with the 1.5/2.0/2.1/trunk > > releases > > > > On Sunday, July 15, 2012 at 21:06 , Fabian Köster wrote: > > > > I am using the directory-list function [2] from file module in my > > XQuery-code and it worked fine with eXist 1.4.1. > > > > I recently upgraded to version 1.4.2 and it does not work anymore, I > > get the following error: > > > > > > > we should have kept the old function there, maybe, but the code was > rather...... open for improvements, which I implemented :-) Yes, you should. It is a very bad idea to change the API between two stable minor releases! Especially if it is not mentioned by any word in the release notes [1]. Maybe you should add a hint there. Nevertheless, thank you for your help! I re-implemented my code to use file:list, which has a different syntax, functionality and output. Regards, Fabian [1] http://atomic.exist-db.org/blogs/eXist/Announcement142 |