Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » XML Parsing Error in FF

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 2625 Views
  • Mishy
    Avatar
    Community Member
    24 Posts

    XML Parsing Error in FF Link to this post

    XML Parsing Error: mismatched tag. Expected: </body>.
    Location: http://www.search4pharma.co.uk/permanent/
    Line Number 224, Column 3:</div>
    --^


    I have tried everything I can think of and checked the div tags over and over again and cannot figure out how to fix this.

    On the pages where I use a page extension template I get an XML Parsing Error.

    Where I don't extend the template and just use the Page.ss it works fine.

    Anyone able to point me in the right direction please?

    http://www.search4pharma.co.uk

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: XML Parsing Error in FF Link to this post

    There is definitely and error in your template, I count two extra </div>'s. Want to post the template file?

  • Mishy
    Avatar
    Community Member
    24 Posts

    Re: XML Parsing Error in FF Link to this post

    It's really weird, with the original error that you mentioned yesterday, I couldn't see that the Page.ss was missing any div tags but when I added an extra div it fixed the home page error.

    Trouble is, I am used to dealing with a single page of XHTML in it's entirety for each web page I want to create, not parts of pages brought together into one final page. This is probably where I am getting a bit mixed up.

  • Mishy
    Avatar
    Community Member
    24 Posts

    Re: XML Parsing Error in FF Link to this post

    A good night's sleep and fresh eyes and I have fixed the problem. Went through all the code and commented start and finish of each div. I picked up on a couple of errors and it all seems to be working well now

    2625 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.