Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
889 | tweak | always | 01-20-06 03:17 | 04-07-06 13:18 | |
|
|||||
Reporter: | anonymous | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.17 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.19 | ||
|
|||||
Summary: | 0000889: Resin JSTL /Xalan / Xerces | ||||
Description: |
Example JSP code Use of xerces w/ resin fast-jstl results in erronous output; x:out prints nothing. [code] <%-- -------------------------- [ index.jsp ]------------ --%> <%@ page contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1" %> <%@ taglib uri="http://java.sun.com/jstl/xml" [^] prefix="x" %> <x:parse var="doc" scope="request"> <favorites> <link name="Site 1" site="http://www.example.com/site1" [^] /> <link name="Site 2" site="http://www.example.com/site2" [^] /> </favorites> </x:parse> <html> <head> <title>Test Application</title> </head> <body> <ol type="1"> <x:forEach var="element" select="$doc/favorites/link"> <a href="<x:out select="$element/@url" />”> <x:out select="string($element/@name)" /> </a> </x:forEach> </body> </html> <%-- -------------------------- [ end index.jsp ]------------ --%> [/code] |
||||
Steps To Reproduce: | |||||
Additional Information: |
Disabling fast-jstl, by creating the resin-web.xml -file in the web-application's WEB-INF folder, with the following content fixes the problem; [code] <!-- WEB-INF/resin-web.xml --> <web-app id="/testapp"> <jsp fast-jstl="false"/> </web-app> [/code] |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|