You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/07/09 09:38:52 UTC
[Bug 55219] New: Simplify version detection in WebXml
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: jboynes@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 55219] Simplify version detection in WebXml
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55219
Jeremy Boynes <jb...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 55219] Simplify version detection in WebXml
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55219
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Thanks. This has beeen fixed in trunk based on the larger patch you submitted
for bug 55166. It will be included in 8.0.x.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org