[ http://issues.apache.org/jira/browse/GERONIMO-383?page=all ]

David Jencks updated GERONIMO-383:
----------------------------------

    Fix Version/s: Wish List
                       (was: 1.x)
         Assignee:     (was: David Jencks)

I doubt I will have time to look into this in the forseeable future.

> xmlbeans magic allows us to accept some invalid deployment descriptors
> ----------------------------------------------------------------------
>
>                 Key: GERONIMO-383
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-383
>             Project: Geronimo
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.0-M2
>            Reporter: David Jencks
>             Fix For: Wish List
>
>
> 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.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to