关闭Eclipse XML检查
某日不小心右键项目"Validate",之后发现项目多出5,6个XMLwarning,信息如下:
?
Warning: No grammar constraints (DTD or XML schema) detected for the document?
去除warning办法:
?
- 以在Eclipse工具栏中 Windows - Preferences - XML - XML Files - Validate files -> Indicate when no grammar is specified 选择"ignore "再次右键项目,选择"Validate"
参考:http://blog.csdn.net/newjoe30/article/details/3772110