[Koha-bugs] [Bug 11826] Improving code for XSLT handling

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 12 13:02:19 CEST 2014


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

--- Comment #23 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Martin Renvoize from comment #20)
> 3. I believe this enforces a more strict behaviour when using remote
> stylesheets. (I found that pre patch, you could use the directory path in
> the Utils import within your remote sheet and it would be relative to root
> on the local system. However, after the patch, I had to also host the Utils
> file remotely and link import that one in the remote stylesheet)

A relative path in the remote stylesheet is resolved within the remote current
working directory. The old behavior of reading the text with GetURI and
resolving the import path against the root of the local system was a
side-effect that we should not want [to rely on].

> 4. It would be 'nice' to have some warning added to enable tracking through
> errors when a sheets fails to load. however, handling here is preferable to
> existing behaviour of falling back to an unhandled error in the browser.

I am attaching a QA follow-up that adds printing warns (via STDERR to the
logfile) by default. Actually, that was former implicit behavior. You can now
also disable that by saying $engine->print_warns(0).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list