this has nothing to do with Tomcat, but only with XML. & is the representation of the ampersand character. But the & is a special character in XML, so it must be escaped. If the file is parsed, you have only the & character in memory or where ever. Of course there can still be a bug in XML parser or generator or anywhere else. Have a look into the log files, maybe you will find some hints there.
Regards,
Joerg
[EMAIL PROTECTED] wrote:
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
-----Message d'origine-----
De: Joerg Heinicke [mailto:[EMAIL PROTECTED]]
Date: vendredi, 10. janvier 2003 19:29
À: [EMAIL PROTECTED]
Objet: Re: file generator error
I checked the link and Mozilla recognized the content as XML, so I guess that's not the problem. But "doesn't work anymore" is not really a helpful error message.
Joerg
J.Pietschmann wrote:
[EMAIL PROTECTED] wrote:If I substitute '&' by '&', the sitemap compilation is OK. But the link doesn't work anymore!Did it ever work? I guess the source is HTML rather than XML, I think you have to tell the sitemap to use a HTML generator. Look up details in the Cocoon doc, in particular in the section about generators
--------------------------------------------------------------------- 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]>