DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6986>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6986

Selectors and generators

           Summary: Selectors and generators
           Product: Cocoon 2
           Version: 2.0.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: sitemap components
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have the following piece of code:

<map:match pattern = "Action-Application">
<map:act set = "ListActions">
<map:select type="parameter">
<parameter name="parameter-selector-test" value="{$nextpage}"/>
<map:when test="*.html">
<map:generate type="file" src="docs/{nextpage}"/>
</map:when>
<map:otherwise>
<map:generate type="serverpages" src="docs/{nextpage}"/>
</map:otherwise>
</map:select>
<map:transform src="stylesheets/sayhello2html.xsl"/>
<map:serialize/>        
</map:act>
</map:match>

I get the following exception:
at java.lang.Thread.run(Thread.java:484)
java.lang.RuntimeException: Stylesheet directed termination

at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3170)

Is it not allowed to use selectors on generators?

Regards,

Edgar

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

Reply via email to