Project

Profile

Help

Bug #5751

closed

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

Added by Michael Kay over 1 year ago. Updated over 1 year 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 over 1 year 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 over 1 year 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