加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-16 07:55:14 所属栏目:百科 来源:网络整理
导读:如果我在最新的 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
如果我在最新的 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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读