侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

No grammar constraints (DTD or XML Schema) 解决

2024-05-08 星期三 / 0 评论 / 0 点赞 / 60 阅读 / 449 字

1,关闭xml检查 windows => preferences => xml => xml files => validation => Indicate when no grammar is sp

1,关闭xml检查

windows => preferences => xml => xml files => validation => Indicate when no grammar is specified:选择Ignore

2,加入

  <!DOCTYPE xml> 

或者

<!DOCTYPE html>

如果报红叉,尝试

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/2002/xmlspec/dtd/2.10/xmlspec.dtd">

广告 广告

评论区