Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001348 [Resin] major always 09-15-06 05:26 05-15-07 16:39
Reporter Victor View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.21
Summary 0001348: x:transform do not work with standart web.xml
Description I've got transformer exception when I put this web.xml to /WEB_INF

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd"> [^]
<web-app>
 <!-- any tags -->
</web-app>


Jsp file example. (from "JSTL in Action")

<%@ taglib uri="http://java.sun.com/jstl/core_rt" [^] prefix="c" %>
<%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml" [^] %>

<c:set var="xml">
  <paragraph>
     This document uses <bold>unusual</bold> markup,
     which we want to replace with <bold>HTML</bold>.
  </paragraph>
</c:set>

<c:set var="xsl">
  <?xml version="1.0"?>
  <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" [^] version="1.0">
  <xsl:template match="paragraph">
    

<xsl:apply-templates/>


  </xsl:template>
  <xsl:template match="bold">
    <xsl:value-of select="."/>
  </xsl:template>
  </xsl:stylesheet>
</c:set>

<x:transform doc="${xml}" xslt="${xsl}"/>
Additional Information
Attached Files

- Relationships

- Notes
(0001929)
ferg
05-15-07 16:39

jsp/1m65
 

- Issue History
Date Modified Username Field Change
09-15-06 05:26 Victor New Issue
05-15-07 16:39 ferg Note Added: 0001929
05-15-07 16:39 ferg Assigned To  => ferg
05-15-07 16:39 ferg Status new => closed
05-15-07 16:39 ferg Resolution open => fixed
05-15-07 16:39 ferg Fixed in Version  => 3.1.2


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