Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2007
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Parsing errors -- HELP!

    Alright, so I'm in the process of creating Version 2.0 of chrisdire.com and I am having some troubles getting my page(s) to validate. I am just in the process of getting the outline/layout code of my homepage done, but since the other pages will follow a very similar style I need to get my homepage done and out of the way. I trying to make my code very simplistic while still retaining a dynamic look to it. W3C keeps giving me these parsing errors along with a few others that I can't figure out. Here they are:

    Validation Output: 6 Errors

    1. Error Line 38, Column 6: end tag for "div" omitted, but OMITTAG NO was specified.

    </body>

    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

    2. Info Line 21, Column 2: start tag was here.

    <div id="mainlogo">

    3. Error Line 38, Column 6: end tag for "div" omitted, but OMITTAG NO was specified.

    </body>

    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

    4. Info Line 19, Column 3: start tag was here.

    <div id="pagecontainer">

    5. Error Line 38, Column 7: XML Parsing Error: Opening and ending tag mismatch: div line 21 and body.

    </body>

    6. Error Line 40, Column 7: XML Parsing Error: Opening and ending tag mismatch: div line 19 and html.

    </html>

    7. Error Line 40, Column 7: XML Parsing Error: Premature end of data in tag body line 18.

    </html>

    8. Error Line 40, Column 7: XML Parsing Error: Premature end of data in tag html line 3.

    </html>

    So my question is does anyone know how, or why this is doing this? I have tried switching DOCTYPE's so see if that was the parsing problem but it didn't do anything. I have tried adding </div> tags to get rid of the OMITTAG NO's out of there but when I look at the code everything has a starting and closing tag. Also, when I SAVE AS as "all files" it keeps saving it as a text document as opposed to an internet friendly one! What the heck?! I am really at a loss. Can some please help me? My index.htm code is below for reference purposes.

    Homepage code:

    http://www.chrisdire.com/chrisdire.txt

  • #2
    New to the CF scene
    Join Date
    Sep 2007
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Alright, figured it out. No need to worry anymore...


  •  

    Posting Permissions

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