[PATCH] Iteration tags do not synchronize scripting variables after doStartTag

2003-01-02 Thread Dimitry Ivanov
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

RE: [PATCH] Iteration tags do not synchronize scripting variables after doStartTag

2003-01-05 Thread Dimitry Ivanov
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

RE: [PATCH] Iteration tags do not synchronize scripting variables after doStartTag

2003-01-06 Thread Dimitry Ivanov
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

RE: [PATCH] Iteration tags do not synchronize scripting variables after doStartTag

2003-01-06 Thread Dimitry Ivanov
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

[PATCH] Iteration tags do not synchronize scripting variables after doStartTag

2003-01-06 Thread Dimitry Ivanov
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

RE: [PATCH] Iteration tags do not synchronize scripting variables after doStartTag

2003-01-07 Thread Dimitry Ivanov
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