Re: Package tests and Unicode

> On 8 Sep 2016, at 17:00, Abel Braaksma <abel.braaksma@xs4all.nl> wrote:
> 
> I've committed some tests for Unicode 9.0. As support for that is optional, I added a dependency on Unicode and updated the catalog schema: <unicode-version value="9.0" satisfied="true"/>.
> 
> In addition, I am wondering about the syntax for packages. We currently have:
> 
> <package file="package-version-001.xsl" package-version="1.0" uri="urn:simple" role="secondary" />
> 
> This is rather cumbersome. I propose to allow a simpler syntax:
> 
> <package file="package-version-001.xsl"/>
> 
> Which is then a short-hand for loading the referenced file, setting the package-version to the version of the package (if any), the name of the package to the @uri value and its role by default to secondary.
> 
> We may add this to today's telcon for a brief discussion if we have time :).
> 
> Thanks,
> Abel
> 
> 

I think we need to be able to distinguish which is the top-level ("principal") package.

We currently use only the "role" and "file" attributes, losing the package-name and package-version would be no loss. Having @role default to "secondary" would be a one-line change to our test driver.

Michael Kay
Saxonica

Received on Thursday, 8 September 2016 17:12:03 UTC