Refactor so that XML serialisation with an old version of XMLSerializer is not broken
Authored by: hotzst 2008-11-24
Parent: [r869]
Child: [r871]