This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: interfacing qexo/xquery with kawa?


Hoehle, Joerg-Cyril wrote:

Hi,

my idea was to use xquery for what it's good at, and do the rest in Scheme, thus using Kawa as a multi-language platform. I thought I could compile *.scm, *.xql etc. files indivually and use them.

For example, xquery is good for extracting fields out of XML, or possibly for validating a document, before calling other functions.

The qexo pages mention calling Java from qexo (does it work with calling Scheme?), but I wanted to do it the other way round.

It would be nice to be able to mix and match Schema and XQuery.
The CVS version is a step on the way, as it fixes some symbol-related bugs, and it supported separately-compiled XQuery "library modules".
The latter will be supportged in Kawa 1.8, but I make no promises (yet) about mixing Scheme and XQuery.


#|kawa:3|# (getit "signature.xml")
gnu.mapping.UnboundSymbol: Unbound symbol document

I'd like fn:document to get compiled to a direct call to the appropriate Java method, and in that case there would be no run-time lookup. Doesn't quite happen that way yet.
--
--Per Bothner
per@bothner.com http://per.bothner.com/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]