cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Williams <>
Subject File generator resolves to root context with empty src attribute
Date Tue, 28 Jun 2005 13:01:51 GMT
When passing an empty string/null value to a file generator's "src"
attribute, it seems to resolve to the root context (sitemap

For example,
<map:match pattern="**tab-*.html">
  <map:select type="exists">
    <map:when test="{project:content.xdocs}tabs.xml">
         <map:generate src="{project:content.xdocs}tabs.xml"/>
       <map:generate src="{lm:tabs.xml}"/>

In the above snippet, {lm:tabs.xml} returns null but the generator
resolves to (on my box) "C:\src\apache-forrest-lm\main\webapp" which
throws an Access Denied exception.  What I would have expected is a
SourceNotFoundException because, after all, an empty source couldn't
be found.  Is this behavior intentional? a bug?


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

View raw message