geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anita kulshreshtha (JIRA)" <>
Subject [jira] Created: (GERONIMO-1008) Leading blank lines in <url-pattern>
Date Tue, 13 Sep 2005 15:30:55 GMT
Leading blank lines in <url-pattern>

         Key: GERONIMO-1008
     Project: Geronimo
        Type: Bug
  Components: web  
    Versions: 1.0-M4    
 Environment: all
    Reporter: anita kulshreshtha
    Priority: Minor

   This issue was discussed in GERONIMO-654. Leading blank lines in the <url-pattern>
element  of the deployment descriptor are not stripped. Hence the deployer gives the following
error :
 Error: Unable to distribute jsp-examples.war: <url-pattern> must not
 contain LF(#xA)

Servlet 2.4 spec, SRV 13.2 says : 
. Web containers must remove all leading and trailing whitespace, which is defined as "S(white
space)" in XML 1.0 (, for the element content
of the text nodes of a deployment descriptor.
. URI paths specified in the deployment descriptor are assumed to be in URLdecoded form. The
containers must inform the developer with a descriptive error message when URL contains CR(#xD)
or LF(#xA). The containers must preserve all other characters including whitespace in URL.
    After talking to Tomcat folks and IMHO we should allow

        and give error message for :

   This applies to both web containers.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message