geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@geronimo.apache.org
Subject [jira] Updated: (GERONIMO-383) xmlbeans magic allows us to accept some invalid deployment descriptors
Date Sun, 24 Oct 2004 18:25:26 GMT
The following issue has been updated:

    Updater: David Jencks (mailto:djencks@apache.org)
       Date: Sun, 24 Oct 2004 11:25 AM
    Changes:
             assignee changed to David Jencks
             Component changed to deployment
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/GERONIMO-383?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/GERONIMO-383

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GERONIMO-383
    Summary: xmlbeans magic allows us to accept some invalid deployment descriptors
       Type: Bug

     Status: Open
   Priority: Major

    Project: Apache Geronimo
 Components: 
             deployment
   Versions:
             1.0-M2

   Assignee: David Jencks
   Reporter: David Jencks

    Created: Sun, 17 Oct 2004 4:12 PM
    Updated: Sun, 24 Oct 2004 11:25 AM

Description:
The element reordering and other xmlbeans magic we do to convert pre-1.4 deployment descriptors
to 1.4 versions can have the unintended side effect of converting invalid 1.4 descriptors
to valid ones.  This has been fixed in SchemaConversionUtils.convertToServletSchema for servlet
1.3 web.xml.  We should apply this same fix of checking for namespace before conversion to
other modules (ejb etc) and extend the checking to:

1. look for the DOCTYPE using xmlbeans

2. converting to a made-up namespace for that dtd

3. validating against xmlbeans objects for the schema corresponding to the dtd.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message