Hmm, I'm not sure how removing the DOCTYPE declaration would have anything to do with this. :)
Looks like Tomcat's and Weblogic's deployments are more forgiving, whereas GlassFish deployment is more compliant with the spec.
[Message sent by forum member 'jluehe' (jluehe)]
http://forums.java.net/jive/thread.jspa?messageID=271128