Changes

Jump to navigation Jump to search
120 bytes removed ,  17 June
* The option can also be enabled on [[Command-Line Options#HTTP Server|command line]] via <code>-g</code>.
* It cannot be assigned via the {{Code|web.xml}} file, as it will be evaluated before the configuration files are parsed.
* The In addition to the [https://github.com/eclipse/jetty.project/blob/7cc552013eb4d05cb603ba0bc85d176c97957cd4/jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java#L187-L211 same Jetty defaults] of the web server will be applied (support for GET requests, exclusion of binaries, MSIE 6.0, etc.), POST and PUT requests are supported.
|}
===RESTXQERRORS===
 
{{Mark|Updated with BaseX 9.5:}} Additionally suppress stack trace in HTTP response.
{| width='100%'
===INLINELIMIT===
 
{{Mark|Updated with Version 9.5:}} default reduced to 50.
{| width='100%'
===UNROLLLIMIT===
 
{{Mark|Introduced with Version 9.6:}}
{| width='100%'
|-
| '''Summary'''
|When creating new nodes in XQuery via [https://www.w3.org/TR/xquery-31/#id-constructors Node Constructors], copies of all enclosed nodes will be copiedcreated, and all resulting the copied nodes will get new node identities. As a result, the following query yields <code>false</code>:<syntaxhighlight lang="xquery">let $a := <a/>let $b := <b>{ $a }</b>return $b/a is $a</syntaxhighlight>This step can be very expensiveand memory consuming. If the option is disabled, child nodes will only be linked to the new parent nodes, and it can be disabled with this optionthe upper query returns <code>true</code>. <br>The option should be used carefully, as it changes the standard behavior semantics of XQuery. It should preferrably preferably be used in [[XQuery Extensions#Database Pragmas|Pragmas]].
|}
|-
| '''Summary'''
|Defines the way how values that result from Java code invocation will be converted to XQuery items (see [[Java_Bindings#Data_Types|Java Bindings]] for further details). Allowed values:* {{Code|none}}: All Java values will be converted to equivalent XQuery values. If no conversion is possible, an error is raised.* {{Code|all}}: All Java values will be returned as wrapped Java objects, {{Code|some}}, {{Code|instance}}, and can be passed on to further Java functions without conversion.* {{Code|somevoid}}: Java values of the most common types will be converted . See [[Java_Bindings#Conversion to XQuery; others will be returned as wrapped |Java objectBindings]] for further details.
|}
=Changelog=
 
;Version 9.7
* Updated: {{Option|GZIP}}: Support for POST and PUT requests.
;Version 9.6
Bureaucrats, editor, reviewer, Administrators
12,951

edits

Navigation menu