.dtd files moved?

719 views
Skip to first unread message

jake88

unread,
Jul 19, 2018, 5:38:21 PM7/19/18
to GWT Users
Did all of the documents under: http://gwtproject.org/doctype/ get moved?

I updated to the directions in this stack post some time ago, but the links are broken: https://stackoverflow.com/questions/22865648/gwt-module-gwt-xml-xml-validation-warning


Thomas Broyer

unread,
Jul 20, 2018, 3:45:32 AM7/20/18
to GWT Users
It looks like there's a redirection from http://gwtproject.org/whatever to http://www.gwtproject.org/ so you need to use http://www.gwtproject.org/doctype/2.8.0/gwt-module.dtd rather than http://gwtproject.org/doctype/2.8.0/gwt-module.dtd

But, really, if you ask me, you'd better not use a DTD at all. The only goal of the DTDs was to enable autocompletion in IDEs "for free" (without the need for a GWT-specific plugin). If you prepare for GWT3, you shouldn't have many things in you gwt.xml files besides <inherits>, <entry-point>, <source> and <super-source> (and some <define-property>, <set-property>, et al.; specifically, you should have fewer and fewer <replace-with> and <generate-with>), and that's not something you edit often anyway.

jake88

unread,
Jul 20, 2018, 10:33:46 PM7/20/18
to GWT Users
Ok much appreciated and thank you for the advice.
Reply all
Reply to author
Forward
0 new messages