cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lange" <w...@petit-atelier.ch>
Subject RE: SAX Error with stream generator
Date Tue, 09 Sep 2003 18:05:31 GMT
Lionel,

What editor are you using?

This might happen if you opened an UTF-8 encoded file with a non-UTF-8 aware
editor or if you opened your file with the wrong encoding, modified and
saved it in another encoding (ANSI or ISO-8859-1).

In that case, there might be two or three odd characters at the begining of
the file, before the <?xml ... ?> prolog. Try to delete the entire line with
the XML prolog and to rewrite it.

Olivier


-----Message d'origine-----
De : Lionel Crine [mailto:crine@4dconcept.fr]
Envoyé : mardi, 9. septembre 2003 15:36
À : users@cocoon.apache.org
Objet : SAX Error with stream generator


I have this error, why ?


Description: org.apache.cocoon.ProcessingException: Failed to execute
pipeline.: null:1:1:org.xml.sax.SAXParseException: Content is not allowed
in prolog.

The content of the document is :
<?xml version="1.0" ?>
<hello>world</hello>


Lionel CRINE
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message