Forums

Firefox, Wordpress 2.0, and XML Parsing Errors.. (8 posts)

  1. redban
    Member
    Posted 3 years ago #

    Well I just upgraded to the latest Wordpress and reinstalled my favorite theme ( iRoybots SlatyStain 0.9 ) and everything looks fine.. except in firefox. This is what I get:

    --
    XML Parsing Error: mismatched tag. Expected: </center>. Location: http://www.redban.com/blogy/ Line Number 48, Column 67:1952 W. Gray phone..(713) 524-2333, Houston, TX 77001</center> ------------------------------------------------------------------^

    --
    everytime I get an error, I try to fix it, and it gives me something else.. it seems like its just messin with me.. I have read through this website but can find anything that works..

    Please help.

    My wordpress is located here: http://www.redban.com/blogy

    Thanks...

  2. jaredquinn
    Member
    Posted 3 years ago #

    <center> isn't a valid XHTML tag.

    Anyway, you are opening a bunch of <center> tags and not closing them.

    The reason it is working in IE is that IE doesn't care about standards.

  3. jaredquinn
    Member
    Posted 3 years ago #

    PS. You should be using <p style="text-align: middle;">

  4. redban
    Member
    Posted 3 years ago #

    yeah but if I fix that... then it just does something else:

    --
    XML Parsing Error: not well-formed Location: http://www.redban.com/blogy/ Line Number 52, Column 34:<div id="nav-topics"><hr><img src=http://www.redban.com/images/homem.gif><img src=http://www.redban.com/images/photom.gif><img src=http://www.redban.com/images/videom.gif><img src=http://www.redban.com/images/moblogm.gif><img src=http://www.redban.com/images/myspacem.gif><img src=http://www.redban.com/images/joeshowm.gif><br> ---------------------------------^
    --

    it worded fine in the previous wordpress... did something change?

  5. Kafkaesqui
    Moderator
    Posted 3 years ago #

    Possibly in your templates. The source of your site shows this as the first line:

    <?xml version="1.0" encoding="utf-8" ?>

    If you're going publish your blog as xml, you have to make sure your use of XHTML elements are valid. For example, tag attributes *must* be enclosed in quotes. In your img tags, the src attributes are not so enclosed.

    Also, empty elements such as <img>, <hr> and <br> need to be closed in the tag's usage: <img src="" />, <hr /> and <br />.

  6. redban
    Member
    Posted 3 years ago #

    thanks.. ill play around with it some more... just odd that it didnt do this with the older wordpress...

  7. redban
    Member
    Posted 3 years ago #

    how would I add this to miy side bar without getting any errors?

    <script language='javascript' type='text/javascript' src='http://redban.textamerica.com/iPanel/panel.aspx?view=419264&count=3'></script>

  8. Kafkaesqui
    Moderator
    Posted 3 years ago #

    <script type='text/javascript' src='http://redban.textamerica.com/iPanel/panel.aspx?view=419264&amp;count=3'></script>

    * 'language' is not a valid XHTML attribute for <script>.
    * The ampersand (&) in the url should be escaped/converted to its HTML entity equivalent (&amp;).

Topic Closed

This topic has been closed to new replies.

About this Topic