打开file——Settings..(快捷键ctrl+alt+s);
找到Languages&Frameworks——Schemas and DTDs
右侧的External Schemas and DTDs窗口中点击添加按钮。