> Hi:
>
> We are currently using Cocoon 2.1.7 and are having problems with our
> aggregate code.
>
> The message we get is:
>
> Internal Server Error
>
> Message: No pipeline matched request: Directory_Generator
[snip]
> <map:pipelines>
> <!--START: Directory Generator-->
> <map:pipeline internal-only="true">
> <map:match pattern="Directory_Generator">
> <map:generate type="directory" src="Policy_Documents_Site">
> <map:parameter name="depth" value="1999"/>
> </map:generate>
> </map:match>
This is not a complete pipeline! You need to add a <map:serialize
type="xml"/> after your map:generate. Otherwise cocoon continues walking
the sitemap tree looking for a map:serialize, and when it doesn't find one
it says "hey, I couldn't build a complete pipeline, so there was no
complete match" and gives you the error you are seeing.
> </map:pipeline>
> <!--END: Directory Generator-->
>
> <!--START: Frameset for Site Main Page-->
> <map:pipeline>
> <map:match pattern="policy.cuny.edu">
> <map:generate
> src="Policy_Documents_Site/PDS,Intro_And_Basics.xml"/>
> <map:transform src="Policy_Documents_Site/PDS,Frame_Set.xsl">
> <map:parameter name="Get_This_Page" value="policy.cuny.edu"/>
> </map:transform>
> <map:serialize type="xhtml"/>
> </map:match>
> </map:pipeline>
> <!--END: Frameset for Site Main Page-->
>
> <!--START: Everything Else -->
> <map:pipeline>
> <map:match pattern="policy.bltmcd.edu/**">
> <!--START: Images-->
> <map:match pattern="**/*.jpg">
> <map:generate src="Policy_Documents_Site/{2}.jpg"/>
> <map:serialize/>
> </map:match>
> <map:match pattern="**/*.gif">
> <map:generate src="Policy_Documents_Site/{2}.gif"/>
> <map:serialize/>
> </map:match>
> <!--END: Images-->
> <!--START: Search and Navigation Bars-->
> <map:match pattern="**/Search_Bar">
> <map:generate
> src="Policy_Documents_Site/PDS,Intro_And_Basics.xml"/>
> <map:transform
> src="Policy_Documents_Site/PDS,Search_Bar.xsl">
> <map:parameter name="Get_This_Page" value="{1}"/>
> </map:transform>
> <map:serialize type="xhtml"/>
> </map:match>
> <map:match pattern="**/Navigation_Bar">
> <!-- <map:generate type="directory"
> src="Policy_Documents_Site">
> <map:parameter name="depth" value="1999"/>
> </map:generate>-->
> <!--THIS IS THE PART OF THE CODE THAT DOES NOT WORK. It causes the
> attached
> error message. When replaced with the above map:generate code in comment
> tags, everything works correctly-->
> <map:aggregate element="Navigation_Bar_Aggregated_Source">
> <map:part src="cocoon:/Directory_Generator"/>
> <map:part src="
> file://Policy_Documents_Site/PDS,URI_Elements_Database.xml"/>
> </map:aggregate>
> <!--THIS IS THE PART OF THE CODE THAT DOES NOT WORK-->
> <map:transform
> src="Policy_Documents_Site/PDS,Directory_Processor.xsl"/>
> <map:transform
> src="Policy_Documents_Site/PDS,URI_Elements_Database.xsl"/>
> <map:transform
> src="Policy_Documents_Site/PDS,Directory_Entry_Link_Generator.xsl"/>
> <map:transform
> src="Policy_Documents_Site/PDS,Navigation_Bar.xsl">
> <map:parameter name="URL_of_Current_Page"
> value="{1}"/>
> </map:transform>
> <map:serialize type="xhtml"/>
> </map:match>
> <!--END: Search and Navigation Bars-->
> <!--START: Main Pages-->
> <map:match pattern="**/Main_Text_Area">
> <map:match pattern="policy.bltmcd.edu/*/Main_Text_Area">
> <map:generate
> src="Policy_Documents_Site/PDS,Intro_And_Basics.xml"/>
> <map:transform
> src="Policy_Documents_Site/PDS,Main_Page.xsl">
> <map:parameter name="Site_Section_Name" value="{1}"/>
> </map:transform>
> <map:serialize type="xhtml"/>
> </map:match>
> <map:match pattern="policy.bltmcd.edu/Main_Text_Area">
> <map:generate
> src="Policy_Documents_Site/PDS,Intro_And_Basics.xml"/>
> <map:transform
> src="Policy_Documents_Site/PDS,Main_Page.xsl">
> <map:parameter name="Site_Section_Name" value="site"/>
> </map:transform>
> <map:serialize type="xhtml"/>
> </map:match>
> </map:match>
> <!--END: Main Pages-->
> <!--START: Frameset for Everything Else-->
> <map:generate
> src="Policy_Documents_Site/PDS,Intro_And_Basics.xml"/>
> <map:transform src="Policy_Documents_Site/PDS,Frame_Set.xsl">
> <map:parameter name="Get_This_Page" value="{1}"/>
> </map:transform>
> <map:serialize type="xhtml"/>
> </map:match>
> </map:pipeline>
> <!--END: Frameset for Everything Else-->
> <!--END: Everything Else-->
> </map:pipelines>
> ---------------------------
> Any help would be much appreciated. Thanks.
>
> BL, TM, CD
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]