cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: file generator error
Date Mon, 13 Jan 2003 15:55:40 GMT
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&amp;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: Sylvain.Thevoz@swisscom.com [mailto:Sylvain.Thevoz@swisscom.com]
>>Sent: Monday, January 13, 2003 3:25 AM
>>To: cocoon-users@xml.apache.org
>>Subject: RE: file generator error
>>
>>
>>Hi,
>>
>>It means that if I replace the '&' by '&amp;', the link isn't
>>correct anymore.
>>The problem seems to be that the Tomcat web server doesn't
>>convert '&amp;' to '&' and use '&amp;' 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&amp;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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message