- From: Philip Fennell <Philip.Fennell@bbc.co.uk>
- Date: Tue, 23 Jun 2009 11:49:01 +0100
- To: "XProc Dev" <xproc-dev@w3.org>
> Updated <p:error> to include output port. So how does that work then? When using Calabash 0.9.10 the following fragment would raise an exception if the env option's value was not one of the prescribed values: <p:when test="not($env = ('sandbox', 'int', 'test', 'stage', 'live'))"> <p:output port="result"> <p:inline> <error/> </p:inline> </p:output> <p:error code="wadl:envRequirementFailed"> <p:input port="source"> <p:inline> <message>The option value provided does not match one of ('sandbox'|'int'|'test'|'stage'|'live').</message> </p:inline> </p:input> </p:error> </p:when> Error : Pipeline failed: err:wadl:envRequirementFailed: The option value provided does not match one of ('sandbox'|'int'|'test'|'stage'|'live'). Unknown error However, now with Calabash 0.9.11 I get: Error : Pipeline failed: com.xmlcalabash.core.XProcException: No outputs allowed. In order to avoid the above error, I must wrap the step that raises the exception in a try/catch. Assuming that this is the correct behaviour then this needs to be made clear with a complete example in the recommendation. Regards Philip Fennell -----Original Message----- From: xproc-dev-request@w3.org [mailto:xproc-dev-request@w3.org] On Behalf Of Norman Walsh Sent: 23 June 2009 00:45 To: XProc Dev Subject: Announce: XML Calabash 0.9.11 In version 0.9.11, I've mostly fixed bugs. * Fixed issue #59: make sure that the xml:base value on <p:directory-list> is encoded correctly on Windows. * Fixed or introduced bug: Never manufacture default outputs on <p:declare-step>. * Updated Schematron to the most recent ISO release. * Fixed bug: specifying a namespace on <p:unescape-markup> caused it to discard all attributes. * Fixed bug: make sure that <p:variable> declarations inside a <p:for-each> are evaluated correctly. * Fixed bug: in <p:http-request>, if detailed=true, always output a <c:body>. * Fixed bug: the output port of a <p:viewport> is always named "result" * Fixed bug: a mising content-type in <p:http-request> caused an NPE. * If the input to <p:query> is base64 encoded, decode it. * Make sure that variable references in select expressions are resolved. * Support cdata-section-elements in serialization. * Updated <p:error> to include output port. * Updated <p:exec> to support arg-separator * Added support for osutils extensions (experimental) * Extended support for fileutils extensions (experimental) See http://xmlcalabash.com/ Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | It is good to have an end to journey http://nwalsh.com/ | toward; but it is the journey that | matters, in the end.--Ursula K. LeGuin http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
Received on Tuesday, 23 June 2009 10:49:35 UTC