[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Odd Result-Document Behavior

Subject: Re: [xsl] Odd Result-Document Behavior
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Dec 2015 19:19:16 -0000

> 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

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

Current Thread