XML Metadata Generation Should Fail if Schema is corrupted