https://issues.apache.org/bugzilla/show_bug.cgi?id=50194
Mark Thomas <ma...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Mark Thomas <ma...@apache.org> 2010-11-12 13:53:18 EST --- There are a handful of different specifications involved here. First of all there is the JSP 2.1 specification. It states in Table JSP.1-9 that: A prefix must follow the naming convention specified in the XML namespaces specification. So far so good, '-' is permitted by the XML namespaces specification. Then we move to the EL 2.1 specification. Unfortunately, it is more restrictive. 1.15 defines the syntax as: [ns:]f([a1[,a2[,...[,an]]]]) where ns is a namespace. Again, so far so good. However in the collected syntax there is the following: FunctionInvocation::=(Identifier ‘:’)? Identifier ‘(‘ ( Expression ( ‘,’ Expression )* )? ‘)’ and Identifier ::= Java language identifier So the namespace also has to comply with the rules for Java Language Identifiers which do not permit the use of '-'. Tomcat's EL processing has been made gradually more specification compliant as bugs have been raised that highlight various issues caused by a relaxed interpretation of the specification. I suspect the change between 6.0.18 and 6.0.29 was as a result of one of these. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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