1.打开“设置”-->“语言 & 框架”-->“Schemas and DTDs”2.添加“External Schemas and DTDs” URI为xml文件的名称 Location为本地xsd或dtd文件的路径