某日不小心右键项目"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"
本文介绍了一种在Eclipse中解决XML警告的方法,通过调整验证设置来忽略没有DTD或XML Schema约束的文档引起的警告。
643

被折叠的 条评论
为什么被折叠?



