-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compound steps referring to themselves? #179
Comments
Yes. You can pass an input through to an output. It's weird, but it's allowed, I believe. |
Are you satisfied with that answer? Can we close this issue? |
What about 'empty' compound steps such as this one (I actually think this could be quite useful): <p:declare-step type="ex:duplicate" name="duplicate">
<p:input port="source"/>
<p:output port="result" sequence="true">
<p:pipe step="duplicate" port="source"/>
<p:pipe step="duplicate" port="source"/>
</p:output>
</p:declare-step> Will things like this be supported? (Similar for
will no longer be true. |
The subpipeline isn't currently optional. Are you proposing that it should be? I think that having an output of a compound step simply copy one of the inputs is a rare edge case. Prohibiting it doesn't seem necessary, though I probably wouldn't be strongly opposed, but it also doesn't seem like something we need to be encouraging exactly. The non-edge case version is:
Which works for me. |
No, I am not proposing to make the subpipeline optional. I think it is too big of a change to justify the few edge cases. I was trying to understand if the current 'compound steps referring to themselves' story is consistent with the rest of the spec. It seems to be, and as long as the example in my previous comment causes So I think you can close this as a non-issue. |
Thanks. |
Editor's Draft 10 June, section 2.5 (Connections:)
Maybe I am reading this wrong, but does the last sentence mean that, for example, an output port of
p:for-each
can connect to thep:for-each
'scurrent
input port?The text was updated successfully, but these errors were encountered: