cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <>
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message