Eclipse警告: No grammar constraints (DTD or XML Schema) referenced in the document.
在XML 定义下方添加 DOCTYPE
<?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">
听说<!DOCTYPE html>这样也行,没试过