cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6986] New: - Selectors and generators
Date Fri, 08 Mar 2002 12:59:30 GMT
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: cocoon-dev@xml.apache.org
        ReportedBy: edgar.de.graaf@ordina.nl


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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message