Skip to content

XSLT Task with initialTemplate still expects xmlSource #85

@frankweenink

Description

@frankweenink

When specifying an initial template in a task it still expects an xml source.

To reproduce, create a task without xmlSource, but with an initialTemplate:

{
			"type": "xslt",
			"label": "xslt: Saxon Transform (New)",
			"saxonJar": "${config:XSLT.tasks.saxonJar}",
			"xsltFile": "convert.xsl",
			"resultPath": "-",
			"initialTemplate": "main",
			"group": {
				"kind": "build"
			},
			"problemMatcher": [
				"$saxon-xslt"
			]
}

Run the task. The command line will show the empty -s: parameter (and Saxon shows this error):

-xsl:convert.xsl -s: -it:main -o:-

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions