閱讀45 返回首頁    go 阿裏雲 go 技術社區[雲棲]


[Android] Eclipse Warning: No grammar constraints (DTD or XML schema) detected for the document

原文:https://www.cnblogs.com/Tealcwu/archive/2010/06/07/1752923.html

警告信息,沒事的,一般IDE環境中配置檔的最前麵都是DTD 或 XML 打頭的。比如 
<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE hibernate-configuration PUBLIC 
"-//Hibernate/Hibernate Configuration DTD 3.0//EN" 
"https://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

 

DTD驗證是xml的規範,要去除警告的話:

Eclipse 工具欄:windows –> preferences –> xml -> xml files –> validation -> Indicate when no grammar is specified: 選擇Ignore即可。


最後更新:2017-04-02 16:47:42

  上一篇:go MySQL 鎖
  下一篇:go 開發那點事係列四 - 如何構建高效Ajax應用