DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6298>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6298

Unable to import stylesheets that include same-named templates as importing stylesheet

           Summary: Unable to import stylesheets that include same-named
                    templates as importing stylesheet
           Product: XalanJ2
           Version: 2.2.x
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Stylesheet x contains a named template intended as a general 
implementation, overrideable, if necessary, by stylesheets that import x.

Whenever I try to process using stylesheet that tries to implement (i.e. 
subclass) the template (called 'do-generate-file') I get the following error:

(Location of error unknown)XSLT Error
(javax.xml.transform.TransformerConfigurationException):
javax.xml.transform.TransformerException: java.lang.RuntimeException:
ElemTemplateElement error: Found more than one template named:
do-generate-file
Error running xalan transformation 65280

I've tried futzing with priority, to no avail.

I'm initiating the transform from the command line with 
org.apache.xalan.xslt.Process -in x, -xsl x

According to the documentation I've read, I should be allowed to do this.

Reply via email to