Re: util:get-file-contents with Cocoon2.1-dev

2001-07-19 Thread Arnaud Bienvenu
On Wed, Jul 18, 2001 at 10:40:22AM -0700, Davanum Srinivas wrote: > Try the latest Code from CVS. > - Made the encoding attribute optional. Thanks for replying so fast, this works fine ! > - Fixed relative path problem. (if you specify just "data.txt" it will look under >cocoon directory > for

Re: util:get-file-contents with Cocoon2.1-dev

2001-07-18 Thread Davanum Srinivas
Arnaud, Try the latest Code from CVS. - Made the encoding attribute optional. - Fixed relative path problem. (if you specify just "data.txt" it will look under cocoon directory for it). Note that the IOException is thrown by design. The LogicSheet should not "hide" this exception. Thanks, dim

util:get-file-contents with Cocoon2.1-dev

2001-07-18 Thread Arnaud Bienvenu
Trying to use on Cocoon2.1-dev (cvs updated today), I noticed three problems : - You must specify the encoding attribute, or go to hell - You must catch the java.io.IOException, or apply the patch I made for util.xsl - You must use absolute path for the name of the file Since I'm a beginner with