Project

Profile

Help

Bug #5274

closed

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

Added by O'Neil Delpratt almost 3 years ago. Updated almost 3 years ago.

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

100%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
11.1
Fixed in version:
11.2
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

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 almost 3 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 almost 3 years ago

Also fix applied to call_template_returning_file

Actions #3

Updated by O'Neil Delpratt almost 3 years ago

Added unit tests for both call_template_returning_string and call_template_returning_file

Actions #4

Updated by Debbie Lockett almost 3 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