One detail I forgot…  getFOFormPageMaster template is defined in the first xsl:import (formBase.xsl).  Also, if I remove the xsl:import of packageCoversheet.xsl, Xalan-C++ testXSLT runs without error.

 

-----Original Message-----
From: Matthew James Hanson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 13, 2001 3:10 PM
To: [EMAIL PROTECTED]
Subject: Xalan-C++ xsl:import bug

 

The following abbreviated stylesheet was processed flawlessly using Xalan-J:

 

<xsl:stylesheet version="1.0"

                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

                xmlns:fo="http://www.w3.org/1999/XSL/Format">

               

        <xsl:import href=""formBase.xsl"/>

        <xsl:import href=""packageCoversheet.xsl"/>

 

             <xsl:output indent="yes"/>

             <xsl:template match="/">

                <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">               

                        <fo:layout-master-set>

                                <xsl:call-template name="getFOFormPageMaster"/>

                        </fo:layout-master-set>

                </fo:root>

        </xsl:template>

</xsl:stylesheet>

 

However, when using the testXSLT sample from Xalan-C++, the following error output is encountered:

 

========= Parsing formMaster.xsl ==========

Parse of formMaster.xsl took 300 milliseconds

========= Parsing 50 ==========

Parse of 50 took 190 milliseconds

=============================

Transforming...

XSL Warning: Could not find xsl:template named: getFOFormPageMaster

 

transform took 0 milliseconds

 

Total time took 190 milliseconds

 

Please help

Matt Hanson

 

Reply via email to