I would like to propose to change the default behaviour of the
resource-exists selector re testing the path relative to the sitemap from it's being called.
Done! Long time ago. status.xml:
<action dev="VG" type="update">
ResourceExistsSelector now works the same way as ResourceExistsAction does.
It can now detect existence of any Cocoon resource, not only files
in context.
Default value for prefix was changed from '/' to ''. For old
behavior, use prefix
'context://'.
</action>
ResourceExistsSelector.java:
* <p><b>NOTE:</b> * Provided resource URI is resolved as Source, relative to the current * sitemap, which differs from behavior of selector in previous versions. * To resolve resource paths relative to the context root, provide prefix * parameter: * <pre> * <map:parameter name="prefix" value="context://"/< * </pre>
Vadim
