W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2010

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

From: Tobias J. Goertz <tobias.goertz@googlemail.com>
Date: Fri, 16 Jul 2010 13:01:54 +0200
Message-Id: <914CBCEC-85D4-4D09-89B5-2F6D63B28EBE@googlemail.com>
To: xproc-dev@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 16 July 2010 11:48:29 GMT