[Koha-bugs] [Bug 4032] XSLT systempreference should take a path to file rather than YesNo

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 13 14:41:34 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4032

--- Comment #27 from stephane.delaune at biblibre.com ---
(In reply to comment #26)
> I tried putting the OPAC xsl files on a different server and linking to them
> via a full URL and I'm getting this error:
> 
> I/O warning : failed to load external entity "MARC21slimUtils.xsl"
> compilation error: file unknown-a19e318 element import
> xsl:import : unable to load MARC21slimUtils.xsl
>  at /home/oleonard/kohaclone/C4/XSLT.pm line 214
> 
> I have copied MARC21slimUtils.xsl to the same remote directory as the OPAC
> detail xsl file. Is there something else I'm missing?

It is normal, it come from your xsl file that uses a relative path.
if your syspref OPACXSLTDetailsDisplay have as value :
"http://www.myurl.com/myxslfiles/MARC21slim2OPACDetail.xsl"
you need edit this file (MARC21slim2OPACDetail.xsl) to replace the line :
<xsl:import href="MARC21slimUtils.xsl"/>
with this :
<xsl:import href="http://www.myurl.com/myxslfiles/MARC21slimUtils.xsl"/>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list