XSD error correction