No grammar constraints (DTD or XML schema).....兩種解決方法


方法一:常用方法   關閉XML驗證

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

 

方法二:(個人推薦)

添加 內容如下

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/2002/xmlspec/dtd/2.10/xmlspec.dtd">


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM