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

Re: p:xquery in Calabash via XQJ?

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 05 May 2010 14:57:17 -0700
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2pr1at3k2.fsf@nwalsh.com>
Cornelia Davis <cornelia@corneliadavis.com> writes:
> The documentation page for Calabash (http://xmlcalabash.com/docs/) lists
> the following prerequisite:
>
> "The XQuery API for Java (XQJ) if you want to use p:xquery"
>
> In reading through the source, though, it looks like the implementation
> of the XQuery step is using the s9api from saxon.  Digging into the
> s9api I still don't see evidence that it is using XQJ under the covers.
> So, a couple of things in specific:
>
> * Is Calabash indeed using XQJ for p:xquery?

I thought the XQJ libraries were needed by Saxon, but perhaps that's
no longer true. Perhaps it was never true, and I was just confused.

> * If so, how can I point it to an XQJ implementation other than Saxon?

There's no straightforward way to do that because the data models are
all Saxon XdmNodes. The Validate step has the skeleton of a very crude
attempt to use Xerces instead of Saxon if you don't have a license for
Saxon schema validation.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | The most universal quality is
http://nwalsh.com/            | diversity.-- Montaigne

Received on Wednesday, 5 May 2010 21:57:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 5 May 2010 21:57:57 GMT