Hi France,
I created the database via the GUI as you described, I opened the
database properties dialog, I optimized the database, but everything
works fine on my system.. Hm. Does it happen every time you are
optimizing the database this way? Do you have similar problems on
command-line? Could you please run the following command script and
report back what happens?
create.bxs _____________________
SET CREATEFILTER *.xml,*.xsd
SET ADDARCHIVES false
SET ADDRAW true
SET CHOP false
SET INTPARSE true
CREATE DB test-db dita-schemas
OPTIMIZE ALL
INSPECT
____________________________
You may need to update the path to the 'dita-schemas' directory.
Thanks in advance,
Christian
> 1. From BaseX GUI, I create a new database from a folder that contains
> mostly .xml, .xsd and .dtd files (attached). I use the default options from
> the GUI except:
>
> GENERAL
>
> Input format XML: *.xml, *.xsd
> Check 'Add other files as raw'
> Uncheck 'Parse files in archives'
>
> PARSING
>
> Check 'Use internal XML parser'
> Uncheck 'Chop whitespaces'
>
> 2. Once the content is loaded, go to the 'Database properties' window for
> the DB and you'll see that all files are there and that you are able to
> browse the collections.
>
> 3. Click 'Optimize All' and try to browse the collections again. It doesn't
> work and a 'Stream Closed' error is generated in the terminal windows
> (details attached)!
>
>
> France Baril
> Architecte documentaire / Documentation architect
> france.baril@architextus.com