Hi Joerg, I'm using Cocoon 2.1 dev but an old version (17.10.2002).
It could be the problem, no? Geoff: which version do you use? Regards Sylvain -----Message d'origine----- De: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Date: lundi, 13. janvier 2003 16:56 À: [EMAIL PROTECTED] Objet: Re: file generator error Hello Geoff and Sylvain, I can't confirm a bug using Cocoon 2.1 dev from CVS (2003-01-07). Using this sitemap snippet <map:match pattern="test"> <map:generate src="http://www.moreover.com/cgi-local/page?o=xml&c=Virus%20warnings"/> <map:serialize type="xml"/> </map:match> I have this in my core.log, where you can see that the link is resolved correctly. Furthermore I get the same result requesting the virus warnings from Cocoon and directly from www.moreover.com. Regards, Joerg DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Resolving 'http://www.moreover.com/cgi-local/page?o=xml&c=Virus%20warnings' with base 'file:/D:/xml/' in context 'file:/D:/Tomcat/bin/' DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Resolved to systemID 'http://www.moreover.com/cgi-local/page?o=xml&c=Virus%20warnings' DEBUG (2003-01-13) 16:48.59:984 [core.manager] (/cocoon/joerg/test) Thread-9/SourceResolverImpl: Making URL from http://www.moreover.com/cgi-local/page?o=xml&c=Virus%20warnings DEBUG (2003-01-13) 16:48.59:984 [core.store.transient] (/cocoon/joerg/test) Thread-9/MRUMemoryStore: NOT Found key: PK_G-file-http://www.moreover.com/cgi-local/page?o=xml&c=Virus%20warnings_S-xml-1 DEBUG (2003-01-13) 16:48.59:984 [core.store.persistent] (/cocoon/joerg/test) Thread-9/AbstractFilesystemStore: NOT Found file: PK_G-file-http://www.moreover.com/cgi-local/page?o=xml&c=Virus%20warnings_S-xml-1 DEBUG (2003-01-13) 16:48.59:984 [core.store.transient] (/cocoon/joerg/test) Thread-9/MRUMemoryStore: NOT Found key: PK_G-file-http://www.moreover.com/cgi-local/page?o=xml&c=Virus%20warnings DEBUG (2003-01-13) 16:48.59:984 [core.store.persistent] (/cocoon/joerg/test) Thread-9/AbstractFilesystemStore: NOT Found file: PK_G-file-http://www.moreover.com/cgi-local/page?o=xml&c=Virus%20warnings DEBUG (2003-01-13) 16:49.00:234 [core.manager] (/cocoon/joerg/test) Thread-9/XMLizerImpl: No mime-type for xmlizing http://www.moreover.com/cgi-local/page?o=xml&c=Virus%20warnings, guessing text/xml Geoff Howard wrote: >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >>Sent: Monday, January 13, 2003 3:25 AM >>To: [EMAIL PROTECTED] >>Subject: RE: file generator error >> >> >>Hi, >> >>It means that if I replace the '&' by '&', the link isn't >>correct anymore. >>The problem seems to be that the Tomcat web server doesn't >>convert '&' to '&' and use '&' to retrieve the web page. >> >>Any idea? >>Is it a Tomcat bug? >> >>Thank you >>Sylvain > > > I think I have confirmed some problem - try > http://localhost:8080/cocoon/samples/system/request.html?foo=bar&fee=fi > > it gives: > ... > <requestParameters> > <parameter name="amp;fee"> > <value>fi</value> > </parameter> > <parameter name="foo"> > <value>fee</value> > </parameter> > </requestParameters> > ... > > Don't have time to do more than that now. > > Geoff Howard --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>