xsl-list
[Top] [All Lists]

Re: [xsl] Odd Result-Document Behavior

2015-12-23 13:27:54
I¹m pleased that I found a bug, sorry that¹s it there.

Cheers,

E.

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




On 12/23/15, 1:19 PM, "Michael Kay mike(_at_)saxonica(_dot_)com"
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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


--~----------------------------------------------------------------
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
--~--

<Prev in Thread] Current Thread [Next in Thread>