[OS-JIRA] Created: (WOL-840) web.xml: element ordering issue / invalid XML

From: Ulrich Kohlhase (JIRA) ("Ulrich)
Date: Thu Jun 26 2008 - 20:53:08 EDT

  • Next message: Oswaldo V. C. Bueno (JIRA): "[OS-JIRA] Created: (WOL-841) Entity Modeler - unable to copy entities or atributes"

    web.xml: element ordering issue / invalid XML
    ---------------------------------------------

                     Key: WOL-840
                     URL: http://issues.objectstyle.org/jira/browse/WOL-840
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: wolips, woproject
        Affects Versions: WOLips 3.3.* Next Stable Build
             Environment: Mac OS X Leopard, Eclipse 3.4
                Reporter: Ulrich Kohlhase
                Priority: Critical

    Problem:
    In the generated web.xml, the context-param element for WEBINFROOT is written at the end of this file but should be placed at the beginning of this file along with all the other context-param elements. An XML validation according to the Java servlet 2.2 DTD (http://java.sun.com/j2ee/dtds/web-app_2_2.dtd) will fail. This is a major problem for Glassfish since this application server automatically validates on (WAR file) deployment and the SAX parser chokes.

    Solution:
    During web.xml generation, make sure elements are appended according to the DTD specified in the web.xml.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Thu Jun 26 2008 - 20:53:52 EDT