Changes

Jump to navigation Jump to search
80 bytes added ,  11:13, 7 October 2013
m
Text replace - "[[Startup Options" to "[[Command-Line Options"
|-
| '''Summary'''
|Sends internal debug info to STDERR. This option can be turned on to get additional information for development and debugging purposes. It can also be triggered on [[Startup Command-Line Options#BaseX Standalone|command line]] via <code>-d</code>.
|}
|-
| '''Summary'''
|This host name is used by the client when connecting to a server. This option can also be changed when running the client on [[Startup Command-Line Options#BaseX Client|command line]] via <code>-n</code>.
|}
|-
| '''Summary'''
|This port is used by the client when connecting to a server. This option can also be changed when running the client on [[Startup Command-Line Options#BaseX Client|command line]] via <code>-p</code>.
|}
|-
| '''Summary'''
|This is the port the database server will be listening to. This option can also be changed when running the server on [[Startup Command-Line Options#BaseX Server|command line]] via <code>-p</code>.
|}
|-
| '''Summary'''
|This port is used by the client to listen for [[Events|server events]]. It will only be bound if a client attaches itself to a database event. This option can also be changed when running the server on [[Startup Command-Line Options#BaseX Server|command line]] via <code>-e</code>.
|}
* The default value will be overwritten if a client specifies its own credentials.
* If the default value is empty, login will only be possible if the client specifies credentials.
* The option can also be changed on [[Startup Command-Line Options#BaseX Client|command line]] via <code>-U</code>.
|}
* The default value will be overwritten if a client specifies its own credentials.
* If the default value is empty, login will only be possible if the client specifies credentials.
* The option can also be changed on [[Startup Command-Line Options#BaseX Client|command line]] via <code>-P</code>.
* Please note that it is a security risk to specify your password in plain text.
|}
|-
| '''Summary'''
|Turns [[Logging]] of server operations and HTTP requests on/off. This option can also be changed when running the server on [[Startup Command-Line Options#BaseX Server|command line]] via <code>-z</code>.
|}
* The listener for stopping the web server will only be started if the specified value is greater than {{Code|0}}.
* The option is ignored if BaseX is used as a [[Web Application]] or started via [[Web Application#Maven|Maven]].
* This option can also be changed when running the HTTP server on [[Startup Command-Line Options#BaseX Server|command line]] via <code>-s</code>.
|}
|-
| '''Summary'''
|Chops all leading and trailing whitespaces from text nodes while building a database, and discards empty text nodes. By default, this option is set to {{Code|true}}, as it often reduces the database size by up to 50%. It can also be turned off on [[Startup Command-Line Options#BaseX Standalone|command line]] via <code>-w</code>.
|}
|-
| '''Summary'''
|Prints more information on internal query rewritings, optimizations, and performance. By default, this info is shown in the [[GUI#Visualizations|Info View]] in the GUI. It can also be activated on [[Startup Command-Line Options#BaseX Standalone|command line]] via <code>-V</code>.
|}
* Commas that occur in the value itself are encoded by duplication.
* If a variable uses a namespace different to the default namespace, it can be specified with the [http://www.jclark.com/xml/xmlns.htm Clark Notation] or [http://www.w3.org/TR/xquery-30/#id-basics Expanded QName Notation].
* This option can also be used on [[Startup Command-Line Options#BaseX Standalone|command line]] with the flag <code>-b</code>.
|-
| '''Examples'''
|-
| '''Summary'''
|Results of XQuery expressions will be serialized if this option is turned on. For debugging purposes and performance measurements, this option can be set to {{Code|false}}. It can also be turned off on [[Startup Command-Line Options#BaseX Standalone|command line]] via <code>-z</code>.
|}
* Keys and values are separated by equality signs.
* Multiple parameters are delimited by commas.
* The option can also be used on [[Startup Command-Line Options#BaseX Standalone|command line]] with the flag <code>-s</code>.
|-
| '''Example'''
|-
| '''Summary'''
|Prints the execution plan of an XQuery expression in its XML representation. This option can also be activated on [[Startup Command-Line Options#BaseX Standalone|command line]] via <code>-x</code>.
|}
|-
| '''Summary'''
|Updates on XML nodes are written back to the input files. No backups of your original files will be created if this option is turned on. This option can also be activated on [[Startup Command-Line Options#BaseX Standalone|command line]] via <code>-u</code>.
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu