Eclipse中,No grammar constraints (DTD or XML Schema) referenced in the document.

Eclipse中,No grammar constraints (DTD or XML Schema) referenced in the document.

解决:Window--->Preference--->XML--->XML Files--->Validation将右边的Warning改为Ignore

Eclipse中,No grammar constraints (DTD or XML Schema) referenced in the document.

二:或者加如下代码:<!DOCTYPE xml>

Eclipse中,No grammar constraints (DTD or XML Schema) referenced in the document.