You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lionel Crine <cr...@4dconcept.fr> on 2003/05/07 17:16:12 UTC
pipeline error can't find it
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 ?
Lionel CRINE
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: pipeline error can't find it
Posted by Sylvain Wallez <sy...@anyware-tech.com>.
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