cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Sylvain.The...@swisscom.com>
Subject RE: file generator error
Date Tue, 14 Jan 2003 15:36:31 GMT
Hi Geoff,

I haven't exactly the same as you but I confirm there is a problem here.

For me your link gives:

<requestParameters>
  <parameter name="amp;fee">
    <value>fi</value> 
  </parameter>
  <parameter name="foo">
    <value>bar</value> 
  </parameter>
</requestParameters>

Regards
Sylvain

-----Message d'origine-----
De: Geoff Howard [mailto:cocoon@leverageweb.com]
Date: lundi, 13. janvier 2003 21:35
À: cocoon-users@xml.apache.org
Objet: RE: file generator error


don't remember seeing a bug fix related to this, but that could be it - I
use a cvs version of 2.1 from early december (12/7 I think).  Joerg, do you
get the result I do on the request generator example (Sylvain too)?

Geoff

> -----Original Message-----
> From: Sylvain.Thevoz@swisscom.com [mailto:Sylvain.Thevoz@swisscom.com]
> Sent: Monday, January 13, 2003 11:07 AM
> To: cocoon-users@xml.apache.org
> Subject: RE: file generator error
>
>
> 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:joerg.heinicke@gmx.de]
> Date: lundi, 13. janvier 2003 16:56
> À: cocoon-users@xml.apache.org
> 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&amp;c=Virus%20wa
> rnings"/>
>    <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%20w
> arnings_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%20w
> arnings_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&a
mp;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>


---------------------------------------------------------------------
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>




---------------------------------------------------------------------
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>


---------------------------------------------------------------------
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