Title: Сообщение
Hello,
In jasper2, I
have found one interesting bug. It hapens when tag implements
BodyTag
interface and doStartTag returns EVAL_BODY_INCLUDE.
See test-case
and patch attached. The patch tested under Tomcat
4.1.18.
WBR,
Dimitry
Ivanov
taglib-test-case.war
Dear Tomcat developers,
What do you think about described bug?
I know, my English is not good. Is it possible to understand my letter?
-Original Message-
From: Dimitry Ivanov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 02, 2003 8:31 PM
To: [EMAIL PROTECTED]
Subject: [PATCH
Jan,
Two quotes from JSP.10.2.2 ("BodyTag") in JSP 1.2 spec.
Quote 1 (on page 177 second paragraph):
"If EVAL_BODY_INCLUDE is returned, then evaluation happens as in
Iteration-
Tag."
Quote 2 (on page 178, last paragraph):
"If EVAL_BODY_INCLUDE is returned, setBodyContent() is not invoked,
doIn
Oh sorry... You right. It generates ivalid code when EVAL_BODY_BUFERRED
has returned...
I will correct it in several minutes.
-Original Message-
From: Dimitry Ivanov [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 5:42 AM
To: 'Jan Luehe'
Cc: 'Tomcat Developer
2nd attempt.
Tested with Tomcat 4.1.18.
-Original Message-
From: Dimitry Ivanov [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 5:48 AM
To: 'Jan Luehe'
Cc: 'Tomcat Developers List'
Subject: RE: [PATCH] Iteration tags do not synchronize scripting
variab
Jan,
I'm not agree. :)
In accordance to spec JSP.10.2.2 (BodyTag):
"If EVAL_BODY_INCLUDE is returned, then evaluation happens as in
IterationTag."
The scripting variable synchronization is part of evaluation, isn't it?
I think, if container doesn't synchronize scripting variables it
explicitly