Re: [basex-talk] BaseX 9.1: The Autumn Edition

2018-11-01 Thread Alexander Shpack
Amazing! Have to check translation and add new items there. On Wed, Oct 31, 2018 at 8:14 PM Maximilian Gärber wrote: > Good news and great work! > > > > > Am Mi., 31. Okt. 2018 um 17:34 Uhr schrieb Christian Grün > : > > > > Dear XML and XQuery aficionados, > > > > It’s been exactly 5 months

Re: [basex-talk] Passing sequence of strings to the java class

2018-07-03 Thread Alexander Shpack
; Christian > > [1] http://files.basex.org/releases/latest/ > > > > On Fri, Jun 29, 2018 at 12:37 PM Alexander Shpack > wrote: > >> Thanks! >> >> On Fri, Jun 29, 2018 at 1:34 PM Christian Grün >> wrote: >> >>> I see! As XQuery sequence

Re: [basex-talk] Passing sequence of strings to the java class

2018-06-29 Thread Alexander Shpack
> "Object..." declaration. > > Nevertheless, I will check if we can optimize the static function > selection without compromising performance. > > Best, > Christian > > > > On Fri, Jun 29, 2018 at 12:30 PM Alexander Shpack > wrote: > > > > Hi Christian,

Re: [basex-talk] Passing sequence of strings to the java class

2018-06-29 Thread Alexander Shpack
Grün wrote: > Hi Alex, > > How does the signature of the invoked Java function look like? > > Best, > Christian > > > > On Mon, Jun 18, 2018 at 9:43 PM Alexander Shpack > wrote: > > > > Hey, team! > > > > Just simple question. How to pass se

Re: [basex-talk] Full-Text

2018-06-25 Thread Alexander Shpack
Hi, Alexander, > > Some questions: > After that, how can I perform a search in all of these databases? > Can I search for substring without fulltext using only text index? > > 25.06.2018, 11:56, "Alexander Shpack" : > > Hey Vladimir, > > You can use sharding ap

Re: [basex-talk] Full-Text

2018-06-25 Thread Alexander Shpack
ut separated DB. But I'm afraid that this base will also be > very big in future. > Although I can try to split data to several databases - one per year.. > Hmm.. > > 25.06.2018, 11:25, "Alexander Shpack" : > > Hey, Vladimir! > > Just put this specific file

Re: [basex-talk] Full-Text

2018-06-25 Thread Alexander Shpack
Hey, Vladimir! Just put this specific files to the separated DB and than index it. You can process it automatically, BaseX allows to create and index DB right from XQuery. I hope it helps you. Anyhow, you can provide more details about your task and we can figure out the best solution for you.

[basex-talk] Fwd: Passing sequence of strings to the java class

2018-06-23 Thread Alexander Shpack
Hey, team! Just simple question. How to pass sequence of string to the java class? let $values := for $i in (1 to 3) return $i cast to xs:string return j:exec($values) In case when local function returns one item all is good. Otherwise j:exec takes array of item()+, but not the array of stings.

[basex-talk] Passing sequence of strings to the java class

2018-06-18 Thread Alexander Shpack
Hey, team! Just simple question. How to pass sequence of string to the java class? let $values := for $i in (1 to 3) return $i cast to xs:string return j:exec($values) In case when local function returns one item all is good. Otherwise j:exec takes array of item()+, but not the array of stings.

Re: [basex-talk] TagSoup and html5 support

2016-12-21 Thread Alexander Shpack
On Wed, Dec 21, 2016 at 3:46 PM, Christian Grün wrote: > > Nope, I don't. It should be implemented in basex server, we are using > restxq > > functionality. > > If we find working and light-weight alternatives, we could replace the > original distribution of TagSoup with the new solution. Suggest

Re: [basex-talk] TagSoup and html5 support

2016-12-21 Thread Alexander Shpack
On Wed, Dec 21, 2016 at 3:33 PM, Christian Grün wrote: > Hi Alex, > > Currently, there is no alternative I have in mind. As I assume that > the original author of TagSoup has stopped development quite a while > ago, it could indeed be interesting to find alternatives or extended > versions of the

[basex-talk] TagSoup and html5 support

2016-12-21 Thread Alexander Shpack
Hi team! As you know, TagSoup 1.2.1 doesn't support correct HTML5 tag nesting. For example, this string Test will be parsed as But html5 code Test will be parsed as is. How to implement in BaseX the html5 support? I've found this project, but not sure that it's possible to add it into basex cod

Re: [basex-talk] Nonstandard CSV in RESTXQ

2016-06-13 Thread Alexander Shpack
ry-to-string > [2] http://files.basex.org/releases/latest/ > > > > On Sun, Jun 12, 2016 at 11:06 PM, Alexander Shpack > wrote: > > Oh.. right. I forgot about it > > > > On Mon, Jun 13, 2016 at 12:02 AM, Christian Grün < > christian.gr...@gmail.com> > >

Re: [basex-talk] Nonstandard CSV in RESTXQ

2016-06-12 Thread Alexander Shpack
use file:read-binary. Using the browser, you can also upload > images or other binary contents. > > > > let $csv := csv:parse($content, map{ 'separator': ';', 'header': false() > } ) > > return $csv > > > > What the difference between

Re: [basex-talk] Nonstandard CSV in RESTXQ

2016-06-12 Thread Alexander Shpack
the difference between post data and raw file? On Sun, Jun 12, 2016 at 11:45 PM, Alexander Shpack wrote: > Did you always upload the same file? > > Yeah > > >> As the error indicates, it seems that your CSV input seems to contain >> characters that ar

Re: [basex-talk] Nonstandard CSV in RESTXQ

2016-06-12 Thread Alexander Shpack
Did you always upload the same file? Yeah > As the error indicates, it seems that your CSV input seems to contain > characters that are not valid in XML. There are various ways to tackle > this; one looks as follows: > > (: interpret client data as Base64 :) > declare > %rest:path("/upload

Re: [basex-talk] Nonstandard CSV in RESTXQ

2016-06-12 Thread Alexander Shpack
OMG Basex 8.4.4 returns different error for the browsers Chrome [bxerr:BXCO0001] String conversion: Invalid XML character (#18). FF and IE11 [XPTY0004] Binary expected, xs:string found. -- s0rr0w

Re: [basex-talk] Nonstandard CSV in RESTXQ

2016-06-12 Thread Alexander Shpack
No luck with you code [XPTY0004] Binary expected, xs:string found. On Sun, Jun 12, 2016 at 10:50 PM, Christian Grün wrote: > > I've tried it, it works. Almost fine. Now I have an issue with encoding. > > Seems like 'encoding' parameter was not applied > > > > let $csv := csv:parse($csv, map{

Re: [basex-talk] Nonstandard CSV in RESTXQ

2016-06-12 Thread Alexander Shpack
On Sun, Jun 12, 2016 at 10:26 PM, Christian Grün wrote: > > No, browser doesn't want to send file content with this mime type. > > If you use the browser to send requests, it may be better to convert > your data to CSV via XQuery: > > csv:parse($input, map { > "header": false(), "separator"

Re: [basex-talk] Nonstandard CSV in RESTXQ

2016-06-12 Thread Alexander Shpack
t;text/comma-separated-values" as Content-Type? > Am 12.06.2016 8:05 nachm. schrieb "Alexander Shpack" >: > >> Thank you, Christian! >> >> But it doesn't work as expected >> >> declare >> %rest:path("/upload") >>

[basex-talk] Nonstandard CSV in RESTXQ

2016-06-12 Thread Alexander Shpack
Hi, I have nonstandard CSV file with semicolon instead of comma as a separator and cp1251 encoded. Documentation is not clear in this case, and the sample doesn't work properly declare %rest:path("/store.csv") %rest:POST("{$csv}") %input:csv("header=true") function page:store-csv($csv as

Re: [basex-talk] Module parsing performance

2015-06-22 Thread Alexander Shpack
est, > Christian > > > On Fri, Jun 19, 2015 at 5:18 PM, Alexander Shpack > wrote: > > Hi BaseX team! > > > > How to increase performance of parsing and executing on custom xqm > module? > > I have 10K lines of sxq code and it makes huge CPU load on the parsing > > process. > > > > Any ideas? > > > > -- > > s0rr0w > -- s0rr0w

Re: [basex-talk] Module parsing performance

2015-06-22 Thread Alexander Shpack
in the > GUI, or by using -V on command line. > 2-3 seconds on slow CPU (Athlon). If I run one function from the module directly, it works fine. The trouble in module parsing. > > Best, > Christian > > > On Fri, Jun 19, 2015 at 5:18 PM, Alexander Shpack > wrote: > &g

[basex-talk] Module parsing performance

2015-06-19 Thread Alexander Shpack
Hi BaseX team! How to increase performance of parsing and executing on custom xqm module? I have 10K lines of sxq code and it makes huge CPU load on the parsing process. Any ideas? -- s0rr0w

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-23 Thread Alexander Shpack
I replied inline * Is it the .basex file which is located in "C:\Program Files (x86)\BaseX" ? > No, it's located in C:\Users\user\.basex > * What happens if you start the start menu shortcut "BaseX Server (Start)"? > C:/Program Files (x86)/BaseX/.basex: writing new configuration file. HTTP Ser

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-23 Thread Alexander Shpack
ied to reinstall BaseX? > > Best, > Christian > > > On Sat, May 23, 2015 at 9:51 AM, Alexander Shpack > wrote: > > Guys, I installed BaseX from .exe installator, not from .zip file. > > > > > > > > On Sat, May 23, 2015 at 5:06 AM, Erol Akarsu wrot

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-23 Thread Alexander Shpack
Then build war file (BaseX82c.war) again and drop it to webapps folder of > apache tomcat. > > Restart apache. > > You can access > > http://localhost:8080/BaseX82c/dba > > http://localhost:8080/BaseX82c/hello/World > > Erol Akarsu > > > On Fri, May 22, 2015 at 4:

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-22 Thread Alexander Shpack
gt; > RESTXQPATH = > > > > If I edit .basex to have: > > > > RESTXQPATH = C:/Users/Bunceax/Desktop/basex-8.2/webapp > > > > It works again. > > > > /Andy > > > > On 22 May 2015 at 09:20, Alexander Shpack wrote: > >> > >> Hi B

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-22 Thread Alexander Shpack
PATH = > > RESTXQPATH = > > > > If I edit .basex to have: > > > > RESTXQPATH = C:/Users/Bunceax/Desktop/basex-8.2/webapp > > > > It works again. > > > > /Andy > > > > On 22 May 2015 at 09:20, Alexander Shpack wrote: > >> > >> Hi

[basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-22 Thread Alexander Shpack
Hi BaseX team! It doesn't work, because WEBPATH contains (by default) a path to a local user's BaseXWeb folder, not to a webapp folder inside BaseX installation folder I was confused a bit, why clean installation of 8.2 doesn't work, when 8.1 works fine Thanks -- s0rr0w

Re: [basex-talk] BaseX: Upcoming Features

2014-03-19 Thread Alexander Shpack
Hi Christian, What about redo logs and master/slave replication? On Tue, Mar 18, 2014 at 2:03 PM, Christian Grün wrote: > Dear BaseX aficionados, > > An upcoming version of our software (7.9 or 8.0) will make it much > easier to perform updates and return items at the same time [1]. It > will

[basex-talk] Proposals. Custom query slot management, named instances and read-only databases

2013-08-28 Thread Alexander Shpack
Hi everyone! Our current project, based on BaseX, was failed on launch, because we have any practice with optimization for NoSQL databases and take the bottleneck with write locks, but we take the unbelievable experience with BaseX. Today I know, how to get the maximum from this DB 1. Custom que

[basex-talk] Too many opened files error

2013-08-28 Thread Alexander Shpack
Hello! for $i in (1 to 1000) let $name := 'user_' || $i return ( db:create( $name ) ) Is it bug, or normal behavior? I would like to create little benchmark with multiple databases, multiple writtings and readings to it. -- s0rr0w ___ BaseX-Ta

[basex-talk] Redo logs. Feature

2013-05-20 Thread Alexander Shpack
Hi Team! Oracle DB have very powerful feature for recovery operations http://docs.oracle.com/cd/B28359_01/server.111/b28310/onlineredo001.htm Is it possible to realize something similar? ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de htt

[basex-talk] Improvements. On-fly in-memory temporary index

2013-05-06 Thread Alexander Shpack
Hi Folks! I had one task with csv parsing and transforming. Main file contains approximately 100k of nodes. Transformation process should be in memory only, and I thought, that in-memory temporary index would be useful for this type of tasks. Useful scenario copy $clone := $csvContent modify (

[basex-talk] Proposition. Execution feedback

2013-04-15 Thread Alexander Shpack
Hi! It would be perfect to take execution feedback from GUI or server. Execution plan: N nodes Processed: K nodes It may help in script optimization and understanding complexity of xQuery task -- s0rr0w ___ BaseX-Talk mailing list BaseX-Talk@mailman.un

[basex-talk] Proposition for the GUI features

2013-04-12 Thread Alexander Shpack
Hi everyone! I have a nice idea, how to stop to crack the database, when user use GUI and server simultaneously. When GUI will found launched server, every updating functions should be executed through port, not directly. User may setup different connections (require list of connections), select