Re: Does a primary output have to be connected in all branches?

/ Innovimax SARL <innovimax@gmail.com> was heard to say:
| Not sure to fully understand
|
| You speak about primary output and then you say used in some branch...
|
| Can you draft an exaple ?

<p:load name="load" href="...">

<p:choose>
  <p:when test="false()">
    <p:identity>
      <p:input port="source">
        <p:pipe step="load" port="result"/>
      </p:input>
    </p:identity>
  </p:when>

  <p:otherwise>
    <p:identity>
      <p:input port="source">
        <p:inline>
          <doc/>
        </p:inline>
      </p:input>
    </p:identity>
  </p:otherwise>
</p:choose>

So in this case, the primary output port of the load step is connected in
one branche, but not another. And in this case will never be read.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Optimistic, even in the face of reality.
http://nwalsh.com/            | 

Received on Thursday, 8 November 2007 13:37:19 UTC