Вопрос

If I create a new GWT 2.6 project in the latest eclipse version (kepler), I always get the following warning message:

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

in my Module.gwt.xml next to the line:

<!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">

Should this file ("http://google-web-toolkit.googlecode.com/svn/tags/2.6.0/distro-source/core/src/gwt-module.dt") be available if I call it in the browser?

Or what does this error tell me? how can i resolve this warning?

Это было полезно?

Решение

There's already a bug report here.

For now, you can still use the one from 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">

UPDATE:

The new DTDs are now available here:

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

So for example:

http://www.gwtproject.org/doctype/2.8.0/gwt-module.dtd
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top