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 2015/03/13 16:01:23 UTC

[Bug 57703] New: Update http-methodType definition in web-app_2_5.xsd according with Servlet 2.5 mrel2

https://bz.apache.org/bugzilla/show_bug.cgi?id=57703

            Bug ID: 57703
           Summary: Update http-methodType definition in web-app_2_5.xsd
                    according with Servlet 2.5 mrel2
           Product: Tomcat 6
           Version: 6.0.43
          Hardware: PC
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Servlet & JSP API
          Assignee: dev@tomcat.apache.org
          Reporter: knst.kolinko@gmail.com

For reference:
[1] https://wiki.apache.org/tomcat/Specifications
[2]
https://jcp.org/aboutJava/communityprocess/maintenance/jsr154/JSR154ChangeLog.html

There exists two versions of Servlet 2.5 specification [1]:
1) "Maintenance Release", 11 May, 2006
2) "Maintenance Release 2", 11 Sep, 2007

I do not have a copy of "1)", but my copy of "2)" (servlet-2_5-mrel2-spec.pdf)
has "Version 2.5 MR6" on its front page. It aligns with change log numbering
[2] and with "Change Log" section of the PDF file.

So I am looking at "Changes since Servlet 2.5 MR 5" section of the PDF.

There are two clarifications and one change to the deployment descriptor.

[quote]
The facet for http-method element in the deployment descriptor is currently
more
restrictive than the http specification. The following change is being made to
the
descriptor to allow the set of method names as defined by the http
specification. The
pattern value of http-methodType is being changed from
<xsd:pattern value="[\p{L}-[\p{Cc}\p{Z}]]+"/>
to closely match what the http specification lists as allowable http methods
names.
<xsd:pattern value="[&#33;-&#126;-[\(\)&#60;&#62;@,;:&#34;/
\[\]?=\{\}\\\p{Z}]]+"/>
[/quote]

This change is not present in our copy of 
java\javax\servlet\resources\web-app_2_5.xsd  in Tomcat 6, nor in 7/8/trunk.

For later version of specification the correct value is present in
web-common_3_0.xsd

-- 
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 57703] Update http-methodType definition in web-app_2_5.xsd according with Servlet 2.5 mrel2

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57703

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Fixed in trunk, 8.0.x (for 8.0.21 onwards) and 7.0.x (for 7.0.60 onwards).

Proposed for 6.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


[Bug 57703] Update http-methodType definition in web-app_2_5.xsd according with Servlet 2.5 mrel2

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57703

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Fixed in 6.0.x for 6.0.44 onwards.

-- 
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