https://issues.apache.org/bugzilla/show_bug.cgi?id=55219

            Bug ID: 55219
           Summary: Simplify version detection in WebXml
           Product: Tomcat 8
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: jboy...@apache.org

WebXml has two ways of detecting the version of the web application. 

setPublicId() handles all versions but only actually needs to deal with the
DTD-based descriptors (2.2 and 2.3).

setVersion() treats the version attribute as a numeric value and parse out
major and minor based on decimal values. However, each version of the spec
defines a literal String that could be matched directly instead. It also only
needs to handle XSD-based descriptors (2.4 and later).

As a minor note, the string id "webxml.unrecognisedPublicId" is inconsistent
with other values (it has a lower case X)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to