W3C home > Mailing lists > Public > xproc-dev@w3.org > September 2011

Saxon exception in core Calabash interface

From: Florent Georges <fgeorges@fgeorges.org>
Date: Thu, 1 Sep 2011 12:49:10 +0200
Message-ID: <CADyR_r3KLQ+JFCcotdOHp2EheMVVL2UbVzDW_ndCc3XA1D4Y3Q@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>
  Hi,

  XProcRunnable.run() can throw a SaxonApiException.  This makes
the assumption Saxon is used in the implementation if a step, and
is then a convenient way to let the steps throwing the Saxon
exceptions.  But this maybe lack a bit of abstraction, in
particular with extension steps using something else than Saxon
(for which this is a bit strange to throw a Saxon-specific
exception).

  Why not defining an XProcException or CalabashException?

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
Received on Thursday, 1 September 2011 10:50:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 1 September 2011 10:50:07 GMT