码迷,mamicode.com
首页 > 其他好文 > 详细

No grammar constraints (DTD or XML schema).....两种解决方法

时间:2015-05-21 12:43:35      阅读:137      评论:0      收藏:0      [点我收藏+]

标签:

转:http://blog.csdn.net/xwin1989/article/details/6754790

方法一:常用方法   关闭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">

No grammar constraints (DTD or XML schema).....两种解决方法

标签:

原文地址:http://www.cnblogs.com/tv151579/p/4519161.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!