cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Romayev <>
Subject ResourceExistsAction Windows vs Linux?
Date Mon, 14 Apr 2003 14:31:48 GMT

I'm using ImageDirectoryGenerator to generate xml for
my images.  The image files are located in htdocs
directory outside of Cocoon's context.  Before I try
to generate the images, I need to test if the
directory actually exist (otherwise
ImageDirectoryGenerator will throw an error).  For
some reason, the following sitemap works fine on
Win2K, however on Linux, the ResourceExists always
returns true, independent of whether it's actually
there or not.

Here is the relevant sitemap:


<map:match pattern="events/event-images.resource">
  <map:act type="resource-exists"
    <map:generate type="imagedirectory"
    <map:serialize type="xml"/>
  <map:serialize type="xml"/>

Any ideas?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message