You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sh...@Concentra.com on 2002/09/16 21:25:45 UTC

Re: Sitemap not compiling -> partial solution

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"/>  -->
<!--                    <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" <ba...@ifrance.com>
To: <co...@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
>
>
> ________________________________________________________________
> Etudiant: Wanadoo t'offre le Pack eXtense Haut Débit soit 150,92 euros
d'économies !
> Et pour 1 euro de plus, reçois le CD-ROM du jeu Dark Age of Camelot
> + 1 mois de jeu en réseau offert !
> Clique ici : http://www.ifrance.com/_reloc/mail.etudiant
>
>
> ---------------------------------------------------------------------
> 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:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
>
>


________________________________________________________________
Etudiant: Wanadoo t'offre le Pack eXtense Haut Débit soit 150,92 euros
d'économies !
Et pour 1 euro de plus, reçois le CD-ROM du jeu Dark Age of Camelot
+ 1 mois de jeu en réseau offert !
Clique ici : http://www.ifrance.com/_reloc/mail.etudiant


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>









---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Sitemap not compiling -> partial solution

Posted by Vadim Gritsenko <va...@verizon.net>.
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" <ba...@ifrance.com>
>To: <co...@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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>