Problem editing the glassfish-web.xml file with Eclipse
I'm using Eclipse Kepler with the Oracle Enterprise Pack plugin installed. I created a new dynamic web project and specified Glassfish 4.0 as the target runtime. I also let eclipse create the web.xml which for GlassFish is actually glassfish-web.xml. So far so good, but when I try to edit the file, I get errors. The glassfish-web-app element type as well as the context-parameter types, etc, must be declared. Is there a particular editor that I should be using (none of the installed editors have an glassfish label on them). It might also be that the default DOCTYPE header is wrong (shown below). Any suggestions or corrections?
"-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN"