Hi folks,
I tried to compile the following (dummy) pipeline with Cocoon 2.0.4 :
...
 <map:resources>
    <map:resource name="test">
        <map:serialize/>
    </map:resource>
</map:resources>
...
<map:pipeline>
        <map:match pattern="dummy">
                <map:generate src="dummy.html"/>        
                <map:serialize/>
        </map:match>
        
        <map:handle-errors>
                <map:transform src="stylesheets/system/error2html.xsl"/>
                <map:call resource="test"/>
        </map:handle-errors>
        
</map:pipeline>

The compilation of the sitemap failed with the following message :
Exception: org.apache.cocoon.components.language.LanguageException: Error compiling 
proxy_xmap: Line 829, column 91: variable cocoon_view not found in class 
org.apache.cocoon.www.proxy_xmap Line 0, column 0: 1 error 

If I replace the map:call by a map:serialize, the compilation works fine.
Is it forbidden to use resource inside an error handler ?
Thanks for your help.

Gabriel

PS : I'm using 2.0.4 on Tomcat 3.3.1a with SUN jdk 1.4.0 on W2k

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to