openpreserve / scape-toolwrapper

SCAPE project for creating debian packages from command line tools.
http://openplanets.github.io/scape-toolwrapper
Apache License 2.0
5 stars 1 forks source link

Workflow template processor input port not valid #15

Closed mksplg closed 9 years ago

mksplg commented 9 years ago

In the workflow templates of the input ports of the migration processor, QA processor and characterisation processor, the processor is element is in second place after the port element.

                <sink type="processor">
                    <port>$output.getName()_inner</port>
                    <processor>commandline_tool_invocation</processor>
                </sink>

This is not valid according to the t2flow.xsd as the elements are described as a sequence of processor and then port elements.

        <sequence>
            <element name="processor" type="tav:ProcessorName" maxOccurs="1" minOccurs="0">
                <!-- ... -->
            </element>
            <element name="port" type="tav:PortName">
                <!-- ... -->
            </element>
        </sequence>

Taverna is still able to open the generated workflow.