Skip to content
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

Output declaration for cx:eval incorrect #248

Closed
nic-gibson opened this Issue Jan 9, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@nic-gibson
Copy link

nic-gibson commented Jan 9, 2017

In order for cx:eval to handle pipelines that return multiple documents, the declaration for the result output port needs to be updated. In library-1.0.xpl cx:eval is declared as:

<p:declare-step type="cx:eval">
   <p:input port="pipeline"/>
   <p:input port="source" sequence="true"/>
   <p:input port="options"/>
   <p:output port="result"/>
   <p:option name="step" cx:type="xsd:QName"/>
   <p:option name="detailed" cx:type="xsd:boolean"/>
</p:declare-step>

The declaration for the result port should be:

   <p:output port="result" sequence="true"/>

Using a modified declaration produces the expected output and the java code appears to do the right thing so the only issue appears to be in the declaration itself.

ndw added a commit that referenced this issue Mar 6, 2019

ndw added a commit that referenced this issue Mar 6, 2019

@ndw

This comment has been minimized.

Copy link
Owner

ndw commented Mar 6, 2019

This report languished an embarrassing length of time...

@ndw ndw closed this Mar 6, 2019

ndw added a commit that referenced this issue Mar 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.