Re: [closed] Re: Getting Dynamically generated error message within output file in p:catch

Hello,

just wanted to ask if this issue is still existent in the current version of calabash? I want to catch dynamic errors within a p:catch on its error port. but unfortunately it stays empty... I tested that with 0.9.21 - but maybe I have overlooked something ...

well, heres a little code snippet:

------------------------------------------------------------------------------------        
.....

       <p:try>

            <p:group>

              ...  some transformations and validations here ...

            </p:group>

            <p:catch name="catch">

                <p:identity>
                    <p:input port="source">
                        <p:pipe step="catch" port="error"/>
                    </p:input>
                </p:identity>

                <p:store name="err" href="error.xml"/>

            </p:catch>

        </p:try> 

</p:declare-step>
------------------------------------------------------------------------------------


the produced file error.xml just has: 

<c:errors xmlns:c="http://www.w3.org/ns/xproc-step"/> 
 
it stays empty even if a dynamic error happend.


cheers

Received on Friday, 16 July 2010 11:48:28 UTC