Changes

Jump to navigation Jump to search
9 bytes removed ,  08:54, 20 July 2022
no edit summary
=Prerequisites=
BaseX 10 requires Java 11 or later to run. Databases created with BaseX 10 the new version are backward compatible and can still be opened with BaseX 9.
=Migrating Applications=
The following modifications might be relevant when migrating existing applications:
* The default ports for web applications have been changed from 8984/8985 to 8080/8081.
* If a new application of BaseX is deployed, the {{Code|admin}} user can only be used after a custom password has been assigned, e.g., via the {{Command|PASSWORD}} command.
* The conventions for functions in [[Clients]] in other programming languages were revised.
* The <code>IGNOREHOSTNAME</code> option was dropped and merged with {{Option|IGNORECERT}}.
* The conventions for functions in [[Clients]] in other programming languages were revised.
=Storage=
==Whitespaces==
With BaseX 10, all All whitespaces are now preserved when importing XML resources, unless whitespace stripping is enabled.
The notorious {{Code|CHOP}} option was removed to prevent conflicting behavior caused by earlier installations. It was replaced by a new {{Option|STRIPWS}} option, which defaults to {{Code|false}}. In addition, the new default of the [[Serialization|serialization parameter]] {{Code|indent}} is {{Code|no}}.
The [[Transaction_Management|transaction manager]] gathers the names of the databases that will be accessed by a query. If it is not possible to uniquely identify all databases that may be opened by the query, global locking will be applied, and all databases will be locked. Detection can fail if the names of databases depend on external input. It can also fail if a query is too complex to associate character strings with database operations.
With BaseX 10, compilation Compilation has now been split into two separate steps:
# ''Compilation'' of logical, context-independent operations. External values are bound to the query, and deterministic code is rewritten, simplified and pre-evaluated.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu