Christian,

 

I set the field to “*.dita,*.ditamap,*.xml” and I do see this in the Info panel:

 

Command:

SET CREATEFILTER *.dita,*.ditamap,*.xml

 

This is what I have in my .basex config:

 

# Local Options

CHOP = false

SKIPCORRUPT = true

ADDARCHIVES = false

CREATEFILTER = *.dita,*.ditamap,*.ditaval,*.xml

 

But it does not appear to have any effect. I’ve tried it in both .basex and .basexgui and with and without quotes.

 

That is, my expectation based on the docs is that the entry in one or either of the config files would set the filter on startup.

 

Cheers,

 

E.

_____________________________________________

Eliot Kimber

Sr Staff Content Engineer

O: 512 554 9368

M: 512 554 9368

servicenow.com

LinkedIn | Twitter | YouTube | Facebook

 

From: Christian Grün <christian.gruen@gmail.com>
Date: Friday, January 14, 2022 at 2:33 AM
To: Eliot Kimber <eliot.kimber@servicenow.com>
Cc: basex-talk@mailman.uni-konstanz.de <basex-talk@mailman.uni-konstanz.de>
Subject: Re: [basex-talk] Configuration Option for Files to Parse in Create Database Dialog?

[External Email]


Hi Eliot,

> I’ve found and successfully configured the options for skipping corrupt and parsing archives but I don’t see an option that will populate the Input file or directory field, which I need to be “*.xml, *.dita,*.ditamap”.

Did you already try to enter this string in the "File patterns
(separated by commas)" text field in the first tab of the Database
Creation dialog?

As indicated by Bridger, this input should trigger a SET CREATEFILTER
"*.xml, *.dita,*.ditamap" command, as you can see in the Info panel
after having created your database.

Best,
Christian