API does not contain XQueryService interface

Monday, 4 July 2011 · 4 messages
RP
Robby Pelssers4 Jul 2011 13:22 #
Hi all, I was trying to test some code I wrote for Sedna XML DB but I noticed that org.xmldb.api.modules.XQueryService is not part of the API. I checked EXIST and Sedna and both include this Service. Is there any particular reason why this not included by BaseX? Kind regards, Robby Pelssers
CG
Christian Grün4 Jul 2011 13:29 #
Dear Robby, the XQueryService class has not been defined in the official specification. Instead, we have extended the XPathQueryService class to support XQuery (I assume that this works with the others implementations as well): https://github.com/BaseXdb/basex-api/blob/master/src/main/java/org/basex/api/xmldb/BXQueryService.java Hope this helps, Christian
Quoted text · Robby Pelssers · 11 lines
On Mon, Jul 4, 2011 at 1:22 PM, Robby Pelssers <Robby.Pelssers at nxp.com> wrote: > Hi all, > > I was trying to test some code I wrote for Sedna XML DB but I noticed that > org.xmldb.api.modules.XQueryService is not part of the API. > > I checked EXIST and Sedna and both include this Service. Is there any > particular reason why this not included by BaseX? > > Kind regards, > Robby Pelssers
RP
Robby Pelssers4 Jul 2011 13:42 #
Hi Christian, I guess declaring variables is done using service.setProperty("name", "somevalue"). Does the XPathService interface also allow to import modules ? Robby
Quoted text · Christian Grün · 25 lines
-----Original Message----- From: Christian Grün [mailto:christian.gruen at gmail.com] Sent: Monday, July 04, 2011 1:30 PM To: Robby Pelssers Cc: basex-talk at mailman.uni-konstanz.de Subject: Re: [basex-talk] API does not contain XQueryService interface Dear Robby, the XQueryService class has not been defined in the official specification. Instead, we have extended the XPathQueryService class to support XQuery (I assume that this works with the others implementations as well): https://github.com/BaseXdb/basex-api/blob/master/src/main/java/org/basex/api/xmldb/BXQueryService.java Hope this helps, Christian On Mon, Jul 4, 2011 at 1:22 PM, Robby Pelssers <Robby.Pelssers at nxp.com> wrote: > Hi all, > > I was trying to test some code I wrote for Sedna XML DB but I noticed that > org.xmldb.api.modules.XQueryService is not part of the API. > > I checked EXIST and Sedna and both include this Service. Is there any > particular reason why this not included by BaseX? > > Kind regards, > Robby Pelssers
CG
Christian Grün4 Jul 2011 13:53 #
Robby, I haven't looked into our XML:DB API for a while, as most of our users eventually switch to our own API. Feel freee to check out your code with the conformance interface; if this will cause troubles, we might have a deeper look into the requested functionality. Christian
Quoted text · Robby Pelssers · 45 lines
On Mon, Jul 4, 2011 at 1:42 PM, Robby Pelssers <Robby.Pelssers at nxp.com> wrote: > Hi Christian, > > I guess declaring variables is done using service.setProperty("name", "somevalue"). > > Does the XPathService interface also allow to import modules ? > > Robby > > -----Original Message----- > From: Christian Grün [mailto:christian.gruen at gmail.com] > Sent: Monday, July 04, 2011 1:30 PM > To: Robby Pelssers > Cc: basex-talk at mailman.uni-konstanz.de > Subject: Re: [basex-talk] API does not contain XQueryService interface > > Dear Robby, > > the XQueryService class has not been defined in the official > specification. Instead, we have extended the XPathQueryService class > to support XQuery (I assume that this works with the others > implementations as well): > > https://github.com/BaseXdb/basex-api/blob/master/src/main/java/org/basex/api/xmldb/BXQueryService.java > > Hope this helps, > Christian > ___________________________ > > On Mon, Jul 4, 2011 at 1:22 PM, Robby Pelssers <Robby.Pelssers at nxp.com> wrote: >> Hi all, >> >> I was trying to test some code I wrote for Sedna XML DB but I noticed that >> org.xmldb.api.modules.XQueryService is not part of the API. >> >> I checked EXIST and Sedna and both include this Service. Is there any >> particular reason why this not included by BaseX? >> >> Kind regards, >> Robby Pelssers > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >

⚡Generated with XQuery