PQ73595: TSX:REPEAT TAG GENERATES IMCOMPLETE ELEMENT

 A fix is available

5.0.2: WebSphere Application Server Version 5.0 Fix Pack 2 (Version 5.0.2)



APAR status
Closed as program error.

Error description
Tsx:repeat tag not working properly
The loop processing using <tsx:repeat>tag of IBM extensions to
JSP. Syntax can not be finished nomally
JSP TSX TAG LIBRARY REPEAT WASENG
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of a      *
*                 repeat tag.                                  *
****************************************************************
* PROBLEM DESCRIPTION: Repeat tag generates incomplete         *
*                      element.                                *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The last element could be incomplete if a repeat body throws
an exception.  The incomplete element should be discarded.
Problem conclusion
Additional layer of buffering for repeat tag body. If the body
finishes normally, the buffered element is pushed into the
repeat tag output, otherwise, the buffer is cleared.
JSP tag generator code has been modified to fix the problem.
Temporary fix
Another layer of buffered JspWriter has been added
to buffering an element in a repeat tag.
If the element successfully generated, the result will be
write out to its parent JspWriter. In case an exception
thrown in the element generation, the partially generated
element will be discarded.
All exceptions are absorbed, JSP will not recevie any
exception according to the spec.
If the exception is used for loop termination,  bufferred
output will be write out to response. All other exception will
clear buffer, nothing from the repeat tag will go to response.
A stack trace log will be generated if any unwanted exception
is thrown in a repate tag.
Comments
APAR information
APAR number PQ73595
Reported component name WAS BASE 5.0
Reported component ID 5630A3600
Reported release 00W
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2003-04-28
Closed date 2003-06-09
Last modified date 2003-06-09

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
TSXTAG          

Publications Referenced

Fix information

Applicable component levels
R003 PSY    UP
R00A PSY    UP
R00H PSY    UP
R00I PSY    UP
R00S PSY    UP
R00W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 00W
Software edition:
Reference #: PQ73595
IBM Group: Software Group
Modified date: Jun 9, 2003