Warning: No grammar constraints (DTD or XML schema) detected for the document
来源:互联网 发布:永恒战士3mac版 编辑:程序博客网 时间:2024/05/17 22:44
这个警告信息说明xml缺少头部,类似头部如下:
<!DOCTYPE hibernate-configuration PUBLIC"-//Hibernate/Hibernate Configuration DTD 3.0//EN""http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
加上头部后就不会出现警告信息。不过这个警告信息不会造成什么影响,如果不想加头部,可以去掉此警告。方法如下:
点【windows】》【prefrences】》【xml】》【xml files】》【validation】如下图:
然后警告消息就没了
- [Android] Eclipse Warning: No grammar constraints (DTD or XML schema) detected for the document
- Warning: No grammar constraints (DTD or XML schema) detected for the document
- Warning: No grammar constraints (DTD or XML schema) detected for the document
- XML文件警告:No grammar constraints (DTD or XML schema) detected for the document.的解决方法!
- Eclipse关闭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警告
- 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警告
- Android:No grammar constraints (DTD or XML schema) detected for the document
- 关于[No grammar constraints (DTD or XML schema) detected for the document.]
- android--No grammar constraints (DTD or XML schema) detected for the document警告
- No grammar constraints (DTD or XML schema) detected for the document
- 去除eclipse中xml文件的 No grammar constraints (DTD or XML schema) detected for 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
- eclipse xml文件警告No grammar constraints (DTD or XML Schema) referenced in the document.
- 第七届全国信息技术应用水平大赛预赛试题----C语言程序设计
- hdu 2040
- opencv源码解析之(6):hog源码分析
- php IP转换整形(ip2long)
- Windows驱动开发WDM (11)- 多个设备对象(同一个驱动)
- Warning: No grammar constraints (DTD or XML schema) detected for the document
- c++编译器为什么不支持模板的分离式编译
- Lucene搜索过程解析(8)
- 学习开源代码的方法
- PRIORITY of Thread
- 自旋锁spin_lock和raw_spin_lock
- C#调用C++编写的COM DLL
- UML 中 Attribute(屬性)與 Operation (操作)的完整語法
- TableView详细解释