Need to fix an error with XML validation