Placing it in SYNAPSE_HOME should indeed be a valid workaround. Note
that for WSDLs we have a proper mechanism to handle this case. We
should apply this to XSLTs as well. Can you open a JIRA issue with
this, so that we can track this enhancement request?

Andreas

On Thu, Dec 18, 2008 at 17:48, Asankha C. Perera <[email protected]> wrote:
>
>> I have an XSLT which includes another stylesheet,
>> e.g. main.xsl has this line:
>>
>> ? <xsl:include href="math.xsl"/>
>>
>> and the XSLT mediator refers to the main stylesheet in the local registry:
>>
>> ? <localEntry key="XSL_main" src="file:///C:/foo/bar/xsl/main.xsl"/>
>> ? ...
>> ? <xslt key="XSL_main"/>
>> (yes, it's a pity the xslt mediator does not support a src attribute
>> directly),
>> When the transform runs I get these errors:
>>
>> ? SystemId Unknown; Line #6; Column #34; Had IO Exception with stylesheet
>> file: math.xsl
>>
>> The included file math.xsl is in the same directory as main.xsl, and
>> xsl:include with a relative URL should be resolved relative to the including
>> document base URI, but obviously the XSLT processor cannot find it.
>>
>
> Try placing the includes in the SYNAPSE_HOME
>
> cheers
> asankha
>
> --
> Asankha C. Perera
> http://adroitlogic.org
>
> http://esbmagic.blogspot.com
>
>

Reply via email to