jan*_*jan 18 xml validation gwt doctype
如果我在最新的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
Run Code Online (Sandbox Code Playgroud)
在我的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">
Run Code Online (Sandbox Code Playgroud)
该文件(" http://google-web-toolkit.googlecode.com/svn/tags/2.6.0/distro-source/core/src/gwt-module.dt ")是否可用,如果我在浏览器吗?
或者这个错误告诉我什么?我该如何解决这个警告?
Baz*_*Baz 40
这里已经有错误报告了.
目前,您仍然可以使用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">
Run Code Online (Sandbox Code Playgroud)
更新:
新的DTD现在可以在这里找到:
http://www.gwtproject.org/doctype/<version-number>/gwt-module.dtd
Run Code Online (Sandbox Code Playgroud)
例如:
http://www.gwtproject.org/doctype/2.8.0/gwt-module.dtd
Run Code Online (Sandbox Code Playgroud)