Re: [basex-talk] Future of RESTXQ

2012-05-08 Thread Andy Bunce
Hi Adam, Sounds good. eXist-db has various modules e.g. http://exist-db.org/exist/functions/request that can be used to fill in the gaps in RestXQ as currently defined. BaseX starts with an almost blank sheet. Multipart would be good, and also the @context parts of jax-rs

Re: [basex-talk] Future of RESTXQ

2012-05-08 Thread Adam Retter
Multipart has always been on the list, but as it adds complexity I wanted to get the initial draft specification out first. On 6 May 2012 21:03, Christian Grün wrote: > Adam, > > thanks for your quick feedback; great to hear you are working on new versions! > >> I then hope to write up the draft

Re: [basex-talk] Future of RESTXQ

2012-05-08 Thread Adam Retter
Hi Andy, > Sounds good. eXist-db has various modules e.g. > http://exist-db.org/exist/functions/request that can be used to fill in the > gaps in RestXQ as currently defined. Which gaps do you see modules filling? > BaseX  starts with an almost blank > sheet. Multipart would be good, and also t

Re: [basex-talk] Future of RESTXQ

2012-05-08 Thread Andy Bunce
>Which gaps do you see modules filling? Well that request module has many things, in addition to multipart, that can not be accessed via the RestXQ of Prague 2012. But as you say, there may be better ways. Looking forward to see, and discuss more, when your next draft appears. /Andy On Tue, Ma

Re: [basex-talk] Java proxy host & port & credentials

2012-05-08 Thread Erol Akarsu
Christian, No. I don't know how to set it through XQJ. But I tried to set system properties "http.ProxyHost" and "http.proxyPort" in Java but it does not have any effect on xquery calling through XQJ. Erol Akarsu On Mon, May 7, 2012 at 5:49 PM, Christian Grün wrote: > Have you already set us

Re: [basex-talk] Java proxy host & port & credentials

2012-05-08 Thread Charles Foster
Hi Erol, I'm unsure of what you're trying to do. The BaseX XQJ client connects to a BaseX Server, similar to an ODBC connection to a Relational Database. It is a persistent connection and the client/server protocol is light-weight as it is binary based [1]. Because the protocol is not HTTP based

Re: [basex-talk] Java proxy host & port & credentials

2012-05-08 Thread Erol Akarsu
Christian, I am not able to use 7.2.1 with XQJ because of not supporting xquery 3.0 and other features. I am using basex 7.2 with old XQJ, Erol Akarsu On Tue, May 8, 2012 at 9:29 AM, Charles Foster wrote: > Hi Erol, > > I'm unsure of what you're trying to do. > > The BaseX XQJ client connects

Re: [basex-talk] Java proxy host & port & credentials

2012-05-08 Thread Charles Foster
Erol, XQuery 3.0 + XQuery Update Facility + XQuery Full Text will be coming to the client/server XQJ, that is the current focus of development. Other than these features, what else is the client/server version of the BaseX XQJ missing which you would expect to see? Regards, Charles On 8 May 20

[basex-talk] Full-text search and mixed content

2012-05-08 Thread Michael Piotrowski
Hi, In "XQuery and XPath Full Text 1.0 Use Cases" [1] it says: Querying across element boundaries is similar to an XQuery and XPath character string function converting the sub-tree under an element into a string by removing all markup. However, I'm having trouble to get this to work in Ba

Re: [basex-talk] Full-text search and mixed content

2012-05-08 Thread Christian Grün
Dear Michael, to get the requested result, you need to deactivate the chopping of whitespaces (via SET CHOP OFF, or Dialog → New… → Parsing → Chop Whitespaces). Hope this helps, Christian > Footnotes: > [1]   > > -- > Dr.-Ing. Michael Piotrows

Re: [basex-talk] Full-text search and mixed content

2012-05-08 Thread Michael Piotrowski
Hi Christian, On 2012-05-08, Christian Grün wrote: > to get the requested result, you need to deactivate the chopping of > whitespaces (via SET CHOP OFF, or Dialog → New… → Parsing → Chop > Whitespaces). Ah, thanks a lot! I would have never guessed this... Maybe the documentation should say s

Re: [basex-talk] Full-text search and mixed content

2012-05-08 Thread Christian Grün
> Ah, thanks a lot!  I would have never guessed this...  Maybe the > documentation should say something like: "Querying across elements is > only supported when whitespace chopping is off."  If it's ok with you, > I'll add it. Thanks; your edits are welcome. > Another question: The examples in th

Re: [basex-talk] Full-text search and mixed content

2012-05-08 Thread Michael Piotrowski
On 2012-05-08, Christian Grün wrote: >> Ah, thanks a lot!  I would have never guessed this...  Maybe the >> documentation should say something like: "Querying across elements is >> only supported when whitespace chopping is off."  If it's ok with you, >> I'll add it. > > Thanks; your edits are we

Re: [basex-talk] Full-text search and mixed content

2012-05-08 Thread Christian Grün
> Thanks for the information, that's good to know. I think I'll file an > enhancement request then: For text-oriented applications (e.g., TEI > documents), it would be extremely useful if ft:mark would work with > descendant elements; typically you have lots of mixed content, with > elements contai