struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: [S2] Inappropriate Error Message
Date Wed, 23 May 2007 13:40:40 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roger,

Roger Varley wrote:
> SEVERE: Parse Fatal Error at line 1 column 1: Content is not allowed in
> prolog.
> org.xml.sax.SAXParseException: Content is not allowed in prolog.

Usually this means that there is something other than the BOM before
your <?xml processing instruction. Are you sure you don't have anything
before the beginning of your XML, or is this easily repeatable by simply
using a bogus class name?

Since this is a SAXException, I'm inclined to agree with Musachy that
this is likely to be an XML problem /before/ Struts gets involved
(loading classes, etc.).

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGVERY9CaO5/Lv0PARAoxKAJ9Hdkn7HCjN8BRn4zzxljCDBtvWugCaA2Gx
hPZY0KkDzNHbxRNP31HW3QY=
=UdmJ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message