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

Subject: Re: [saxon] [xsl] Re: How to make a simple running example using packages?
From: "Dimitre Novatchev dnovatchev@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Oct 2014 14:10:31 -0000
Thank you John,

Now the example works!

Cheers,
Dimitre

On Mon, Oct 20, 2014 at 2:59 AM, John Lumley <john@xxxxxxxxxxxx> wrote:
> On 19/10/2014 01:37, Dimitre Novatchev dnovatchev@xxxxxxxxx wrote:
>> C:\xml\XSLT3.0>"C:\Program Files\Java\jre7\bin\java.exe" -Xms1024M
>> -Xmx1024M  -jar C:\xml\Parsers\Saxon\Ver.9.6\saxon9ee.jar  -t
>> -repeat:1  t.xml  using-package.xsl;complex-arithmetic.xsl
> Dimitre,
>
> This is now resolved. See https://saxonica.plan.io/issues/2190.
> Basically the steps are:
>
>  1. add |package-version=".*"| to any |xsl:use-package| lacking that
>     attribute.
>  2. make the principal stylesheet the *last* in the semicolon-separated
>     list of stylesheet/packages, rather than the first as given in
>     current documentation. This ensures the principal stylesheet is
>     compiled last after all possible packages.
>
> For your example the order of the packages doesn't matter (I've checked
> it running with either order), but in cases where there may be packages
> that are unused, placing the principal stylesheet last will help for the
> moment. Note the next maintenance release will support default package
> version requests, as well as comforming to the package-version syntax of
> the specification, though complex dependency orders may not be supported.
>
> Thanks for raising this, even if it's in the 'experimental wing'
>
> John
>
>
>
> --
> *John Lumley* MA PhD CEng FIEE
> john@xxxxxxxxxxxx <mailto:john@xxxxxxxxxxxx>
> on behalf of Saxonica Ltd
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> saxon-help@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/saxon-help

Current Thread