Results 1 to 4 of 4
  1. #1
    mad_v is offline Member
    Join Date
    Mar 2009
    Posts
    1
    Rep Power
    0

    Default 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

  2. #2
    laxad is offline Member
    Join Date
    Feb 2010
    Posts
    2
    Rep Power
    0

    Default

    I'm having the same error as you right now. I was wondering if you found a solution for it already.

    Thanks.

  3. #3
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

    Default

    Quote Originally Posted by laxad View Post
    I was wondering if you found a solution for it already.

    Thanks.
    Nope, the OP is clueless for 10 and a half months and is still waiting for a solution. :D
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  4. #4
    laxad is offline Member
    Join Date
    Feb 2010
    Posts
    2
    Rep Power
    0

    Default

    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

  1. Replies: 1
    Last Post: 03-28-2008, 05:08 PM
  2. Replies: 1
    Last Post: 07-24-2007, 01:44 AM
  3. Replies: 1
    Last Post: 07-24-2007, 12:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •