W3C home > Mailing lists > Public > xproc-dev@w3.org > April 2012

Calabash: get the p:error input out of an XProcException

From: Florent Georges <fgeorges@fgeorges.org>
Date: Thu, 26 Apr 2012 01:01:35 +0200
Message-ID: <CADyR_r2_3AxwDbb1yNKsfEfhi6AvACaBEopxHiYk=eY0-6j+Pg@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>

  When executing a pipeline from Java, a p:error step will end up
throwing an XProcException.  I can get the error code passed by the
user to p:error out of the XProcException object, but I can I get the
document passed through the p:error source port? (from the exception

  As an aside question, how is it possible to writeTo() a port an
empty document, in Java? (as if one had used p:empty in XProc)


Florent Georges
Received on Wednesday, 25 April 2012 23:02:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:09 UTC