On 19/10/2014 01:37, Dimitre Novatchev dnovatchev(_at_)gmail(_dot_)com 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(_at_)saxonica(_dot_)com <mailto:john(_at_)saxonica(_dot_)com>
on behalf of Saxonica Ltd
--~----------------------------------------------------------------
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
--~--