Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul A 133 posts 368 karma points
    Jun 14, 2011 @ 11:08
    Paul A
    0

    Malformed XML in database

    Hi,

    Recently upgraded a site to 4.7... Though the problem might also have been caused by tinkering with doctype attributes... Anyway, should I be concerned by XML in the database that isn't quite right - if something is left empty the XML gets messed up...

    e.g. if "countryOfOrigin" is left empty I get:

    <person>
    <countryOfOrigin>
    <name>asdf</name>
    <age>asdf</age>
    <height>asdf</height>
    </countryOfOrigin>
    </person>

    For the most part the content is still being pulled through XSL and displayed correctly. But problems have occurred when, for example, "countryOfOrigin" has been removed from "person"... Everything contained within those tags has also been removed.

    Any pointers appreciated,

    Cheers,

Please Sign in or register to post replies

Write your reply to:

Draft