GWT – Module.gwt.xml – XML验证警告

如果我在最新的 eclipse版本(kepler)中创建了一个新的GWT 2.6项目,我总是收到以下警告消息:
The file cannot be validated as the XML deFinition "http://google-web-toolkit.googlecode.com/svn/tags/
 2.6.0/distro-source/core/src/gwt-module.dtd" that is specified as describing the Syntax of the file

在我的Module.gwt.xml旁边的行:

<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.6.0//EN"
"http://google-web-toolkit.googlecode.com/svn/tags/2.6.0/distro-source/core/src/gwt-module.dtd">

如果我在浏览器中调用文件(“http://google-web-toolkit.googlecode.com/svn/tags/2.6.0/distro-source/core/src/gwt-module.dt”)是否可用?

或者这个错误告诉我什么?我如何解决这个警告?

已经有一个错误报告 here.

现在,您仍然可以使用2.5.1中的一个

<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.5.1//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.5.1/distro-source/core/src/gwt-module.dtd">

更新:

新的DTD现在可以在这里找到:

http://gwtproject.org/doctype/<version-number>/gwt-module.dtd

所以例如:

http://gwtproject.org/doctype/2.8.0/gwt-module.dtd

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念