Hello,
    I'm trying to create a pipeline with an aggregate, and I must be
doing something wrong in the syntax that I just can't see.  Below are my
sitemap definitions, and when the second map:part isn't specified in the
map:aggregate element, everything works fine, but simply adding the
second part:

   <map:part src="cocoon:/ReadDiagMLModel/{1}" strip-root="true"/>

Causes me to get the following error:

   Message: Resource Not Found
   Description: The requested resource "/cocoon/owlTrans/DiagMLIn/PV"
could not be found
   Sender: org.apache.cocoon.servlet.CocoonServlet
   Source: Cocoon Servlet

Why would adding the second map:part element cause the "DiagMLIn/*"
resource not to be found at all?

   <map:pipeline internal-only="true">
     <!-- Define parts of aggregate pipeline for importing DiagML Model
-->
     <map:match pattern="DiagMLImport/*" >
       <map:generate type="serverpages" src="DiagMLImport.xsp" >
         <map:parameter name="baseFilename" value="{1}"/>
       </map:generate>
       <map:serialize type="xml"/>
     </map:match>
     <map:match pattern="ReadDiagMLModel/*">
       <map:generate src="../../../NewModel.owl"/>
      </map:match>
   </map:pipeline>
   
   <map:pipeline type="noncaching">
     <map:match pattern="DiagMLIn/*">
       <map:aggregate element="model">
         <map:part src="cocoon:/DiagMLImport/{1}"/>
         <map:part src="cocoon:/ReadDiagMLModel/{1}"/>
       </map:aggregate>
       <map:transform src="processbNodes.xsl"/>
       <map:transform src="updateRefs.xsl"/>
       <map:serialize type="xml"/>
     </map:match>
   </map:pipeline>


-------- When like below it works fine ---------

   <map:pipeline type="noncaching">
     <map:match pattern="DiagMLIn/*">
       <map:aggregate element="model">
         <map:part src="cocoon:/DiagMLImport/{1}"/>
       </map:aggregate>
       <map:transform src="processbNodes.xsl"/>
       <map:transform src="updateRefs.xsl"/>
       <map:serialize type="xml"/>
     </map:match>
   </map:pipeline>

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

Reply via email to