Changes

Jump to navigation Jump to search
221 bytes added ,  15:31, 7 December 2013
no edit summary
The {{Code|.basex}} [[Configuration#Configuration Files|configuration file]] is parsed by every new local BaseX instance. It is used to store options to disk:
* '''Global options ''' can only be set via the configuration file or system properties (see below).* '''Local options ''' can also be specified in the configuration file after the {{Code|# Local Options}} comment.
Various ways exist to access and change options:
==General==
===DBPATHDEBUG=== {{Mark|Updated with Version 7.8:}} option can be changed at runtime by users with admin permissions 
{| width='100%'
|-
| width='120' | '''Signature'''
|{{Code|DBPATH DEBUG [pathboolean]}}
|-
| '''Default'''
|<code>[[Configuration#Database Directory{{Code|{homefalse}/BaseXData]]</code> or <code>[[Configuration#Database Directory|{home}/data]]</code>
|-
| '''Summary'''
|Points Sends internal debug info to the directory in which all databases are locatedSTDERR. This option can be turned on to get additional information for development and debugging purposes. It can also be triggered on [[Command-Line Options#BaseX Standalone|command line]] via <code>-d</code>.
|}
===REPOPATHDBPATH===
{| width='100%'
|-
| width='120' | '''Signature'''
|{{Code|REPOPATH DBPATH [path]}}
|-
| '''Default'''
|<code>[[Configuration#Database Directory|{home}/BaseXRepoBaseXData]]</code> or <code>[[Configuration#Database Directory|{home}/data]]</code>
|-
| '''Summary'''
|Points to the [[Repository]], directory in which all XQuery modules databases are located.
|}
===DEBUGREPOPATH===
{| width='100%'
|-
| width='120' | '''Signature'''
|{{Code|DEBUG REPOPATH [booleanpath]}}
|-
| '''Default'''
|<code>[[Configuration#Database Directory|{{Code|false}home}/BaseXRepo]]</code>
|-
| '''Summary'''
|Sends internal debug info Points to STDERR. This option can be turned on to get additional information for development and debugging purposes. It can also be triggered on the [[Command-Line Options#BaseX Standalone|command lineRepository]] via <code>-d</code>, in which all XQuery modules are located.
|}
;Version 7.8
* Added: <code>[[#CSVPARSER|CSVPARSER]]</code>, <code>[[#JSONPARSER|JSONPARSER]]</code>, <code>[[#TEXTPARSER|TEXTPARSER]]</code>, <code>[[#HTMLPARSER|HTMLPARSER]]</code>, <code>[[#INLINELIMIT|INLINELIMIT]]</code>
* Updated: <code>[[#WRITEBACK|WRITEBACK]]</code> only applies to main-memory document instances.
* AddedUpdated: <code>[[#CSVPARSERDEBUG|CSVPARSER]]</code>, <code>[[#JSONPARSER|JSONPARSER]]</code>, <code>[[#TEXTPARSER|TEXTPARSER]]</code>, <code>[[#HTMLPARSER|HTMLPARSER]]</code>, <code>[[#INLINELIMIT|INLINELIMITDEBUG]]</code>option can be changed at runtime by users with admin permissions.
* Removed: <code>[[#HTMLOPT|HTMLOPT]]</code> (replaced with <code>[[#HTMLPARSER|HTMLPARSER]]</code>), <code>[[#PARSEROPT|PARSEROPT]]</code> (replaced with parser-specific options)
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu