Error Message

scoccaro's Avatar

scoccaro

15 Jul, 2010 02:24 PM

I am getting an error message that says that "An error occurred: The markup in the document following the root element must be well-formed.: The markup in the document following the root element must be well-formed."

I dont know what that means or how to fix it.

  1. Support Staff 1 Posted by Tim on 15 Jul, 2010 03:08 PM

    Tim's Avatar

    Typically this error message means that something is causing your content to become invalid XML.

    Is this happening on an HTML configuration or an XML configuration? Sometimes, with XML configurations, the Template is constructed such that all it contains is a DEFAULT region:

    <system-region name="DEFAULT"/>
    

    Since there is no element containing this default region, occasionally this error occurs because the content going into the DEFAULT region doesn't contain a root either.

    Check to see if this is the case and let me know what you find. If it is not, one thing you can do is systematically remove Blocks/Formats from regions on the page one at a time until the error goes away. Once it does, you've narrowed down the problem to a particular Block and/or Format.

  2. 2 Posted by scoccaro on 15 Jul, 2010 03:15 PM

    scoccaro's Avatar

    The error is actually in an HTML configuration, it was working until i fussed with a new div and now it wont work.

  3. Support Staff 3 Posted by Tim on 15 Jul, 2010 03:23 PM

    Tim's Avatar

    How did you go about adding this new <div>? Did you enter it directly into the content of the page? Did you add it to a Format or a Block which is applied to a region on the Page? Or, did you edit the Template itself?

  4. 4 Posted by scoccaro on 15 Jul, 2010 04:01 PM

    scoccaro's Avatar

    Actually i just put it into the template itself so its like this:

    <system-region name="topfaq"/>
    <div id="howdoi">
    <system-region name="faq"/>
    </div>
    
  5. 5 Posted by scoccaro on 15 Jul, 2010 04:06 PM

    scoccaro's Avatar

    I just realized that it didnt post what i wanted it to, so here is a screen shot

  6. scoccaro closed this discussion on 15 Jul, 2010 06:17 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac