Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
275 | minor | always | 06-20-05 00:00 | 11-30-05 14:43 | |
|
|||||
Reporter: | sam | Platform: | |||
Assigned To: | OS: | ||||
Priority: | urgent | OS Version: | |||
Status: | closed | Product Version: | 3.0.13 | ||
Product Build: | 3.0.13 | Resolution: | fixed | ||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.15 | ||
|
|||||
Summary: | 0000275: xsl:template named template override | ||||
Description: |
RSN-310 (rep by C Yttesen) Having a "template.xsl" file defining the layout structure of my page I'am using xsl:import to import this file in the "real" page and just overriding/redefining appropriate templates: template.xsl: ------------- <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> [^] <xsl:template name="title" /> ... <xsl:template name="body" /> </xsl:stylesheet> dummy.xsl: ---------- <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> [^] <xsl:import href="template.xsl" /> <xsl:template name="title">my redefined title</xsl:template> </xsl:stylesheet> Having Resin transforming it complains about: com.caucho.java.JavaCompileException: file:///[file [^] path removed]: _xsl_macro_title(com.caucho.xsl.XslWriter,org.w3c.dom.Node,com.caucho.xp ath.Env) is already defined in [file path removed] void _xsl_macro_title(XslWriter out, Node inputNode, Env env) Looking at the generated Java file, the method signature for e.g. '_xsl_macro_title' occurs twice. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|