cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: pipeline error can't find it
Date Wed, 07 May 2003 16:35:09 GMT
Lionel Crine wrote:

> here is the pipeline :
>
>       <map:match pattern="setdocument/*">
>        <map:act type="ActionUnlock" src="{1}.xml">
>           <map:call resource="cocoon:/../modify_status">
>             <map:parameter name="file" value="{../../1}" />
>           </map:call>
>          <map:act type="IXIASOFTActionSetDocument" src="{../1}.xml">
>            <map:redirect-to uri="../doc_set-xml" />
>           </map:act>
>         <map:redirect-to uri="../doc_unlocked-xml" />
>         </map:act>
>         <map:redirect-to uri="../doc_locked-xml" />
>       </map:match>
>
> the error is :
>
>
> description org.apache.cocoon.ProcessingException: Language Exception: 
> org.apache.cocoon.components.language.LanguageException: Error 
> compiling sitemap_xmap: Line 1681, column 29: variable action_N40012B 
> might not have been initialized Line 0, column 0: 1 error
>
>
> Someone has an idea ? 


Maybe you should try to use the interpreted sitemap engine, as it gives 
more meaningful error messages.

Although the above seems syntactically correct, what's the intent behind 
<map:call resource="cocoon:/../modify_status"> ? Do you want to call a 
resource in the parent sitemap ? This won't be possible as resources 
aren't inherited.

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message