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
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...
Hope this helps, Christian ___________________________
On Mon, Jul 4, 2011 at 1:22 PM, Robby Pelssers Robby.Pelssers@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
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@gmail.com] Sent: Monday, July 04, 2011 1:30 PM To: Robby Pelssers Cc: basex-talk@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...
Hope this helps, Christian ___________________________
On Mon, Jul 4, 2011 at 1:22 PM, Robby Pelssers Robby.Pelssers@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
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
On Mon, Jul 4, 2011 at 1:42 PM, Robby Pelssers Robby.Pelssers@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@gmail.com] Sent: Monday, July 04, 2011 1:30 PM To: Robby Pelssers Cc: basex-talk@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...
Hope this helps, Christian ___________________________
On Mon, Jul 4, 2011 at 1:22 PM, Robby Pelssers Robby.Pelssers@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@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de