[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: [saxon] How to make a simple running example

Subject: Re: Re: [saxon] How to make a simple running example using packages?
From: "John Lumley john@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Oct 2014 10:00:16 -0000
Re:  Re: [saxon] How to make a simple running example
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.