Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1348 | major | always | 09-15-06 05:26 | 05-15-07 16:39 | |
|
|||||
Reporter: | Victor | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.21 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.2 | ||
|
|||||
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}"/> |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|