cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: Sitemap not compiling -> partial solution
Date Mon, 16 Sep 2002 20:13:34 GMT
Shawn_McManus@Concentra.com wrote:

>Yall,
>
>What I wound up doing was commenting out all of my pipelines.  I then put
>back them back by <map:pipeline> and by <map:match>.
>As it turns out, I was the match to my JSP's.
>
>                  <map:match pattern="*.jsp">
><!--                    <map:read src="pmt/{1}.jsp" mime-type="text/html"/>
>-->
><!--                    <map:generate src="pmt/{1}.jsp" type="jsp"/>  -->
>

Shawn,

You can *not* have map:read and map:generate at the same time. If you 
found the message I was talking about (in your case it shoule be 
something like "Sitemap pipeline with 
map:serialize|read|mount|redirect-to|call can not have any components 
after them.") then you already know this.

Vadim



><!--                    <map:serialize type="html"/>  -->
>                        <map:generate type="jsp" src="pmt/{1}.jsp"/>
>                        <map:transform src
>="stylesheets/page/simple-page2html.xsl"/>
>                        <map:serialize type="html"/>
>                  </map:match>
>
>The commented portion was how I originally had it.  The uncommented allows
>the sitemap to compile but is producing nil for results when I navigate to
>the JSPs.
>
>This could just be that the JSPs are not producing well formed XML.  I'll
>look into that.
>Thanks Vadim/Babs.
>Get some sleep Babs.
>
>Shawn
>
>Shawn Alexander McManus
>Concentra Managed Care Services, Inc.
>972-720-7876 (office)
>972-720-7999 (fax)
>
>
>                                                                                     
                                                 
>                      "Barbara Post"                                                 
                                                 
>                      <babs33@ifrance.c        To:       cocoon-users@xml.apache.org
                                                  
>                      om>                      cc:                                
                                                    
>                                               Subject:  Re: Sitemap not compiling   
                                                 
>                      09/16/2002 02:02                                               
                                                 
>                      PM                                                             
                                                 
>                      Please respond to                                              
                                                 
>                      cocoon-users                                                   
                                                 
>                                                                                     
                                                 
>                                                                                     
                                                 
>
>
>
>
>Sorry I am sleepy, this is not appropriate to your error.
>--
>website : www.babsfrance.fr.st
>ICQ #: 135868405
>----- Original Message -----
>From: "Barbara Post" <babs33@ifrance.com>
>To: <cocoon-users@xml.apache.org>
>Sent: Monday, September 16, 2002 9:00 PM
>Subject: Re: Sitemap not compiling
>
>
>  
>
>>>>javax.xml.transform.TransformerException: Stylesheet directed
>>>>        
>>>>
>termination
>  
>
>>This error you got clearly means that your xsl stylesheet has a bug. Just
>>try to apply it to an xml file outside of cocoon... like in excelon
>>    
>>
>stylus
>  
>
>>as I told (scenario). Good luck...
>>
>>Babs
>>--
>>website : www.babsfrance.fr.st
>>ICQ #: 135868405
>>    
>>



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message