xsl-list
[Top] [All Lists]

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

2014-10-19 11:04:22
Hi John,

On Sun, Oct 19, 2014 at 2:26 AM, John Lumley john(_at_)saxonica(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>