One more ( today is my jaspers day :-):

in Validator.PageDirectiveVisitor, there is a check for the syntax of the 
buffer attribute:

        if (value == null || !value.endsWith("kb"))
            err.jspError(n, "jsp.error.buffer.invalid");

Well, my reading of the spec is that:

 <%@page buffer="10" %> 
means 10 kb, and 
  buffer=none|8kb|sizekb
is interpreted as an int that represents the size in kb, without
requiring the 'kb' extension.

The JSP1.1 ( and previous jaspers ) didn't require that ( AFAIK ), so 
that would brake backward compat. It'll also brake a lot of pages.



Costin


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to