No grammar constraints (DTD or XML Schema) referenced in the document.
2017-07-29 13:54
573 查看
web.xml文件黄色感叹号
警告提示如下:
Description Resource Path Location Type
No grammar constraints (DTD or XML Schema) referenced in the document. *.xml /XXXProject line 1 XML Problem
解决方案:
常用方法 关闭 XML 验证
工具栏:windows => preferences => xml => xml files => validation => Indicate
修改 XML “No grammar specified” 警告为 “忽略”
如图将 “Warning” 修改为 “Ignore” 即可。
推荐方法 在第一行的(如下)XML 定义下添加
参考资料:XML DTD
警告提示如下:
Description Resource Path Location Type
No grammar constraints (DTD or XML Schema) referenced in the document. *.xml /XXXProject line 1 XML Problem
解决方案:
常用方法 关闭 XML 验证
工具栏:windows => preferences => xml => xml files => validation => Indicate
修改 XML “No grammar specified” 警告为 “忽略”
如图将 “Warning” 修改为 “Ignore” 即可。
推荐方法 在第一行的(如下)XML 定义下添加
DOCTYPE
参考资料:XML DTD
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
相关文章推荐
- No grammar constraints (DTD or XML Schema) referenced in the document. java项目xml文件报错或者出现警告
- No grammar constraints (DTD or XML Schema) referenced in the document.
- No grammar constraints (DTD or XML Schema) referenced in the document.
- xml文件出现警告:No grammar constraints (DTD or XML Schema) referenced in the document.
- Web.xml文件提示No grammar constraints (DTD or XML Schema) referenced in the document. 警告的解决方法
- 如何解决XML文件中的警告提示“No grammar constraints (DTD or XML Schema) referenced in the document.” .
- eclipse xml文件警告No grammar constraints (DTD or XML Schema) referenced in the document.
- 如何解决XML文件中的警告提示“No grammar constraints (DTD or XML Schema) referenced in the document.”
- [ xml ] [ log4j2 ] No grammar constraints (DTD or XML Schema) referenced in the document.
- No grammar constraints (DTD or XML Schema) referenced in the document.
- 如何解决XML文件中的警告提示“No grammar constraints (DTD or XML Schema) referenced in the document.”
- 解决XML警告"No grammar constraints (DTD or XML Schema) referenced in the document"
- [Android] Eclipse Warning: No grammar constraints (DTD or XML schema) detected for the document
- Eclipse里的No grammar constraints (DTD or XML schema) detected for the document警告
- Eclipse里的No grammar constraints (DTD or XML schema) detected for the document警告
- Eclipse关闭No grammar constraints (DTD or XML schema) detected for the document警告
- Warning: No grammar constraints (DTD or XML schema) detected for the document
- No grammar constraints (DTD or XML schema) detected for the document
- Eclipse关闭No grammar constraints (DTD or XML schema) detected for the document警告
- [Android] Eclipse Warning: No grammar constraints (DTD or XML schema) detected for the document