Re: Port unreadable from within p:choose

> In the second step, I'm processing the output depending on the document type:
> <p:choose name="doc_meta">
>     <p:when test="$mode = 'A'">
>         <p:xslt initial-mode="process_metadata">
>             <p:input port="source">
>                 <p:pipe port="result" step="add_id"/>
> I'm using Calabash in Oxygen, and it's complaining: "XE0001: Unreadable port: result on doc_meta." The

The doc_meta step doesn’t have a result output port because you didn’t name the output port. It has an anonymous output port. Try adding

  <p:output port="result"/>

to each of the when and otherwise clauses.

                                        Be seeing you,

Norm Tovey-Walsh <>

> All we have to believe with is our senses, the tools we use to perceive the world: our sight, our touch, our memory. If they lie to us, then nothing can be trusted. And even if we do not believe, then still we cannot travel in any other way than the road our senses show us; and we must walk that road to the end. (American Gods)--Neil Gaiman

Received on Monday, 18 March 2024 11:14:29 UTC