Error report of. XML header file constraint in idea If an XSD is red, you can File–>; setting–> Languages& DTDs–> Schemas and DTDs Just paste the wrong XSD and other header constraints