|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 30 | minor | always | 03-11-05 00:00 | 05-11-05 00:00 | |
|
|
|||||
| Reporter: | bearbibeault | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | |||
| Product Build: | Resolution: | unable to reproduce | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.0.13 | ||
|
|
|||||
| Summary: | 0000030: Translation error when single quotes used in <jsp:include> action | ||||
| Description: |
RSN-21 The following simplified JSP fails to translate: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" [^] %> <% request.setAttribute( "xyz", "r2.jsp" ); request.setAttribute( "ok", Boolean.TRUE ); %> <html> <body> <h1>Resin include test</h1> <c:if test="${ok}"> <jsp:include page='<%= request.getAttribute( "xyz" ).toString() %>'/> </c:if> </body> </html> with error 500 Servlet Exception /r.jsp:1: com.caucho.xml.XmlParseException: stream:14: attribute `xyz' expects value at `"'. XML requires attributes to have explicit values. Resin-3.0.12 (built Wed, 23 Feb 2005 10:29:38 PST) The strange part is, I tried it not nested in the <c:if> and it failed once, but then worked on subsequent hits. With the <c:if> added (which more closely mimics the page where I originally observed the problem), I cannot get it to work after repreated hits. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | Resin 3.0.12, JDK 1.4.2, Win2K | ||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||