解决方法:

一、修改Preferences-->>XML中 “No grammar specified” 警告为“Ignore” 
如图将 “Error” 修改为 “Ignore” 。

创建xml文件出现警告:No grammar constraints (DTD or XML Schema) referenced in the document.

或第二种方法:

二、增加<!DOCTYPE xml>

创建xml文件出现警告:No grammar constraints (DTD or XML Schema) referenced in the document.

这两种方法都行,建议使用第二种方法。

如有问题,欢迎提出,分享快乐

相关文章:

  • 2022-12-23
  • 2022-01-07
  • 2021-11-16
  • 2022-01-07
  • 2021-11-19
  • 2022-12-23
  • 2021-08-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
  • 2022-02-08
  • 2021-10-29
相关资源
相似解决方案