Project

Profile

Help

Bug #5274

closed

xsl:template with name="xsl:initial-template" returns None

Added by O'Neil Delpratt over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Python
Start date:
2022-02-03
Due date:
% Done:

100%

Estimated time:
Found in version:
11.1
Fixed in version:
11.2
Platforms:

Description

Reported by user here: https://saxonica.plan.io/boards/4/topics/8455

When None is passed to the call_template_returning_string() method on the Xslt30Executable class it does not call the xsl:initial-template

Actions #1

Updated by O'Neil Delpratt over 2 years ago

  • Status changed from New to Resolved

I have reproduced the issue and committed the fix. Available for the next maintenance release.

Fix made in the call_template_returning_string method of PyXslt30Executable.

Actions #2

Updated by O'Neil Delpratt over 2 years ago

Also fix applied to call_template_returning_file

Actions #3

Updated by O'Neil Delpratt over 2 years ago

Added unit tests for both call_template_returning_string and call_template_returning_file

Actions #4

Updated by Debbie Lockett over 2 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 11.2

Bug fix applied in the Saxon 11.2 maintenance release.

Please register to edit this issue

Also available in: Atom PDF