Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000275 [Resin] minor always 06-20-05 00:00 11-30-05 14:43
Reporter sam View Status public  
Assigned To
Priority urgent Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.15 Product Version 3.0.13
  Product Build 3.0.13
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
Attached Files

- Relationships

- Notes
(0000308)
sam
06-20-05 00:00

xsl/04bb
 
(0000309)
ferg
06-20-05 00:00

xsl/04aq
 

- Issue History
Date Modified Username Field Change
06-20-05 00:00 sam New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.15
11-30-05 14:43 ferg Status resolved => closed


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