Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-383

xmlbeans magic allows us to accept some invalid deployment descriptors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0-M2
    • Wish List
    • deployment
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: