Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GWT - Module.gwt.xml - XML validation warning

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?

like image 729
jan Avatar asked Apr 04 '14 14:04

jan


1 Answers

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
like image 55
Baz Avatar answered Nov 04 '22 17:11

Baz