Christian Grün wrote:
Hi,
I guess a proof-of-concept, ad-hoc extension can be written in one day, or even less. But having an industry-ready one is another kind of beast (writing tests, designing the interface, thinking about install and deployment, etc.)
For info, see the XSpec test harness I am writing for BaseX in attachement.
Great to hear that you've already spent lots of thoughts on this! In fact we'll need someone who has the endurance to tackle all the usual nuts and bolts, but on the other hand we can benefit a lot from first prototypes.
I've just published a blog post at [1] about writing an extension step in Java for Calabash to use BaseX. Using BaseX is just an excuse, and the post shows more how to write an extension and how to glue the various parts together, but I think it is enough to give the big picture.
Calabash contains also extension steps for MarkLogic, which can be of some inspiration to design other processors steps, see http://xmlcalabash.com/extension/steps/.
Regards,
-- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/
[1]http://fgeorges.blogspot.com/2011/09/writing-extension-step-for-calabash-to....