Hi Fabrice,

this has been fixed in the latest snapshot [1].

Thanks,
Christian

[1] http://files.basex.org/releases/latest/


On Mon, Jul 21, 2014 at 10:39 PM, Fabrice Etanchaud
<fetanch...@questel.com> wrote:
> Dear Christian,
> Here is an example :
>
> <commands>
>   <set option='chop'>false</set>
>   <create-db name='test'><root> 0 1 2 3 </root></create-db>
> </commands>
>
> And then
>
> let $conid := client:connect('localhost',1984,'admin','admin')
> return client:query($conid,"db:open('test')")
>
> returns
>
> <root>0 1 2 3</root>
>
> While
>
> let $conid := client:connect('localhost',1984,'admin','admin')
> return client:query($conid,"string-length(db:open('test'))")
>
> returns
>
> 9
>
>
> Best regards,
> Fabrice
> Questel/Orbit
>
> -----Message d'origine-----
> De : Christian Grün [mailto:christian.gr...@gmail.com]
> Envoyé : samedi 19 juillet 2014 11:44
> À : Fabrice Etanchaud
> Cc : basex-talk@mailman.uni-konstanz.de
> Objet : Re: [basex-talk] client module
>
> Hi Fabrice,
>
> do you have a mini example?
>
> Christian
>
> On Fri, Jul 18, 2014 at 12:09 PM, Fabrice Etanchaud <fetanch...@questel.com> 
> wrote:
>> Dear all,
>>
>>
>>
>> The client:query function seems to systematically trim text nodes
>>
>> For example, xml ingested with chop = false  will be chopped when
>> retrieved with client:query().
>>
>> The client:execute function is ok.
>>
>>
>>
>> Best regards,
>>
>> Fabrice
>>
>> Questel/Orbit
>>
>>

Reply via email to