Harald --

This should be working properly in Xalan2J.  How are you kicking off the
build of the Templates object?  You might try doing a setSystemId(..)
call on your stylsheet Source to let XalanJ2 know where it is.

Gary

Harald Hett wrote:
> 
> Hi,
> while switching from Xalan1.2j to Xalan2j,
> I encountered a strange behaviour with xsl:import.
> 
> setting:
>   In a directory style lie the two files main.xsl and parameters.xsl.
>   The file main.xsl imports the script parameters.xsl with
>     <xsl:import href="parameters.xsl"/>
>   In a different directory (work) lie all the xml files to process and
>   a script, that starts the processing.
> 
> problem:
>   Up to now the processor has found the imported file in style.
>   But with Xalan 2 (using TRaX), the processor tries to find
>   it in the directory work.
> 
> Is this a feature or a bug? And how can I set the old behavior?
> 
> Thanks in advance!
> --
> Harald Hett <[EMAIL PROTECTED]>
> Gesellschaft für integrierte Systemplanung
> 
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     [EMAIL PROTECTED]
> To unsubscribe, e-mail:          [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to