cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: SAXParseException: Content is not allowed in prolog.
Date Mon, 19 Apr 2004 16:20:17 GMT
Carmona Perez, David wrote:
> And receive the following exception (inside Xerces and Saxon):
> 
> org.xml.sax.SAXParseException: Content is not allowed in prolog.

First check your XML files for whitespace before the XML declaration
and text (including NBSPs) outside the document element, as described
in earlier replies. If the problem cause still isn't obvious, update
your JRE to the very latest release, or put the latest Xerces jar in
your JRE's lib/endorsed directory, one of Sun's JRE releases was bundled
with a Xerces release which had a bug causing the error message above in 
certain situations.

J.Pietschmann

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


Mime
View raw message