You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Maciek Kaminski <ma...@tiger.com.pl> on 2002/07/26 16:35:40 UTC

flow in subpipeline?

Is it possible to use flow match:

<map:match pattern="calc/">
  <map:call function="calculate"/>
</map:match>

in subpipeline?

When I try I get exception:
(2002-07-26) 16:15.38:620 ForwardRedirector: Redirecting to 
'cocoon://javacalc/quessNumberForm.xsp'
(2002-07-26) 16:15.38:620 EnvironmentWrapper: Setting uri (prefix=, 
uris=javacalc/quessNumberForm.xsp)
(2002-07-26) 16:15.38:630 AbstractEnvironment: Set the URI Prefix 
(OLD=, NEW=)
(2002-07-26) 16:15.38:630 PreparableMatchNode: Matcher 'wildcard' 
matched prepared pattern 'javacalc/*.xsp' at 
jndi:/localhost/baobab/sitemap.xmap:170:-1
(2002-07-26) 16:15.38:630 InvokeContext:
Current Sitemap Parameters:
PARAM: '1' VALUE: 'quessNumberForm'
PARAM: '0' VALUE: 'javacalc/quessNumberForm.xsp'

(2002-07-26) 16:15.38:630 LogKitLogger: Got a 
org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline 
from the pool.
(2002-07-26) 16:15.38:630 LogKitLogger: Got a 
org.apache.cocoon.generation.ServerPagesGenerator from the pool.
(2002-07-26) 16:15.38:630 LogKitLogger: Got a 
org.apache.cocoon.serialization.XMLSerializer from the pool.
(2002-07-26) 16:15.38:630 LogKitLogger: Put a 
org.apache.cocoon.generation.ServerPagesGenerator back into the pool.
(2002-07-26) 16:15.38:630 LogKitLogger: Put a 
org.apache.cocoon.serialization.XMLSerializer back into the pool.
(2002-07-26) 16:15.38:630 LogKitLogger: Put a 
org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline 
back into the pool.
(2002-07-26) 16:15.38:630 LogKitLogger: Got a 
org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline 
from the pool.
(2002-07-26) 16:15.38:630 TraxTransformer: Using stylesheet: 
'file:/d:/projekty/baobab/build/baobab/webapp/xsl/2html/document2html.
xsl' in org.apache.cocoon.transformation.TraxTransformer@79a49f
(2002-07-26) 16:15.38:750 LogKitLogger: Cached response not found for 
'javacalc/'.
(2002-07-26) 16:15.38:750 LogKitLogger: Cached response not found for 
'javacalc/'.
(2002-07-26) 16:15.38:750 LogKitLogger: Cached response not found for 
'javacalc/'.
(2002-07-26) 16:15.38:750 FileGenerator: processing file 
cocoon://javacalc/index.xml
(2002-07-26) 16:15.38:750 FileGenerator: file resolved to 
cocoon://javacalc/index.xml
(2002-07-26) 16:15.38:750 LogKitLogger: Put a 
org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline 
back 
into the pool.
(2002-07-26) 16:15.38:750 FileGenerator: Got SAXException; Rethrowing 
cause exception
org.apache.cocoon.ProcessingException: Attempted to process 
incomplete pipeline.
        at 
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSo
urce.java:377)
        at 
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnviro
nment.java:454)
        at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java
:140)

I would like flow to generate xml subpipelie that will be called by 
"outside" final pipeline that does aggregation and transfomation to 
xml.
Maciek Kaminski
maciejka@tiger.com.pl


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