Project

Profile

Help

Bug #5751

closed

On SaxonCS, the property XsltTransformer.Destination serves no useful purpose

Added by Michael Kay 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2022-11-30
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
trunk
Fix Committed on Branch:
trunk
Fixed in Maintenance Release:
Platforms:
.NET

Description

The Destination property of XsltTransformer appears to serve no useful purpose, because the destination of a transformation is always provided as the first argument of the Run method.

Actions #1

Updated by Michael Kay about 2 months ago

This isn't quite true. An XsltTransformer can itself be used as an IDestination, in which case its Destination property determines where its own output is sent.

However, I decided for user convenience in (12.x only) to add a Run() method with no arguments that writes to the destination supplied in the Destination property.

Actions #2

Updated by Michael Kay about 2 months ago

  • Status changed from New to Closed
  • Applies to branch trunk added
  • Fix Committed on Branch trunk added

Please register to edit this issue

Also available in: Atom PDF