So...you mean that "declare db:skipcorrupt ... " is not a valid syntax anymore?
Il giorno 14/set/2015, alle ore 15:44, Christian GrĂ¼n christian.gruen@gmail.com ha scritto:
I forgot to give feedback to your last comment:
Moreover, if I create a database from the GUI and select the option "skip corrupt", the database is created. However if I follow instruction here http://docs.basex.org/wiki/Parsers In order to add single files to a db usind db:add and precede the query with declare option db:skipcorrupt 'true', the files are not added because I get an error message due to the not well-formed xml. I have tried to declare other db options in the same way but they seem not be read.
Thanks for pointing this out. The examples in the Wiki were outdated; I have just updated them. The way to do it now is to specify the options as function arguments.
Christian