APAR status
Closed as program error.
Error description
Multiple Includes of tag libraries in JSP pages causes XML
Parsing exception when JSP is compiled.
Theis JSP will fail with the exception shown below:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<html>
<head><title>Test</title></head>
<body>
Test
</body>
</html>
[4/4/05 13:46:53:673 EDT] 7085e921 WebGroup E SRVE0026E:
[Servlet Error]-[<h3>Validation error messages from tag
library c</h3>org.xml.sax.SAXParseException: Attribute
"c" bound to namespace
"http://www.w3.org/2000/xmlns/" was already specified
for element "jsp:root".]:
org.apache.jasper.JasperException: <h3>Validation error messages
from tag library c</h3>org.xml.sax.SAXParseException: Attribute
"c" bound to namespace "http://www.w3.org/2000/xmlns/" was
already specified for element "jsp:root".
at
org.apache.jasper.compiler.JspParseEventListener.validate(JspPar
seEventListener.java:1344)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:236)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:129)
at
com.ibm.ws.webcontainer.jsp.servlet.JspServlet.loadJSP(JspServle
t.java:956)
at
com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper
.loadIfNecessary(JspServlet.java:285)
at
com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper
.service(JspServlet.java:317)
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users who *
* have declared a taglib twice in their jsp. *
****************************************************************
* PROBLEM DESCRIPTION: An exception is thrown if the same *
* taglib is declared twice with the *
* same prefix and uri. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
Validation fails when there is a jsp which has the same taglib
declared twice.
Problem conclusion
If the namespace has already been added for a taglib, do not
add it twice. This APAR is scheduled to be available in
5.02.12 and 5.1.1.5. See the the Recommended Updates page:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
for delivery dates and more information on this APAR.
Temporary fix
Sent test fix to customer.
Comments
APAR information |
APAR number |
PK04087 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
10W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2005-04-12 |
Closed date |
2005-05-31 |
Last modified date |
2005-05-31 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
|
Fix information |
Fixed component name |
WAS BASE 5.0 |
Fixed component ID |
5630A3600 |
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|