You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Luca Morandini <l....@tin.it> on 2001/06/26 22:15:25 UTC

Bug in C2b1 ?

Folks,

	I've added the empty-taglib sample (thanks Gary !) and I went about my
business.

	After I while I deleted it from cocoon.xconf and sitemap.xmap and then:
none of my XSP pages worked anymore :(

	After a looong while I tried to delete the files generated in the work
directory of tomcat and everything got back to normal :)

	Should I really delete by hand every logicsheet no longer needed ? Or it is
just a bug ?

Best regards,
 
---------------------------------------------
               Luca Morandini
               GIS Consultant
            lmorandini@ieee.org
          +39 0744 59  85  1 Office
          +39 0335 681 02 12 Mobile
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Luca Morandini [mailto:l.moran@tin.it]
> Sent: martedì 26 giugno 2001 21.13
> To: cocoon-users@xml.apache.org
> Subject: RE: XML->XSP->XML->HTML
>
>
> Franck,
>
> 	if I got it right, you have a doc.xml file with some tags
> (referring to the
> doc.xsl logicsheet) and want to produce an HTML file... is that so ?
>
> 	Well, if so, you have to declare the logicsheet namespace
> in the doc.xml
> and change your sitemap to resemble this:
>
> <map:match pattern="doc">
>  <map:generate type="serverpages" src="doc.xml"/>
>  <map:transform src="doc2html.xsl"/>
>  <map:serialize type="html"/>
> </map:match>
>
> 	I've added an extra step to transform XML into proper HTML.
>
> Best regards,
>  
> ---------------------------------------------
>                Luca Morandini
>                GIS Consultant
>             lmorandini@ieee.org
>           +39 0744 59  85  1 Office
>           +39 0335 681 02 12 Mobile
> http://utenti.tripod.it/lmorandini/index.html
> ---------------------------------------------
>
>
> > -----Original Message-----
> > From: franck delarue [mailto:frdelarue2000@yahoo.fr]
> > Sent: martedì 26 giugno 2001 9.54
> > To: cocoon-users@xml.apache.org
> > Subject: XML->XSP->XML->HTML
> >
> >
> > hi,
> > I want to produce a XSP file with a XML and a XSL
> > file, and that the XSP file generates an other xml
> > file. But I don't know how to configure the file
> > sitemap.xmap.
> > This is what I have done to configure the sitemap but
> > it doesn't work :
> >
> >    <map:match pattern="doc">
> >     <map:generate src="doc.xml"/>
> >     <map:transform type="serverPage"
> > src="doc.xsl"/>
> >     <map:serialize type="html"/>
> >    </map:match>
> >
> > I work on linux redhat, with the server engine
> > Resin 2.0.0 and cocoon 2.
> >
> > Thanks in advance.
> >
> >
> >
> > ___________________________________________________________
> > Do You Yahoo!? -- Pour faire vos courses sur le Net,
> > Yahoo! Shopping : http://fr.shopping.yahoo.com
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.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/faqs.html>

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