Re: [basex-talk] Strange behaviour on db:add inside restxq

2016-01-11 Thread Marco Lettere
tian Grün <christian.gr...@gmail.com> Sent: Tuesday, December 22, 2015 4:35 PM To: Marco Lettere Cc: BaseX Subject: Re: [basex-talk] Strange behaviour on db:add inside restxq Hi Marco, I agree that this behavior is contra-intuitive. It may have been triggered by our gradual attempts to push back the d

Re: [basex-talk] Strange behaviour on db:add inside restxq

2016-01-05 Thread Christian Grün
; To: Marco Lettere > Cc: BaseX > Subject: Re: [basex-talk] Strange behaviour on db:add inside restxq > > Hi Marco, > > I agree that this behavior is contra-intuitive. It may have been > triggered by our gradual attempts to push back the default chopping of > whitespaces

Re: [basex-talk] Strange behaviour on db:add inside restxq

2015-12-22 Thread Christian Grün
Hi Marco, I agree that this behavior is contra-intuitive. It may have been triggered by our gradual attempts to push back the default chopping of whitespaces [1]. What happens if you remove the whitespaces in your requests? http:send-request( http://localhost:8984/test/savemsg;> )

Re: [basex-talk] Strange behaviour on db:add inside restxq

2015-12-22 Thread Marco Lettere
; Sent: Tuesday, December 22, 2015 4:35 PM To: Marco Lettere Cc: BaseX Subject: Re: [basex-talk] Strange behaviour on db:add inside restxq Hi Marco, I agree that this behavior is contra-intuitive. It may have been triggered by our gradual attempts to push back the default chopping of whitespa

Re: [basex-talk] Strange behaviour on db:add inside restxq

2015-12-22 Thread Christian Grün
32 are somehow added in the stored > version of the document. :-( > M. > > > From: Christian Grün <christian.gr...@gmail.com> > Sent: Tuesday, December 22, 2015 4:35 PM > To: Marco Lettere > Cc: BaseX > Subject: Re: [basex

[basex-talk] Strange behaviour on db:add inside restxq

2015-12-21 Thread Marco Lettere
Hi all, We've run into a strange issue that we never experienced beforehand even if it's something we should have done thousands of time. Consider storing a resource sent through a RestXQ POST directly to a database. The restxq module module namespace o = "test"; (:sendMessage: Send a new