Fixing bad XML processing.