Re: [basex-talk] BaseX weird error

2018-05-18 Thread Christian Grün
If the "restored database" (which you are updating in the second step) is still ok, we might be able to trace this down; but you'd probably need to provide us with your data. halit tiryaki schrieb am Do., 17. Mai 2018, 23:15: > > How did you invoke flush? Did you use

Re: [basex-talk] Set indent no at database label (globally)

2018-05-18 Thread DK Singh
Hi Grun, I am using HTTP services so as i set chop false like org.basex.chop false so in this format i have to set SERIALIZER = indent=no or other way in the web.xml file. On Fri, May 18, 2018 at 3:50 PM, Christian Grün wrote: > Hi Dharmendra Kumar, > > You

Re: [basex-talk] Duplicate files when using webDAV and batch processes

2018-05-18 Thread Christian Grün
I believe we have fixed the reported issue. Furthermore, we didn’t manage to trigger any of the exceptions (EOF, etc.) anymore. The new snapshot is available. Cheers, Christian On Fri, May 18, 2018 at 2:08 PM, France Baril wrote: > Awesome, any progress is good.

Re: [basex-talk] Set indent no at database label (globally)

2018-05-18 Thread Christian Grün
hi ​ Dharmendra, Maybe your database contains whitespace text nodes? If it does, these whitespaces will simply be returned as part of your document. Only if it doesn’t, the "indent" parameter will add new whitespaces [1]. You can count the number of these text nodes with the following query:

Re: [basex-talk] Set indent no at database label (globally)

2018-05-18 Thread Christian Grün
Hi Dharmendra Kumar, You can set this option globally by adding the line SERIALIZER = indent=no at the bottom of your .basex configuration file [1]. If you use HTTP services, you can add an entry to your web.xml file [2]. Both solutions will affect all databases; there is currently no way to

Re: [basex-talk] Set indent no at database label (globally)

2018-05-18 Thread Christian Grün
> > It worked now after transformation i was writing the file into filesystem > using file:write() so i defined the third parameter there map { "method": > "xml", 'indent':no } > ​Perfect! And it’s true, file:write (and other serializing functions) do not consider which global serialization​

[basex-talk] Set indent no at database label (globally)

2018-05-18 Thread DK Singh
Hi All, I have to set indent='no' at the database label how can i achieve this, i have gone thorough the documentation and found that either we can do: (1) declare namespace output = "http://www.w3.org/2010/xslt-xquery-serialization

Re: [basex-talk] Set indent no at database label (globally)

2018-05-18 Thread Christian Grün
> I am using HTTP services so as i set chop false like > > > org.basex.chop > false > > > so in this format i have to set SERIALIZER = indent=no or other way in the > web.xml file. Exactly. Try this: org.basex.serializer indent=no > On Fri, May 18, 2018 at 3:50 PM,

Re: [basex-talk] Set indent no at database label (globally)

2018-05-18 Thread DK Singh
Thank U Christian, It worked now after transformation i was writing the file into filesystem using file:write() so i defined the third parameter there map { "method": "xml", 'indent':no } again Thank U so much Regards Dharmendra Kumar Singh On Fri, May 18, 2018 at 5:43 PM, Christian Grün

Re: [basex-talk] Set indent no at database label (globally)

2018-05-18 Thread DK Singh
Thanks U Christian, I have done as you suggested but problem is still there XML getting indent, after setting i had re-started the HTTP service and run the query to transform the document after transformation XML getting indent. below is the setting snapshot Regards Dharmendra Kumar Singh

Re: [basex-talk] about special characters

2018-05-18 Thread Lizzi, Vincent
Hi Bit, The problem may have to do with the character encoding. Try providing the “encoding” option, e.g. csv:parse($file, map{ "encoding": "windows-1252" }) I’d also like to call your attention to this module which provides a way to read Excel files directly from XQuery without the

Re: [basex-talk] Duplicate files when using webDAV and batch processes

2018-05-18 Thread France Baril
Awesome, any progress is good. We've been dealing with that lock issue for the longest time, but it took a while to figure out how to replicate it systematically. It was always so random. I'll see with the client when we can upgrade and will let you know how it goes. On Thu, May 17, 2018 at 9:05