If you look in <glassfish>/lib/dtds/application_1_3.dtd, you see...
This is the XML DTD for the J2EE 1.3 application deployment
descriptor. All J2EE 1.3 application deployment descriptors
must include a DOCTYPE of the following form:
<!DOCTYPE application PUBLIC
"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
This is very useful and complete information for developers.
If you look at sun-web-app_2_5-0.dtd, you see this:
The PUBLIC ID (defined in DOCTYPE) associated with this dtd is:
"-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN"
This isn't quite as complete. When a user needs to create a sun-web.xml, they
will need to hunt around to find the SYSTEM ID (the http://.... part) that
should probably be added to the DOCTYPE declaration that they add to the top of
Of the 44 dtds in <glassfish>/lib/dtd only about 15 have ANY information about
the DOCTYPE that authors (or tools) should use to identify the content of the