Re: [xsl] Odd Result-Document Behavior

Subject: Re: [xsl] Odd Result-Document Behavior
From: "Eliot Kimber ekimber@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Dec 2015 19:27:49 -0000
I9m pleased that I found a bug, sorry that9s it there.

Cheers,

E.

----
Eliot Kimber, Owner
Contrext, LLC
http://contrext.com




On 12/23/15, 1:19 PM, "Michael Kay mike@xxxxxxxxxxxx"
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

>>
>> It seems unlikely that this is a Saxon bug
>
>Guessing probabilities never got anyone anywhere ;-)
>
>The code looks something like this:
>
>if (getFormatExpression() != null) {
>            ...
>            // TODO: reinstate
>
>//            a chunk of commented out code
>
>I'm never sure when something like this happens whether it means that
>no-one uses the feature, or that no-one reports the bug when they find it
>doesn't work. But it certainly means that there aren't any tests for it.
>
>Logged as a bug at https://saxonica.plan.io/issues/2559. Affects both 9.6
>and 9.7.
>
>The old 9.5 implementation will no longer work because of the
>introduction of packages: xsl:output declarations are scoped to a package
>in 3.0, so the code has to search for an xsl:output declaration of the
>right name, but only in the package that contains the xsl:result-document
>instruction.
>
>Michael Kay
>Saxonica

Current Thread