Results 1 to 4 of 4
- 03-29-2009, 05:52 PM #1
Member
- Join Date
- Mar 2009
- Posts
- 1
- Rep Power
- 0
org.xml.sax.SAXParseException: Content is not allowed in prolog.
Hi All,
Can anybody tell me whether I can receive "Content is not allowed in prolog" message if the schema file is not found?
Further more can you please to tell me how I can define the schema file location in my java code? (I would like to use the schema from a specific location other than it is defined in the xml itself)
Thanks in advance
- 02-16-2010, 04:46 PM #2
Member
- Join Date
- Feb 2010
- Posts
- 2
- Rep Power
- 0
I'm having the same error as you right now. I was wondering if you found a solution for it already.
Thanks.
- 02-16-2010, 04:49 PM #3
- 02-16-2010, 05:09 PM #4
Member
- Join Date
- Feb 2010
- Posts
- 2
- Rep Power
- 0
oh ok. i am trying to find it also.
there were some solutions out there which i read. they might apply to you. some of them are really stupid things. such as the xml files run could not be parsed because the encoding was set to UFT-16 instead of UFT-8
JavaServer Pages (JSP) and JSTL - Content Not Allowed In Prolog: DEAR GOD, HELP ME!!!
Help needed parsing a UTF-8 XML file
Similar Threads
-
Xml Parse throws SaxParseException. Encoding is UTF-8 insteadof ISO-8859-1 ?
By j_kathiresan in forum XMLReplies: 1Last Post: 03-28-2008, 05:08 PM -
[Fatal Error] :2:1046: Content is not allowed in trailing section
By oregon in forum XMLReplies: 1Last Post: 07-24-2007, 01:44 AM -
org.xml.sax.SAXParseException: Content is not allowed in trailing section
By boy22 in forum XMLReplies: 1Last Post: 07-24-2007, 12:07 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks