Re: [xsl] Re: [saxon] How to make a simple running example using packages?

Subject: Re: [xsl] Re: [saxon] How to make a simple running example using packages?
From: "Dimitre Novatchev dnovatchev@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 19 Oct 2014 16:04:07 -0000
Hi John,

On Sun, Oct 19, 2014 at 2:26 AM, John Lumley john@xxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> For the moment, depending upon your situation, one of the following actions
> may help:
>
> 1. Ensure that *every* package is required, i.e. the stylesheet can be
> compiled only if every one of the supplied packages will be used. (If you're
> trying using different package-version alternates, only the first will be
> used and any subsequent ones will be compiled as 'separate stylesheets' and
> may cause this NPE)
>
> 2. Try putting the principal stylesheet as the *last* in the semi-colon
> separated list. Currently it will then be compiled last when essentially
> every other package has already been compiled into the library.
>
> Personally I'd try the second option as it's the easiest. As I said, we're
> looking into this area, but the implementation is still experimental.

Do you have a working example using approach 2. above, that you can share?

Thanks,
Dimitre

Current Thread