Thank you all for your response.

If I substitute '&' by '&', the sitemap compilation is OK.
But the link doesn't work anymore!

Anybody has a solution?

Regards
Sylvain


-----Message d'origine-----
De: Ed Yavno [mailto:[EMAIL PROTECTED]]
Date: jeudi, 9. janvier 2003 17:54
À: Thévoz Sylvain, IT-DTS-ENG-SDM; [EMAIL PROTECTED]
Objet: RE: file generator error


can't use '&' if it's not part of an entity reference, substitute your '&' for its 
entity reference:
<map:generate 
src="http://www.moreover.com/cgi-local/page?o=xml&amp;c=Virus%20warnings"/>

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 11:43 AM
To: [EMAIL PROTECTED]
Subject: file generator error


Hello,

My sitemap is:

<map:match pattern="virus_info.xml"> 
  <map:generate src="http://www.moreover.com/cgi-local/page?o=xml&c=Virus%20warnings"/>
  <map:transform src="styles/info.xsl"/>
  <map:serialize type="xml"/>
</map:match>

The problem is that I can't compile the sitemap.
Error is:
org.xml.sax.SAXParseException: The reference to entity "c" must end with the ';' 
delimiter. 
at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
 
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:213) 
at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:366) 
at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296) 
etc...


Anybody has an idea?

Thank you
Sylvain

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

Reply via email to