Mantis Bugtracker
  

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

    - Relationships

    - Notes
    (0000748)
    anonymous
    01-20-06 03:23

    note: in the code above, the &lt;li&gt; and &lt;/li&gt; tags were not properly converted to entities by the bug reporting tool.
     
    (0001053)
    ferg
    04-07-06 13:18

    jsp/1g6d
     

    - Issue History
    Date Modified Username Field Change
    01-20-06 03:17 anonymous New Issue
    01-20-06 03:23 anonymous Note Added: 0000748
    04-07-06 13:18 ferg Note Added: 0001053
    04-07-06 13:18 ferg Assigned To  => ferg
    04-07-06 13:18 ferg Status new => closed
    04-07-06 13:18 ferg Resolution open => fixed
    04-07-06 13:18 ferg Fixed in Version  => 3.0.19


    Mantis 1.0.0rc3[^]
    Copyright © 2000 - 2005 Mantis Group
    30 total queries executed.
    26 unique queries executed.
    Powered by Mantis Bugtracker