Anonymous | Login | Signup for a new account | 12-17-2024 11:55 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000889 | [Resin] | tweak | always | 01-20-06 03:17 | 04-07-06 13:18 | ||||
Reporter | anonymous | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.0.19 | Product Version | 3.0.17 | ||||
Product Build | |||||||||
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] |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |