[basex-talk] Hundreds of thousands of java.io.IOException: Stream Closed in BaseX 7.3.1 from only catalina.out of Tomcat's log?

2018-01-04 Thread Bang Pham Huu
Hello, I've been using BaseX (version 7.3.1 with Tomcat 8) to store an XML database from XML files and using XQuery to query the database. It works great before with simple Java servlet as I recall. After that, I updated to use Spring Boot (version 1.5.2) for this web application (only update

[basex-talk] How to set DBPath in BaseX version 8.6.7 as in version 7.3.1?

2018-01-05 Thread Bang Pham Huu
Hello, I'm using BaseX version 7.3.1 and I can set dbpath where the collections are created with this code: new Set("dbpath", "/home//basex-database").execute(context); However, when changing to BaseX version 8.6.7, this statement will throw exception "org.basex.core.BaseXException: Global

Re: [basex-talk] Big Surprise from outputs in version 7.3.1 and 8.6.7 ?

2018-02-02 Thread Bang Pham Huu
e you some hints. > > Best, > Christian > > > > On Fri, Feb 2, 2018 at 1:36 PM, Bang Pham Huu > <b.pham...@jacobs-university.de> wrote: >> Hi Christian, >> >> I'd do as your suggestion, but I'm stuck with how to export old database >> to XML

Re: [basex-talk] Big Surprise from outputs in version 7.3.1 and 8.6.7 ?

2018-02-02 Thread Bang Pham Huu
; > If the output is identical, then: > > 4. Create a new database from this data with BaseX 8.x. > 5. Run your query and compare the results. > > Best, > Christian > > [1] http://docs.basex.org/wiki/Documentation > > > > > On Fri, Feb 2, 2018 at 11:48 AM,

Re: [basex-talk] Big Surprise from outputs in version 7.3.1 and 8.6.7 ?

2018-02-02 Thread Bang Pham Huu
I've found the *Big Surprise* which comes from my side. What I thought is an old database (generated by java application using BaseX library version 7.3.1) is actually an updated database by java application using BaseX library version 8.6.7. This data for some reasons has missing data (maybe

Re: [basex-talk] Big Surprise from outputs in version 7.3.1 and 8.6.7 ?

2018-02-02 Thread Bang Pham Huu
ink) is the serialization. It uses the adaptive serialization by > default, which uses newlines as separators when serialiazing. However, > you can switch to any other serialization method quite easily and use > the old default xml by issueing “declare option output:method “xml”;

Re: [basex-talk] Big Surprise from outputs in version 7.3.1 and 8.6.7 ?

2018-02-02 Thread Bang Pham Huu
kfurt am Main - Reg.-Nr.: HRB 105546 > Vorstand: Matthias Tomann, Marcus Purzer - Aufsichtsratsvorsitzender: > Daniel Grözinger > > -Ursprüngliche Nachricht----- > Von: basex-talk-boun...@mailman.uni-konstanz.de > [mailto:basex-talk-boun...@mailman.uni-konstanz.de] Im Auftrag von &

[basex-talk] Big Surprise from outputs in version 7.3.1 and 8.6.7 ?

2018-02-01 Thread Bang Pham Huu
Hello, I've been using BaseX to query an XML file in version 7.3.1 and it worked well. However, because of this problem https://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg10241.html and I was suggested to use version 8.6.7 then I changed to use this version in a Java Web

Re: [basex-talk] Big Surprise from outputs in version 7.3.1 and 8.6.7 ?

2018-02-02 Thread Bang Pham Huu
  Your input XML (using BaseX 8.6.7) > > -  You query (you already showed this, so not needed anymore) > > -  The actual result (you already showed this, so nothing to do) > > -  The expected result and how it differs from what you expect > >   > > Cheers > > Dirk &g