Debian Codegraph @

net/sf/saxon/lib/FeatureKeys.java

raw symbols SCIP
1
2 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3 // Copyright (c) 2018 Saxonica Limited.
4 // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
5 // If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 // This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0.
7 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8
9 package net.sf.saxon.lib;
10
11 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
12
13
14 /**
15 * FeatureKeys defines a set of constants, representing the names of Saxon configuration
16 * options which can be supplied to the Saxon implementations of the JAXP
17 * interfaces TransformerFactory, SchemaFactory, Validator, and ValidationHandler,
18 * and to other interfaces such as the s9api {@link net.sf.saxon.s9api.Processor}
19 *
20 * @author Michael H. Kay
21 */
22
23 public abstract class FeatureKeys {
24
25
26 /**
27 * <p>ALLOW_EXTERNAL_FUNCTIONS determines whether calls to reflexive external functions are
28 * allowed.</p>
29 * <p>More specifically, if set to <b>false</b> it disallows all of the
30 * following:</p>
31 * <ul>
32 * <li>Calls to reflexive Java extension functions</li>
33 * <li>Use of the XSLT <code>system-property()</code> function to access Java system
34 * properties</li>
35 * <li>Use of a URI in the <code>href</code> attribute of an <code>xsl:result-document</code> instruction</li>
36 * <li>Calls to XSLT extension instructions</li>
37 * </ul>
38 * <p>The default value is <b>true</b>. The setting <b>false</b> is recommended in an
39 * environment where untrusted stylesheets may be executed.</p>
40 * <p>This option does not disable use of the <code>doc()</code> function or similar
41 * functions to access the filestore of the machine where the transformation or query
42 * is running. That should be done using a user-supplied <code>URIResolver</code>.</p>
43 * <p>Note that integrated extension functions are trusted; calls to such functions are
44 * allowed even if this configuration option is false. In cases where an integrated
45 * extension function is used to load and execute untrusted code, it should check this
46 * configuration option before doing so.</p>
47 * <p>If the value of the property is false, then it will also be set to false on any new
48 * Configuration created using the <code>fn:transform()</code> function.</p>
49 *
50 **/
51
52 public final static String ALLOW_EXTERNAL_FUNCTIONS =
53 "http://saxon.sf.net/feature/allow-external-functions";
54
55 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
56
57
58 /**
59 * <p>ALLOW_MULTITHREADING determines whether multi-threading is allowed.</p>
60 * <p>If true (the default), the presence of the attribute <code>saxon:threads="N"</code>
61 * on an <code>xsl:for-each</code> instruction, when running under Saxon-EE, causes
62 * multi-threaded execution. If set to false, the value of the
63 * <code>saxon:threads</code> argument is ignored.</p>
64 * <p>Setting the value to false also disables asynchronous processing of
65 * <code>xsl:result-document</code> instructions.</p>
66 * <p>The default value is true if Saxon-EE is in use, false otherwise.</p>
67 *
68 **/
69
70 public final static String ALLOW_MULTITHREADING =
71 "http://saxon.sf.net/feature/allow-multithreading";
72
73 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
74
75
76 /**
77 * <p>ALLOW_OLD_JAVA_URI_FORMAT determines whether extension function calls to
78 * dynamically-loaded Java extension functions may use the URI format supported in
79 * older Saxon releases.</p>
80 * <p>If the value is false (the default), the only URI format accepted is (for example)
81 * "java:java.util.Date" - that is, a URI consisting of the string "java:" followed by
82 * the Java qualified class name of the class containing the implementation of the
83 * extension function.</p>
84 * <p>If the value is true, then in addition to this format, the following are accepted:
85 * (a) the Java class name on its own ("java.util.Date"), and (b) any URI in which the
86 * Java class name follows the last "/" character (for example
87 * "http://my.com/extensions/java.util.Date"). This last format was originally provided
88 * for compatibility with xt and xalan, but it causes problems because it leads to
89 * unnecessary attempts to load spurious classes when the user did not intend the URI
90 * to represent a dynamically-loaded Java class.</p>
91 *
92 **/
93
94 public final static String ALLOW_OLD_JAVA_URI_FORMAT =
95 "http://saxon.sf.net/feature/allow-old-java-uri-format";
96
97 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
98
99
100 /**
101 * <p>This flag must be set to enable use of extensions to XPath (and potentially XQuery and XSLT)
102 * syntax that go beyond what is allowed by the extensibility mechanisms in the spec.
103 * In some cases these extensions are experimental and may not be carried forward to future
104 * Saxon releases.</p>
105 * <p>Syntax extensions in Saxon 9.8 include the use of type aliases (<code>~aliasName</code> where
106 * an item type is expected, and <code>declare type NAME = item-type</code> in the XQuery Prolog);
107 * and simple inline functions (for example <code>fn{. + 1}</code>).</p>
108 *
109 **/
110
111 public final static String ALLOW_SYNTAX_EXTENSIONS =
112 "http://saxon.sf.net/feature/allowSyntaxExtensions";
113
114 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
115
116
117 /**
118 * <p>ASSERTIONS_CAN_SEE_COMMENTS determines whether comment and processing instructions in
119 * a document being validated are visible to assertions in an XSD 1.1 schema.</p>
120 * <p>If the value is false (the default), comments and processing instructions are
121 * stripped from the view of the document that is made visible to the XPath expression
122 * that implements the assertion. If this creates adjacent text nodes, they are
123 * collapsed into a single text node.</p>
124 * <p>If the value is true, then comments and processing instructions are visible to the
125 * XPath assertion.</p>
126 *
127 **/
128
129 public final static String ASSERTIONS_CAN_SEE_COMMENTS =
130 "http://saxon.sf.net/feature/assertionsCanSeeComments";
131
132 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
133
134
135 /**
136 * <p>The supplied <code>CollationURIResolver</code> is used to process any collation URIs
137 * found in the query or stylesheet, returning an object of class
138 * {@link net.sf.saxon.lib.StringCollator} that implements the requested
139 * collation.</p>
140 *
141 **/
142
143 public final static String COLLATION_URI_RESOLVER =
144 "http://saxon.sf.net/feature/collation-uri-resolver";
145
146 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
147
148
149 /**
150 * <p>The supplied class is instantiated and the resulting instance is used as the value of
151 * the {@link net.sf.saxon.lib.FeatureKeys#COLLATION_URI_RESOLVER} property.</p>
152 *
153 **/
154
155 public final static String COLLATION_URI_RESOLVER_CLASS =
156 "http://saxon.sf.net/feature/collation-uri-resolver-class";
157
158 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
159
160
161 /**
162 * <p>The supplied <code>CollectionFinder</code> is used to retrieve a {@link net.sf.saxon.lib.ResourceCollection} object given by any URI defined in
163 * calls to the <code>collection()</code> or the <code>uri-collection()</code> function.</p>
164 * <p>If the argument is not specified then a default <code>ResourceCollection</code> should be handled.
165 * <code>CollectionFinder</code> returns a {@link net.sf.saxon.lib.ResourceCollection} which is used to map the URI of collection into a
166 * sequence of {@link net.sf.saxon.lib.Resource} objects
167 * (which are then resolved in the same way as URIs passed to the <code>doc()</code>
168 * function), or it may return an item (typically a node but can handle JSON documents).</p>
169 *
170 **/
171
172 public final static String COLLECTION_FINDER =
173 "http://saxon.sf.net/feature/collection-finder";
174
175 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
176
177
178 /**
179 * <p>The supplied class is instantiated and the resulting instance is used as the value of
180 * the {@link net.sf.saxon.lib.FeatureKeys#COLLECTION_FINDER} property.</p>
181 *
182 **/
183
184 public final static String COLLECTION_FINDER_CLASS =
185 "http://saxon.sf.net/feature/collection-finder-class";
186
187 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
188
189
190 /**
191 * <p>The supplied <code>CollectionURIResolver</code> is used to process any URIs used in
192 * calls to the <code>collection()</code> function. The
193 * <code>CollectionURIResolver</code> may either return a sequence of URIs (which
194 * are then resolved in the same way as URIs passed to the <code>doc()</code>
195 * function), or it may return a sequence of (typically document) nodes.</p>
196 *
197 **/
198
199 public final static String COLLECTION_URI_RESOLVER =
200 "http://saxon.sf.net/feature/collection-uri-resolver";
201
202 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
203
204
205 /**
206 * <p>The supplied class is instantiated and the resulting instance is used as the value of
207 * the {@link net.sf.saxon.lib.FeatureKeys#COLLECTION_URI_RESOLVER} property.</p>
208 *
209 **/
210
211 public final static String COLLECTION_URI_RESOLVER_CLASS =
212 "http://saxon.sf.net/feature/collection-uri-resolver-class";
213
214 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
215
216
217 /**
218 * <p>If run-time tracing of stylesheet or query execution is required, then the code must
219 * be compiled with tracing enabled.</p>
220 * <p>Default is false. This option causes code to be
221 * compiled that makes calls to a {@link net.sf.saxon.lib.TraceListener}, but this
222 * has no effect unless a <code>TraceListener</code> is registered at execution
223 * time.</p>
224 *
225 **/
226
227 public final static String COMPILE_WITH_TRACING =
228 "http://saxon.sf.net/feature/compile-with-tracing";
229
230 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
231
232
233 /**
234 * <p>This attribute cannot be set on the {@link net.sf.saxon.Configuration} itself,
235 * but it can be set on various JAXP factory objects such as a
236 * <code>TransformerFactory</code> or <code>DocumentBuilderFactory</code>, to
237 * ensure that several such factories use the same <code>Configuration</code>.</p>
238 * <p>Note that other configuration options are held in the <code>Configuration</code> object,
239 * so setting this attribute will cancel all others that have been set. Also, if two
240 * factories share the same <code>Configuration</code>, then setting an attribute on
241 * one affects all the others.</p>
242 *
243 **/
244
245 public final static String CONFIGURATION =
246 "http://saxon.sf.net/feature/configuration";
247
248 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
249
250
251 /**
252 * <p>Defines a configuration file to be applied to the configuration.</p>
253 * <p>This attribute cannot be set on the {@link net.sf.saxon.Configuration} itself, but it can be
254 * set on various JAXP factory objects such as a <code>TransformerFactory</code> or
255 * <code>DocumentBuilderFactory</code>. It is particularly useful when running
256 * transformations via the Ant xslt task, where it can be set as follows to define all
257 * configuration settings: </p>
258 * <p><code>&lt;factory name="net.sf.saxon.TransformerFactoryImpl"&gt; &lt;attribute
259 * name="http://saxon.sf.net/feature/configuration-file"
260 * value="c:/saxon/config.xml"/&gt; &lt;/factory&gt;</code>
261 * </p>
262 *
263 **/
264
265 public final static String CONFIGURATION_FILE =
266 "http://saxon.sf.net/feature/configuration-file";
267
268 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
269
270
271 /**
272 * <p>This option is set to indicate that bytecode generation should be run in debugging
273 * mode; it injects diagnostic tracing calls into the generated bytecode. This should
274 * be used only if requested by Saxonica support to diagnose a problem related to
275 * bytecode generation.</p>
276 *
277 **/
278
279 public final static String DEBUG_BYTE_CODE =
280 "http://saxon.sf.net/feature/debugByteCode";
281
282 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
283
284
285 /**
286 * <p>This option is relevant only if <code>DISPLAY_BYTE_CODE</code> is set to true. It
287 * defines a directory to which files containing bytecode in human-readable form will
288 * be written. There will be one such file for each generated class, with a filename
289 * designed to give some kind of clue as to its relationship to the source code.</p>
290 * <p>The default value is the directory <code>saxonByteCode</code> within the current
291 * working directory.</p>
292 * <p>The named directory is created if it does not already exist.</p>
293 * <p>Because the generation of class names involves random numbers, files will tend to
294 * accumulate in the supplied directory, even when the same source code is compiled
295 * repeatedly.</p>
296 *
297 **/
298
299 public final static String DEBUG_BYTE_CODE_DIR =
300 "http://saxon.sf.net/feature/debugByteCodeDir";
301
302 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
303
304
305 /**
306 * <p>This option determines the collation that is used for comparing strings when no
307 * explicit collation is requested. It is not necessary for this collation to exist (or
308 * to have been registered) when setting this option; it only needs to exist by the
309 * time it is used.</p>
310 * <p>In XSLT it is possible to override this setting using the
311 * <code>[xsl:]default-collation</code> attribute on any stylesheet element. In
312 * XQuery, it can be overridden using the <code>declare default collation</code>
313 * declaration in the query prolog, or via a setter method in class
314 * {@link net.sf.saxon.query.StaticQueryContext}.</p>
315 * <p>If no value is specified, the Unicode codepoint collation is used.</p>
316 *
317 **/
318
319 public final static String DEFAULT_COLLATION =
320 "http://saxon.sf.net/feature/defaultCollation";
321
322 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
323
324
325 /**
326 * <p>This determines the collection that is used when the <code>fn:collection()</code>
327 * function is called with no arguments; the effect is the same as if it were called
328 * passing the URI that is the value of this configuration property.</p>
329 *
330 **/
331
332 public final static String DEFAULT_COLLECTION =
333 "http://saxon.sf.net/feature/defaultCollection";
334
335 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
336
337
338 /**
339 * <p>This determines the country that is used by <code>format-date()</code> and similar
340 * functions if no country code is supplied explicitly. If no value is given for this
341 * property, the default is taken from the Java Locale, which in turn typically depends
342 * on settings for the current user in the operating system.</p>
343 *
344 **/
345
346 public final static String DEFAULT_COUNTRY =
347 "http://saxon.sf.net/feature/defaultCountry";
348
349 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
350
351
352 /**
353 * <p>This option determines the language that is used by <code>format-date()</code>,
354 * <code>xsl:number</code> and similar constructs if no language code is supplied
355 * explicitly. If no value is given for this property, the default is taken from the
356 * Java Locale, which in turn typically depends on settings for the current user in the
357 * operating system.</p>
358 *
359 **/
360
361 public final static String DEFAULT_LANGUAGE =
362 "http://saxon.sf.net/feature/defaultLanguage";
363
364 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
365
366
367 /**
368 * <p>Determines which regular expression engine should be used for evaluating regular expressions occuring in constructs
369 * such as <code>fn:matches()</code>, <code>fn:replace</code>, and <code>xsl:analyze-string</code>, and also
370 * in the pattern facet of a schema.</p>
371 * <p>On the Java platform the permitted values are "S" (default), and "J". The value "J" selects the regex engine
372 * provided in the JDK in preference to the Saxon regular expression engine. This means that regular expressions must
373 * follow the Java syntax and semantics rather than the XPath syntax and semantics.</p>
374 * <p>On the .NET platform the permitted values are "S" (default), "J", and "N". The value "J" selects the regex engine
375 * provided in the IKVMC run-time, which is derived from OpenJDK. The value "N" selects the regex engine provided
376 * in the Microsoft .NET platform. In each case, the regular expression must follow the syntax and semantics of the selected
377 * regex engine.</p>
378 * <p>The choice of regular expression may be overridden in a particular invocation by appending the value ";s",
379 * ";j", or ";n" to the flags argument of the relevant call. (This does not apply to XSD patterns, where no flags argument is available)</p>
380 * <p>Use of this feature is not conformant with W3C specifications. Use of the setting "N", however, can be useful
381 * when schemas have been written with the Microsoft schema processor in mind, since this uses the Microsoft regular
382 * expression dialect rather than the W3C dialect.</p>
383 *
384 **/
385
386 public final static String DEFAULT_REGEX_ENGINE =
387 "http://saxon.sf.net/feature/defaultRegexEngine";
388
389 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
390
391
392 /**
393 * <p>This option disables the <code>xsl:evaluate</code> instruction.</p>
394 * <p>If set at stylesheet compile time, the feature is statically disabled. If set at
395 * run-time it is dynamically disabled. (These terms are defined in the XSLT 3.0 spec.)
396 * The feature is always disabled (statically) in Saxon-HE.</p>
397 *
398 **/
399
400 public final static String DISABLE_XSL_EVALUATE =
401 "http://saxon.sf.net/feature/disableXslEvaluate";
402
403 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
404
405
406 /**
407 * <p>This option is set to indicate that bytecode generation should be run in display
408 * mode. The effect is to output files (one per class) containing a human-readable
409 * print of the generated bytecode. The files are placed in the directory identified by
410 * the <code>DEBUG_BYTE_CODE_DIR</code> option.</p>
411 *
412 **/
413
414 public final static String DISPLAY_BYTE_CODE =
415 "http://saxon.sf.net/feature/displayByteCode";
416
417 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
418
419
420 /**
421 * <p>If true, the XML parser is requested to perform validation of source documents
422 * against their DTD. Default is false.</p>
423 * <p>This option establishes a default for use whenever source documents (not stylesheets
424 * or schema documents) are parsed. The option can be overridden for individual
425 * documents by setting the {@link net.sf.saxon.lib.ParseOptions} for that
426 * individual document, for example from a <code>URIResolver</code>.</p>
427 *
428 **/
429
430 public final static String DTD_VALIDATION =
431 "http://saxon.sf.net/feature/validation";
432
433 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
434
435
436 /**
437 * <p>This option determines whether DTD validation failures should be treated as
438 * recoverable. If the option is set, a validation failure is reported as a warning
439 * rather than an error. The default is false.</p>
440 * <p>This option establishes a default for use whenever source documents (not stylesheets
441 * or schema documents) are parsed. The option can be overridden for individual
442 * documents by setting the {@link net.sf.saxon.lib.ParseOptions} for that
443 * individual document, for example from a <code>URIResolver</code>.</p>
444 *
445 **/
446
447 public final static String DTD_VALIDATION_RECOVERABLE =
448 "http://saxon.sf.net/feature/dtd-validation-recoverable";
449
450 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
451
452
453 /**
454 * <p>Forces Saxon to do eager evaluation of expressions in contexts where normally it would do lazy evaluation,
455 * for example when evaluating variables and function results. This can make for easier debugging.</p>
456 * <p>Note that this only applies to situations where Saxon would normally save a <code>Closure</code>
457 * object as the result of an expression. It does not prevent Saxon from using pipelined evaluation of
458 * intermediate expressions using iterators.</p>
459 *
460 **/
461
462 public final static String EAGER_EVALUATION =
463 "http://saxon.sf.net/feature/eagerEvaluation";
464
465 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
466
467
468 /**
469 * <p>The supplied class is instantiated and the resulting <code>EntityResolver</code> is
470 * used whenever Saxon itself creates an <code>XMLReader</code> for parsing source
471 * documents. It is not used with a user-supplied <code>XMLReader</code>.</p>
472 * <p>The default value is {@link net.sf.saxon.lib.StandardEntityResolver}. This is an entity
473 * resolver that recognizes the names of many standard W3C DTDs and external entity
474 * files, and resolves them against local copies issued with the Saxon software, to
475 * avoid the need to fetch them from the web.</p>
476 * <p>The property can be set to a zero-length string, in which case no
477 * <code>EntityResolver</code> will be used.</p>
478 *
479 *
480 **/
481
482 public final static String ENTITY_RESOLVER_CLASS =
483 "http://saxon.sf.net/feature/entityResolverClass";
484
485 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
486
487
488 /**
489 * <p>Setting the <code>ENVIRONMENT_VARIABLE_RESOLVER</code> causes the supplied object to
490 * be registered as the environment variable resolver for the
491 * <code>Configuration</code>. The setting is global: it affects all queries and
492 * transformations using this configuration.</p>
493 * <p>The environment variable resolver is used when the XPath functions
494 * <code>available-environment-variables()</code> or
495 * <code>environment-variable()</code> are called. Saxon essentially delegates the
496 * evaluation of the function to the external resolver.</p>
497 *
498 **/
499
500 public final static String ENVIRONMENT_VARIABLE_RESOLVER =
501 "http://saxon.sf.net/feature/environmentVariableResolver";
502
503 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
504
505
506 /**
507 * <p>Setting <code>ENVIRONMENT_VARIABLE_RESOLVER_CLASS</code> causes an instance of the
508 * supplied class to be created, and registered as the environment variable resolver
509 * for the <code>Configuration</code>. The setting is global: it affects all queries
510 * and transformations using this configuration.</p>
511 * <p>The environment variable resolver is used when the XPath functions
512 * <code>available-environment-variables()</code> or
513 * <code>environment-variable()</code> are called. Saxon essentially delegates the
514 * evaluation of the function to the external resolver.</p>
515 *
516 **/
517
518 public final static String ENVIRONMENT_VARIABLE_RESOLVER_CLASS =
519 "http://saxon.sf.net/feature/environmentVariableResolverClass";
520
521 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
522
523
524 /**
525 * <p><code>ERROR_LISTENER_CLASS</code> is the name of the class used to implement the JAXP
526 * <code>ErrorListener</code>. This is used both at compile time and at run-time.</p>
527 * <p>Currently if this option is specified, the class is instantiated, and the same
528 * instance is used for all processes running under this configuration. This may change
529 * in future so that a new instance is created for each compilation or evaluation.</p>
530 * <p>Finer control can be obtained by setting the <code>ErrorListener</code> for a
531 * specific XSLT or XQuery compilation or evaluation.</p>
532 *
533 **/
534
535 public final static String ERROR_LISTENER_CLASS =
536 "http://saxon.sf.net/feature/errorListenerClass";
537
538 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
539
540
541 /**
542 * <p><code>EXPAND_ATTRIBUTE_DEFAULTS</code> determines whether fixed and default values
543 * defined in a schema or DTD will be expanded (both on input and on output documents,
544 * if validation is requested).</p>
545 * <p>By default (and for conformance with the specification)
546 * validation against a DTD or schema will cause default values defined in the schema
547 * or DTD to be inserted into the document. Setting this feature to false suppresses
548 * this behavior. In the case of DTD-defined defaults this only works if the XML parser
549 * reports whether each attribute was specified in the source or generated by expanding
550 * a default value. Not all XML parsers report this information.</p>
551 *
552 **/
553
554 public final static String EXPAND_ATTRIBUTE_DEFAULTS =
555 "http://saxon.sf.net/feature/expandAttributeDefaults";
556
557 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
558
559
560 /**
561 * <p><code>EXPATH_FILE_DELETE_TEMPORARY_FILES</code> determines whether temporary files
562 * and directories created in the EXPath File module should be automatically deleted on
563 * closure of the JVM.</p>
564 * <p>The default value is <b>false</b>, to align with the standard. The setting
565 * <b>false</b> is recommended when external 'sweep-up' features aren't
566 * available.</p>
567 *
568 **/
569
570 public final static String EXPATH_FILE_DELETE_TEMPORARY_FILES =
571 "http://saxon.sf.net/feature/expathFileDeleteTemporaryFiles";
572
573 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
574
575
576 /**
577 * <p>By default, Saxon-EE attempts to generate Java bytecode for evaluation of parts of a
578 * query or stylesheet that are amenable to such treatment. Setting this option to
579 * false disables this.</p>
580 *
581 **/
582
583 public final static String GENERATE_BYTE_CODE =
584 "http://saxon.sf.net/feature/generateByteCode";
585
586 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
587
588
589 /**
590 * <p>If this option is set to true, then when a <code>SAXSource</code> is supplied as the
591 * input to an XSLT transformation, Saxon will ignore the <code>XMLReader</code>
592 * supplied in the <code>SAXSource</code> (in fact, it will modify the supplied
593 * <code>SAXSource</code> setting the <code>XMLReader</code> to null) and use an
594 * <code>XMLReader</code> created using the value of the
595 * <code>SOURCE_PARSER_CLASS</code> option in preference.</p>
596 * <p>The defining use case for this feature is when calling a Saxon transformation from
597 * Ant. Ant always supplies the source document as a <code>SAXSource</code> using a
598 * parser instantiated using the default JAXP mechanism. A different parser set using
599 * the property <code>http://saxon.sf.net/feature/sourceParserClass</code> will
600 * normally be ignored in this case; setting the <code>ignoreSAXSourceParser</code>
601 * option overrides this. This is especially useful if the input format is not in fact
602 * XML, but some other format converted to a SAX event stream by means of a custom
603 * parser.</p>
604 *
605 **/
606
607 public final static String IGNORE_SAX_SOURCE_PARSER =
608 "http://saxon.sf.net/feature/ignoreSAXSourceParser";
609
610 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
611
612
613 /**
614 * <p><code>IMPLICIT_SCHEMA_IMPORTS</code> allows reference to schema components without an <code>xs:import</code> for the relevant namespace being
615 * present in the containing schema document. </p>
616 * <p>This only works if the referenced components are already present among the schema components known to the configuration, perhaps
617 * because they were part of a different schema, or because there are cyclic references within a schema.</p>
618 * <p>This option is not conformant with the XSD specification, which requires explicit <code>xs:import</code> declarations
619 * for all cross-namespace component references. However, some "industry-standard" schemas are known to violate this rule,
620 * and setting this option allows such schemas to be loaded by Saxon.</p>
621 *
622 **/
623
624 public final static String IMPLICIT_SCHEMA_IMPORTS =
625 "http://saxon.sf.net/feature/implicitSchemaImports";
626
627 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
628
629
630 /**
631 * <p><code>LAZY_CONSTRUCTION_MODE</code> determines whether temporary trees are
632 * constructed lazily. The default setting is false; there are a few situations (but
633 * not many) where setting this to true can give a performance benefit (especially a
634 * memory saving).</p>
635 * <p>The option is most likely to be effective when executing XQuery in "pull" mode, that
636 * is, when the client calls the query processor to deliver the result as a stream of
637 * nodes, rather than running the query and piping the results into a serializer.</p>
638 *
639 **/
640
641 public final static String LAZY_CONSTRUCTION_MODE =
642 "http://saxon.sf.net/feature/lazyConstructionMode";
643
644 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
645
646
647 /**
648 * <p><code>LICENSE_FILE_LOCATION</code> holds the filename in which the Saxon license file
649 * is held.</p>
650 * <p>This is the full file name, for example <code>c:/saxon/license/license.lic</code>.
651 * Setting this property causes Saxon to
652 * immediately read the specified file and register the license data, assuming it can
653 * be found at this location. The property is not recognized for reading, and it is not
654 * recognized for writing except in Saxon-PE and Saxon-EE.</p>
655 *
656 **/
657
658 public final static String LICENSE_FILE_LOCATION =
659 "http://saxon.sf.net/feature/licenseFileLocation";
660
661 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
662
663
664 /**
665 * <p>Default is false. If true, line and column number information is retained for all
666 * source documents. This information is accessible using the
667 * <code>saxon:line-number()</code> and <code>saxon:column-number()</code>
668 * extension functions.</p>
669 * <p>Note that the information is only as good as the XML parser supplies. SAX parsers
670 * generally report the position of an element node using the line and column number of
671 * the "&gt;" character that forms the last character of the start tag.</p>
672 * <p>When this option is set, location information attached to a node (system ID, line
673 * number, and column number) is retained when the node is copied. This has the side effect
674 * that the base URI of a node is also copied, which in some cases runs contrary to the
675 * XSLT or XQuery specification.</p>
676 *
677 **/
678
679 public final static String LINE_NUMBERING =
680 "http://saxon.sf.net/feature/linenumbering";
681
682 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
683
684
685 /**
686 * <p>Setting the <code>MARK_DEFAULTED_ATTRIBUTES</code> option causes Saxon to retain details of attributes
687 * that were notified by the XML parser as being defaulted (that is, the attribute was not present in the instance
688 * document but was defined by a default value in a DTD or schema). This information is available to applications
689 * via the <code>saxon:is-defaulted()</code> extension function.</p>
690 * <p>Note: information about defaulted attributes is retained automatically where the attribute is processed
691 * using Saxon's schema processor; but in the case where the information comes from an external XML parser, it
692 * is retained only if this option is set.</p>
693 *
694 **/
695
696 public final static String MARK_DEFAULTED_ATTRIBUTES =
697 "http://saxon.sf.net/feature/markDefaultedAttributes";
698
699 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
700
701
702 /**
703 * <p>Places a limit on the number of classes for which Saxon will generate bytecode.</p>
704 * <p>If bytecode generation is enabled, Saxon will generate bytecode for frequently used constructs appearing
705 * in stylesheets or queries. This can become problematic if a configuration uses a very large number
706 * of different stylesheets and queries, because it creates memory pressure (in some environments classes
707 * are never garbage collected). When this limit (which defaults to 10,000) is exceeded, no more bytecode
708 * is generated, and queries/stylesheets are interpreted instead.</p>
709 *
710 **/
711
712 public final static String MAX_COMPILED_CLASSES =
713 "http://saxon.sf.net/feature/maxCompiledClasses";
714
715 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
716
717
718 /**
719 * <p>Use the specified <code>Receiver</code> to process the output from
720 * <code>xsl:message</code>. The class must implement the
721 * <code>net.sf.saxon.event.Receiver</code> interface. This interface is similar to
722 * a SAX <code>ContentHandler</code>, in that it takes a stream of events to generate
723 * output.</p>
724 * <p>By default the standard XML emitter is used, configured to write to the standard
725 * error stream, and to include no XML declaration. </p>
726 * <p>In general the content of a message is an XML fragment. Each message is output as a
727 * new document. The sequence of calls to this <code>Receiver</code> is as follows:
728 * there is a single <code>open()</code> call at the start of the transformation, and a
729 * single <code>close()</code> call at the end; and each evaluation of an
730 * <code>xsl:message</code> instruction starts with a <code>startDocument()</code>
731 * call and ends with <code>endDocument()</code>. </p>
732 * <p>The <code>startDocument()</code> event has a <code>properties</code> argument
733 * indicating whether <code>terminate="yes"</code> was specified, and the
734 * <code>locationId</code> on calls such as <code>startElement()</code> and
735 * <code>characters()</code> can be used to identify the location in the stylesheet
736 * where the message data originated (this is achieved by passing the supplied
737 * <code>locationId</code> in a call to
738 * <code>getPipelineConfiguration().getLocator().getSystemId(locationId)</code>, or
739 * to <code>getLineNumber()</code> on the same object). </p>
740 * <p>Select the class <code>net.sf.saxon.event.MessageWarner</code> to have
741 * <code>xsl:message</code> output notified to the JAXP <code>ErrorListener</code>,
742 * as described in the JAXP documentation.</p>
743 *
744 **/
745
746 public final static String MESSAGE_EMITTER_CLASS =
747 "http://saxon.sf.net/feature/messageEmitterClass";
748
749 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
750
751
752 /**
753 * <p>Affects XQuery only. An instance of a user-written class implementing Saxon's
754 * {@link net.sf.saxon.lib.ModuleURIResolver} interface. This is used to
755 * process any URIs used in <code>import module</code> directives in XQuery.</p>
756 *
757 **/
758
759 public final static String MODULE_URI_RESOLVER =
760 "http://saxon.sf.net/feature/moduleURIResolver";
761
762 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
763
764
765 /**
766 * <p>Affects XQuery only. The name of a user-written class implementing Saxon's
767 * {@link net.sf.saxon.lib.ModuleURIResolver} interface. This is used to
768 * process any URIs used in <code>import module</code> directives in XQuery.</p>
769 *
770 **/
771
772 public final static String MODULE_URI_RESOLVER_CLASS =
773 "http://saxon.sf.net/feature/moduleURIResolverClass";
774
775 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
776
777
778 /**
779 * <p>When set from the Transform or Query command line, a report on bytecode generation is
780 * produced at the end of the transformation or query.</p>
781 * <p>When set from an application, the bytecode report is produced only on request, by
782 * calling <code>Configuration.createByteCodeReport(fileName)</code>.</p>
783 * <p>The bytecode report is an XML file containing one entry for each expression that has
784 * been compiled into bytecode. Each entry contains the following details, where
785 * applicable:</p>
786 * <ul>
787 * <li><code>text</code> Abbreviated text of the expression</li>
788 * <li><code>intCount</code> Number of times the expression was evaluated in the interpreter</li>
789 * <li><code>intTime</code> Cumulative time spent evaluating the expression (including subexpressions) in the interpreter</li>
790 * <li><code>bcCount</code> Number of times the expression was evaluated as byte-code</li>
791 * <li><code>bcTime</code> Cumulative time spent evaluating the expression (including subexpressions) as byte-code</li>
792 * <li><code>compileTime</code> Time spent generating bytecode for the expression</li>
793 * <li><code>ratio</code> Average byte-code execution time as a proportion of average interpreted execution time</li>
794 * <li><code>ebv</code> Number of evaluations of the expressions <code>effectiveBooleanValue()</code> method</li>
795 * <li><code>eval</code> Number of evaluations of the expressions <code>evaluateItem()</code> method</li>
796 * <li><code>iterate</code> Number of evaluations of the expressions <code>iterate()</code> method</li>
797 * <li><code>process</code> Number of evaluations of the expressions <code>process()</code> method</li>
798 * <li><code>module</code> URI of the module containing the expression</li>
799 * <li><code>line</code> Line number of the expression within this module</li>
800 * </ul>
801 *
802 **/
803
804 public final static String MONITOR_HOT_SPOT_BYTE_CODE =
805 "http://saxon.sf.net/feature/monitorHotSpotByteCode";
806
807 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
808
809
810 /**
811 * <p>Affects schema construction (whether for standalone validation, or in the context of
812 * XSLT or XQuery).</p>
813 * <p>If set to true, the schema processor attempts to fetch a schema
814 * document appearing in an <code>xs:import</code> directive, whether or not a schema
815 * for that namespace has already been loaded, unless the absolute URI formed from the
816 * <code>schemaLocation</code> is the same as the absolute URI that was used to
817 * load that namespace. If set to false, the schema processor ignores the
818 * <code>schemaLocation</code> on an <code>xs:import</code> declaration if schema
819 * components for the requested namespace are already available. Note that setting the
820 * value to true might cause spurious errors due to like-named schema components being
821 * loaded more than once. On the other hand, setting the value to false might result in
822 * validation failing because schema components are missing.</p>
823 * <p>Note: Both settings are conformant with the W3C recommendation, which leaves the
824 * details implementation-defined. It is possible (and advisable) to write schemas in
825 * such a way that this setting makes no difference, by ensuring that all imports for a
826 * particular namespace go via a "home" schema document for that namespace, where the
827 * home schema document contains <code>xs:include</code> declarations for all the
828 * schema documents defining components in that namespace.</p>
829 *
830 **/
831
832 public final static String MULTIPLE_SCHEMA_IMPORTS =
833 "http://saxon.sf.net/feature/multipleSchemaImports";
834
835 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
836
837
838 /**
839 * <p>Indicates that the supplied <code>NamePool</code> should be used as the target
840 * (run-time) <code>NamePool</code> by all stylesheets compiled (using
841 * <code>newTemplates()</code>) after this call on <code>setAttribute</code>.</p>
842 * <p>Normally a single system-allocated <code>NamePool</code> is used for all stylesheets
843 * compiled while the Java VM remains loaded; this attribute allows user control over
844 * the allocation of name pools. Note that source trees used as input to a
845 * transformation must be built using the same <code>NamePool</code> that is used when
846 * the stylesheet is compiled: this will happen automatically if the input to a
847 * transformation is supplied as a <code>SAXSource</code> or <code>StreamSource</code>
848 * but it is under user control if you build the source tree yourself.</p>
849 * <p>This option can be used to make two <code>Configuration</code> objects share a
850 * <code>NamePool</code> even though they differ in other respects.</p>
851 *
852 **/
853
854 public final static String NAME_POOL =
855 "http://saxon.sf.net/feature/namePool";
856
857 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
858
859
860 /**
861 * <p><code>OCCURRENCE_LIMITS</code> determines the largest values of
862 * <code>minOccurs</code> and <code>maxOccurs</code> that can be accommodated when
863 * compiling an "expanded" finite state machine to represent an XSD content model
864 * grammar.</p>
865 * <p>These limits do not apply in the common cases where the grammar can be
866 * implemented using a counting finite-state-machine, but in those cases where this is
867 * not possible, any <code>minOccurs</code> value greater than the first integer is
868 * reduced to the value of the first integer, and any <code>maxOccurs</code> value
869 * greater than the second integer is treated as "unbounded".</p>
870 * <p>Setting these values too high may cause an <code>OutOfMemoryException</code> since
871 * the size of the finite state machine constructed by Saxon increases linearly with
872 * the values of <code>minOccurs</code> and <code>maxOccurs</code>.</p>
873 *
874 **/
875
876 public final static String OCCURRENCE_LIMITS =
877 "http://saxon.sf.net/feature/occurrenceLimits";
878
879 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
880
881
882 /**
883 * <p>Allows individual optimizations to be enabled or disabled selectively.</p>
884 * <p>There is a set of single-letter flags identifying particular optimizations:</p>
885 * <ul>
886 * <li>c: generate bytecode</li>
887 * <li>e: cache regular expressions</li>
888 * <li>f: inline functions</li>
889 * <li>g: extract global variables</li>
890 * <li>j: just-in-time compilation of template rules</li>
891 * <li>k: create keys</li>
892 * <li>l: loop lifting</li>
893 * <li>m: miscellaneous</li>
894 * <li>r: template rule-sets</li>
895 * <li>s: extract common subexpressions</li>
896 * <li>v: inline variables</li>
897 * <li>w: create switch statements</li>
898 * <li>x: index predicates</li>
899 * </ul>
900 * <p>A value such as <code>gs</code> runs with only the selected optimizations;
901 * <code>-gs</code> runs with the selected optimizations disabled and all others enabled. The
902 * value <code>0</code> suppresses all optimizations. The default is full optimization; this
903 * feature allows optimization to be suppressed in cases where reducing compile time is
904 * important, or where optimization gets in the way of debugging, or causes extension
905 * functions with side-effects to behave unpredictably. (Note however, that even with
906 * no optimization, lazy evaluation may still cause the evaluation order to be not as
907 * expected.) </p>
908 * <p><i>Note that disabling optimizations may prevent streamed execution. This is because
909 * there are cases where streamed execution is only possible because the optimizer is able to detect
910 * that sorting nodes into document order is unnecessary.</i></p>
911 *
912 **/
913
914 public final static String OPTIMIZATION_LEVEL =
915 "http://saxon.sf.net/feature/optimizationLevel";
916
917 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
918
919
920 /**
921 * <p>The supplied <code>OutputURIResolver</code> will be used to resolve URIs of secondary
922 * result documents selected in the <code>href</code> attribute of the XSLT
923 * <code>xsl:result-document</code> instruction.</p>
924 *
925 **/
926
927 public final static String OUTPUT_URI_RESOLVER =
928 "http://saxon.sf.net/feature/outputURIResolver";
929
930 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
931
932
933 /**
934 * <p>The supplied class will be instantiated, and the resulting
935 * <code>OutputURIResolver</code> will be used to resolve URIs of secondary result
936 * documents selected in the <code>href</code> attribute of the XSLT
937 * <code>xsl:result-document</code> instruction.</p>
938 *
939 **/
940
941 public final static String OUTPUT_URI_RESOLVER_CLASS =
942 "http://saxon.sf.net/feature/outputURIResolverClass";
943
944 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
945
946
947 /**
948 * <p>If true, calls on the <code>doc()</code> and <code>document()</code> functions, if
949 * their arguments are known at compile time, will be evaluated at compile time, and
950 * the resulting document will be stored as part of the Saxon
951 * {@link net.sf.saxon.Configuration} and shared by all queries and
952 * transformations running within that <code>Configuration</code>.</p>
953 * <p>This is useful for reference documents that have stable content and are used by many different
954 * queries and transformations. The default is false, which means each query or transformation
955 * will reload the document from disk.</p>
956 * <p>In XSLT 3.0 a better way of having external documents pre-loaded at stylesheet
957 * compile time is to use the new facility of static global variables.</p>
958 *
959 **/
960
961 public final static String PRE_EVALUATE_DOC_FUNCTION =
962 "http://saxon.sf.net/feature/preEvaluateDocFunction";
963
964 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
965
966
967 /**
968 * <p>Relevant only on .NET, determines whether the Java Classpath parser is used in
969 * preference to the Microsoft .NET parser.</p>
970 * <p>This option has no effect on the Java platform. The default is <b>true</b>. When
971 * running on the .NET platform, if the option is true it causes the Apache Xerces
972 * parser (cross-compiled using IKVMC) to be used in preference to the .NET XML parser.
973 * If false the .NET XML parser (<code>System.Xml.XmlTextReader</code>) is used. One
974 * reason for providing this option is that the .NET XML parser does not report ID
975 * attributes, which means that the <code>id()</code> function does not work.</p>
976 *
977 **/
978
979 public final static String PREFER_JAXP_PARSER =
980 "http://saxon.sf.net/feature/preferJaxpParser";
981
982 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
983
984
985 /**
986 * <p>True if the standard URI resolver is to recognize query parameters included in
987 * the URI (for example, <code>?val=strict</code>). Such parameters can then be used in
988 * URIs passed to the <code>doc()</code> or <code>document()</code> functions. For
989 * details of the query parameters available, see <span class="link" data-href="/sourcedocs">Source Documents</span>. The default is false.</p>
990 * <p>This option has no effect if a user-supplied <code>URIResolver</code> is in use,
991 * unless the user-supplied <code>URIResolver</code> chooses to inherit this
992 * functionality from the standard <code>URIResolver</code>.</p>
993 * <p>Allowed parameters include <code>validation=strict|lax|strip</code> to perform schema
994 * validation, <code>strip-space=yes|ignorable|no</code> to control whitespace
995 * stripping, and <code>xinclude=yes|no</code> to control whether XInclude processing
996 * takes place (assuming the XML parser supports it).</p>
997 *
998 **/
999
1000 public final static String RECOGNIZE_URI_QUERY_PARAMETERS =
1001 "http://saxon.sf.net/feature/recognize-uri-query-parameters";
1002
1003 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1004
1005
1006 /**
1007 * <p>An integer, one of {@link net.sf.saxon.Configuration#RECOVER_SILENTLY},
1008 * {@link net.sf.saxon.Configuration#RECOVER_WITH_WARNINGS}, or
1009 * {@link net.sf.saxon.Configuration#DO_NOT_RECOVER}. Indicates the policy for
1010 * handling dynamic errors that the XSLT specification defines as recoverable.</p>
1011 * <p>0 means recover silently; 1 means recover after signalling a warning to the
1012 * <code>ErrorListener</code>; 2 means treat the error as fatal. An example of a
1013 * recoverable error is when two template rules match the same node.</p>
1014 * <p>Note that XSLT 3.0 has eliminated all "recoverable errors" from the
1015 * specification.</p>
1016 *
1017 **/
1018
1019 public final static String RECOVERY_POLICY =
1020 "http://saxon.sf.net/feature/recoveryPolicy";
1021
1022 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1023
1024
1025 /**
1026 * <p>Indicates the policy for handling dynamic errors that the XSLT specification defines
1027 * as recoverable.</p>
1028 * <p>"recoverSilently" means recover silently; "recoverWithWarnings"
1029 * means recover after signalling a warning to the <code>ErrorListener</code>;
1030 * "doNotRecover" means treat the error as fatal. An example of a recoverable error is
1031 * when two template rules match the same node. </p>
1032 * <p>Note that XSLT 3.0 has eliminated all "recoverable errors" from the
1033 * specification.</p>
1034 *
1035 **/
1036
1037 public final static String RECOVERY_POLICY_NAME =
1038 "http://saxon.sf.net/feature/recoveryPolicyName";
1039
1040 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1041
1042
1043 /**
1044 * <p>Indicates the maximum number of threads to be used for processing
1045 * <code>xsl:result-document</code> instructions in parallel. If the maximum number
1046 * of threads are already in use, the <code>xsl:result-document</code> instruction will
1047 * be executed synchronously within its parent thread.</p>
1048 * <p>The default value is initialized to
1049 * <code>Runtime.getRuntime().availableProcessors()</code> which is intended to
1050 * represent the number of "processors" (under some definition) available from the
1051 * hardware.</p>
1052 * <p>The limit applies per <code>Configuration</code>. If multiple workloads are running
1053 * on the same server under separate Saxon <code>Configuration</code> objects, then it
1054 * may be desirable to lower the limit.</p>
1055 * <p>Setting a value of zero or one suppresses multithreading entirely. This can also be
1056 * achieved (for a specific <code>xsl:result-document</code> instruction) by setting
1057 * the attribute <code>saxon:asynchronous="no"</code> in the stylesheet. Suppressing
1058 * multithreading may be desirable in a stylesheet that calls extension functions with
1059 * side-effects.</p>
1060 *
1061 **/
1062
1063 public final static String RESULT_DOCUMENT_THREADS =
1064 "http://saxon.sf.net/feature/resultDocumentThreads";
1065
1066 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1067
1068
1069 /**
1070 * <p>If set to true, indicates that when input is obtained from a SAX parser, the
1071 * DTD-based attribute type notified by the XML parser should be used to set the type
1072 * annotation of the resulting node: for example a DTD type of NMTOKENS results in a
1073 * type annotation of xs:NMTOKENS. </p>
1074 * <p>This option is retained for backwards compatibility (at some time in the past, it was
1075 * the default), but is deprecated.</p>
1076 *
1077 **/
1078
1079 public final static String RETAIN_DTD_ATTRIBUTE_TYPES =
1080 "http://saxon.sf.net/feature/retain-dtd-attribute-types";
1081
1082 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1083
1084
1085 /**
1086 * <p>The supplied <code>SchemaURIResolver</code> will be used to resolve URIs of schema
1087 * documents referenced in <code>xsl:import-schema</code> declarations in XSLT,
1088 * <code>import schema</code> in XQuery, references from one schema document to
1089 * another using <code>xs:include</code> or <code>xs:import</code>, and references from
1090 * an instance document to a schema using <code>xsi:schemaLocation</code>.</p>
1091 *
1092 **/
1093
1094 public final static String SCHEMA_URI_RESOLVER =
1095 "http://saxon.sf.net/feature/schemaURIResolver";
1096
1097 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1098
1099
1100 /**
1101 * <p>The name of a class that implements the interface <code>SchemaURIResolver</code>;
1102 * this class will be instantiated and the resulting instance will be used as the value
1103 * of the {@link net.sf.saxon.lib.FeatureKeys#SCHEMA_URI_RESOLVER} property.</p>
1104 *
1105 **/
1106
1107 public final static String SCHEMA_URI_RESOLVER_CLASS =
1108 "http://saxon.sf.net/feature/schemaURIResolverClass";
1109
1110 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1111
1112
1113 /**
1114 * <p>Indicates whether and how schema validation should be applied to source
1115 * documents.</p>
1116 *
1117 **/
1118
1119 public final static String SCHEMA_VALIDATION =
1120 "http://saxon.sf.net/feature/schema-validation";
1121
1122 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1123
1124
1125 /**
1126 * <p>Indicates whether and how schema validation should be applied to source
1127 * documents.</p>
1128 *
1129 **/
1130
1131 public final static String SCHEMA_VALIDATION_MODE =
1132 "http://saxon.sf.net/feature/schema-validation-mode";
1133
1134 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1135
1136
1137 /**
1138 * <p>The class will be instantiated and the resulting <code>SerializerFactory</code> will
1139 * be used to create the serialization pipeline for XSLT and XQuery results.</p>
1140 * <p>By subclassing the standard <code>SerializerFactory</code> it is possible to customize
1141 * many aspects of the output produced by the Serializer, or to introduce new
1142 * serialization methods and parameters.</p>
1143 *
1144 **/
1145
1146 public final static String SERIALIZER_FACTORY_CLASS =
1147 "http://saxon.sf.net/feature/serializerFactoryClass";
1148
1149 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1150
1151
1152 /**
1153 * <p>XML parser used for source documents.</p>
1154 * <p>The class will be instantiated. If it is an <code>XMLReader</code> it is used
1155 * directly; if it is a <code>SAXParserFactory</code> it is used to instantiate an
1156 * <code>XMLReader</code>. The resulting <code>XMLReader</code> will be used to
1157 * parse source documents (that is, the principal source document plus any secondary
1158 * source documents read using the <code>doc()</code>, <code>document()</code>, or
1159 * <code>collection()</code> function).</p>
1160 * <p>Note that the selected parser is used only when the input is supplied in the form of
1161 * a <code>StreamSource</code>; it is ignored when a <code>SAXSource</code> with a
1162 * pre-initialized <code>XMLReader</code> is supplied. A consequence is that this
1163 * configuration option has no effect when running transformations from an Ant script,
1164 * since the Ant <code>xslt</code> task always supplies the input in the form of a
1165 * <code>SAXSource</code>.</p>
1166 *
1167 **/
1168
1169 public final static String SOURCE_PARSER_CLASS =
1170 "http://saxon.sf.net/feature/sourceParserClass";
1171
1172 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1173
1174
1175 /**
1176 * <p>On interfaces that allow an <code>org.xml.sax.Source</code> to be supplied, if a kind
1177 * of <code>Source</code> is provided that Saxon does not recognize, it will be passed
1178 * to the user-supplied <code>SourceResolver</code>, which has the opportunity to
1179 * convert it to a kind of <code>Source</code> that Saxon does recognize. This allows
1180 * new kinds of input to be supplied as input to Saxon's query, transformation, and
1181 * validation engines.</p>
1182 *
1183 **/
1184
1185 public final static String SOURCE_RESOLVER_CLASS =
1186 "http://saxon.sf.net/feature/sourceResolverClass";
1187
1188 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1189
1190
1191 /**
1192 * <p><code>STABLE_COLLECTION_URI</code>, if set, indicates that collections returned by
1193 * the <code>fn:collection()</code> and <code>fn:uri-collection()</code> functions
1194 * should be <i>stable</i>, that is, repeated calls on these functions with the same
1195 * collection URI (within the scope of a single query or transformation) should return
1196 * identical results.</p>
1197 * <p>Setting this option may be expensive because it requires that the entire collection
1198 * be saved in memory; it is rarely necessary in practice, but is required for strict
1199 * conformance with the W3C specifications.</p>
1200 * <p>It is also possible to indicate that a collection is stable by means of the
1201 * <code>CollectionFinder</code> API.</p>
1202 *
1203 **/
1204
1205 public final static String STABLE_COLLECTION_URI =
1206 "http://saxon.sf.net/feature/stableCollectionUri";
1207
1208 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1209
1210
1211 /**
1212 * <p><code>STABLE_UNPARSED_TEXT</code>, if set, indicates that the results returned by
1213 * repeated calls of <code>unparsed-text()</code>, <code>unparsed-text-lines()</code>,
1214 * and <code>unparsed-text-available()</code> are consistent: calling these functions
1215 * twice during the evaluation of a stylesheet or query will return the same
1216 * results.</p>
1217 * <p>Setting this option may be expensive because it requires that the file contents be
1218 * saved in memory; it is rarely necessary in practice, but is required for strict
1219 * conformance with the W3C specifications.</p>
1220 *
1221 **/
1222
1223 public final static String STABLE_UNPARSED_TEXT =
1224 "http://saxon.sf.net/feature/stableUnparsedText";
1225
1226 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1227
1228
1229 /**
1230 * <p><code>STANDARD_ERROR_OUTPUT_FILE</code> is the name of a file to which Saxon will
1231 * redirect output that would otherwise go to the operating system standard error
1232 * stream (System.err). This is the fallback destination for various tracing and
1233 * diagnostic output. In some cases a more specific mechanism exists to select the
1234 * destination for particular kinds of output.</p>
1235 * <p>Note that if the <code>Configuration</code> is used in more than one processing
1236 * thread, the messages from different threads will be interleaved in the output file.
1237 * A more selective approach is to use a different <code>ErrorListener</code> in
1238 * different processing threads, and arrange for each <code>ErrorListener</code> to
1239 * write to its own logging destination.</p>
1240 *
1241 **/
1242
1243 public final static String STANDARD_ERROR_OUTPUT_FILE =
1244 "http://saxon.sf.net/feature/standardErrorOutputFile";
1245
1246 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1247
1248
1249 /**
1250 * <p>The <code>STREAMABILITY</code> option can be used to disable streaming.</p>
1251 * <p>In earlier Saxon releases a third value "extended" was supported, to enable Saxon
1252 * streaming extensions. Since nearly all these extensions found their way into the W3C
1253 * specification, the distinction between "standard" and "extended" became meaningless,
1254 * so the value "extended" has been dropped.</p>
1255 * <p>The value "off" causes Saxon to behave as a non-streaming processor; that is, it does
1256 * not analyze constructs that are declared streamable, and it processes them as if
1257 * streaming were not requested. This is the only option available when using a Saxon
1258 * version or license that does not enable streaming.</p>
1259 * <p>The value "standard" is a misnomer. For strict adherence to W3C streamability rules,
1260 * set the property <code>STRICT_STREAMABILITY</code>. The streamability rules applied
1261 * by default are (in nearly all cases) identical to the W3C rules, but by default they
1262 * are applied to the expression tree after type-checking and optimization, which makes
1263 * some constructs streamable that would not be so otherwise.</p>
1264 * <p>Whichever option is chosen, the <code>STREAMING_FALLBACK</code> option can be used to
1265 * control what happens when code is deemed non-streamable; it provides a choice
1266 * between throwing a static (compile-time) error, and falling back to a non-streaming
1267 * implementation.</p>
1268 *
1269 **/
1270
1271 public final static String STREAMABILITY =
1272 "http://saxon.sf.net/feature/streamability";
1273
1274 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1275
1276
1277 /**
1278 * <p>Causes the XSLT processor to verify that constructs that are declared streamable are
1279 * in fact "guaranteed streamable" according to the W3C rules.</p>
1280 * <p>Normally, Saxon performs a variety of simplifications and optimizations on the
1281 * expression tree before performing streamability analysis. Sometimes these tree
1282 * rewrites will turn a non-streamable expression into a streamable one. An obvious
1283 * example is variable inlining: the expression <code>let $x := ./item/price return
1284 * sum($x)</code> is not streamable, but the rewritten form
1285 * <code>sum(./item/price)</code> is.</p>
1286 * <p>The XSLT 3.0 specification requires conformant streaming processors to have a mode of
1287 * operation in which the streamability rules are enforced as they appear in the spec,
1288 * and this option enables this mode.</p>
1289 * <p>This analysis is expensive, and should only be used during development when testing
1290 * stylesheet code for portability. When this mode is enabled, Saxon applies the
1291 * streamability rules at the earliest possible stage of processing; it then performs
1292 * its normal type checking and optimization phases, before doing a second stage of
1293 * streamability analysis to construct a streamed execution plan.</p>
1294 *
1295 **/
1296
1297 public final static String STRICT_STREAMABILITY =
1298 "http://saxon.sf.net/feature/strictStreamability";
1299
1300 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1301
1302
1303 /**
1304 * <p>If the <code>STREAMING_FALLBACK</code> option is set, then constructs for which
1305 * streaming is requested (such as templates in a streaming mode, the
1306 * <code>xsl:source-document</code> instruction with attribute
1307 * <code>streamable="yes"</code>, and streamable accumulators) will be executed in
1308 * non-streaming mode if the code is not actually streamable. A compile-time warning
1309 * will always be given when the fallback option is taken.</p>
1310 *
1311 **/
1312
1313 public final static String STREAMING_FALLBACK =
1314 "http://saxon.sf.net/feature/streamingFallback";
1315
1316 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1317
1318
1319 /**
1320 * <p>Indicates whether all whitespace, no whitespace, or whitespace in elements defined in
1321 * a DTD or schema as having element-only content should be stripped from source
1322 * documents.</p>
1323 * <p>The default is "ignorable". This whitespace stripping is additional to
1324 * any stripping done as a result of the <code>xsl:strip-space</code> declaration in an
1325 * XSLT stylesheet.</p>
1326 *
1327 **/
1328
1329 public final static String STRIP_WHITESPACE =
1330 "http://saxon.sf.net/feature/strip-whitespace";
1331
1332 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1333
1334
1335 /**
1336 * <p>XML parser used for stylesheets and schema documents.</p>
1337 * <p>The class will be instantiated. If it is an <code>XMLReader</code> it is used
1338 * directly; if it is a <code>SAXParserFactory</code> it is used to instantiate an
1339 * <code>XMLReader</code>. The resulting <code>XMLReader</code> will be used to
1340 * parse stylesheet documents (that is, the principal stylesheet module plus any
1341 * secondary source documents read using <code>xsl:include</code> or
1342 * <code>xsl:import</code>) and also schema documents.</p>
1343 *
1344 **/
1345
1346 public final static String STYLE_PARSER_CLASS =
1347 "http://saxon.sf.net/feature/styleParserClass";
1348
1349 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1350
1351
1352 /**
1353 * <p>This is set to true to suppress the warning otherwise issued by command-line
1354 * interfaces indicating that an evaluation license is in use and is due to expire in a
1355 * set number of days.</p>
1356 *
1357 **/
1358
1359 public final static String SUPPRESS_EVALUATION_EXPIRY_WARNING =
1360 "http://saxon.sf.net/feature/suppressEvaluationExpiryWarning";
1361
1362 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1363
1364
1365 /**
1366 * <p>Suppresses all warnings issued by the XPath and XQuery parsers.</p>
1367 * <p>Examples of warnings that are suppressed are the warning produced when keywords such
1368 * as <code>true</code> and <code>return</code> are interpreted as element names.</p>
1369 *
1370 **/
1371
1372 public final static String SUPPRESS_XPATH_WARNINGS =
1373 "http://saxon.sf.net/feature/suppressXPathWarnings";
1374
1375 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1376
1377
1378 /**
1379 * <p>This is set to true to suppress the warning when there is no commonality between the
1380 * namespaces used in stylesheet match patterns and the namespaces used in the source
1381 * document.</p>
1382 *
1383 **/
1384
1385 public final static String SUPPRESS_XSLT_NAMESPACE_CHECK =
1386 "http://saxon.sf.net/feature/suppressXsltNamespaceCheck";
1387
1388 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1389
1390
1391 /**
1392 * <p>Indicates how often an XSD simple type definition must be used before Saxon generates
1393 * bytecode to implement validation of input data against that type.</p>
1394 * <p>By default, Saxon-EE generates Java bytecode to speed up the validation of input
1395 * strings against user-defined simple types after the type has been used 100 times
1396 * (during the life of a Saxon Configuration). This threshold may be changed using this
1397 * configuration option. It may be useful to raise the threshold if the number of
1398 * user-defined types is large, and the bytecode is creating memory pressure.</p>
1399 *
1400 **/
1401
1402 public final static String THRESHOLD_FOR_COMPILING_TYPES =
1403 "http://saxon.sf.net/feature/thresholdForCompilingTypes";
1404
1405 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1406
1407
1408 /**
1409 * <p>This is set to true to cause basic timing and tracing information to be output to the
1410 * standard error output stream.</p>
1411 * <p>The name of the feature is poorly chosen, since much
1412 * of the information that is output has nothing to do with timing, for example the
1413 * names of output files for <code>xsl:result-document</code> are traced, as are the
1414 * names of schema documents loaded.</p>
1415 *
1416 **/
1417
1418 public final static String TIMING =
1419 "http://saxon.sf.net/feature/timing";
1420
1421 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1422
1423
1424 /**
1425 * <p>If this option is set, Saxon will output (to the standard error output) progress
1426 * information about its attempts to locate and disambiguate references to reflexive
1427 * Java extension functions. This is useful for diagnostics if the XQuery or XSLT
1428 * compiler is failing to locate user-written extension functions.</p>
1429 *
1430 **/
1431
1432 public final static String TRACE_EXTERNAL_FUNCTIONS =
1433 "http://saxon.sf.net/feature/trace-external-functions";
1434
1435 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1436
1437
1438 /**
1439 * <p>The <code>TraceListener</code> will be notified of significant events occurring
1440 * during a query or transformation, for tracing or debugging purposes.</p>
1441 * <p>Setting a <code>TraceListener</code> automatically sets the
1442 * {@link net.sf.saxon.lib.FeatureKeys#COMPILE_WITH_TRACING} option.</p>
1443 * <p>Avoid this option if more than one transformation or query is running concurrently:
1444 * use the feature {@link net.sf.saxon.lib.FeatureKeys#TRACE_LISTENER_CLASS}
1445 * instead. Alternatively, it is possible to set a <code>TraceListener</code> for an
1446 * individual query or transformation.</p>
1447 *
1448 **/
1449
1450 public final static String TRACE_LISTENER =
1451 "http://saxon.sf.net/feature/traceListener";
1452
1453 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1454
1455
1456 /**
1457 * <p>The class will be instantiated once for each query or transformation, and the
1458 * resulting <code>TraceListener</code> will be notified of significant events
1459 * occurring during that query or transformation, for tracing or debugging
1460 * purposes.</p>
1461 * <p>Setting a <code>TraceListener</code> automatically sets the
1462 * {@link net.sf.saxon.lib.FeatureKeys#COMPILE_WITH_TRACING} option.</p>
1463 *
1464 **/
1465
1466 public final static String TRACE_LISTENER_CLASS =
1467 "http://saxon.sf.net/feature/traceListenerClass";
1468
1469 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1470
1471
1472 /**
1473 * <p>When trace listening is switched on (for example by using -T on the command line),
1474 * this file will be supplied to the trace listener to use as the output destination.
1475 * If the option is not supplied, trace listener output is sent to the standard error
1476 * stream.</p>
1477 *
1478 **/
1479
1480 public final static String TRACE_LISTENER_OUTPUT_FILE =
1481 "http://saxon.sf.net/feature/traceListenerOutputFile";
1482
1483 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1484
1485
1486 /**
1487 * <p>If this option is set, Saxon will output (to the standard error output) detailed
1488 * information about the rewrites to the expression tree made by the optimizer. This
1489 * information is mainly useful for internal system debugging, but it is also possible
1490 * to digest it to analyze the ways in which the expression has been optimized for the
1491 * purpose of performance analysis and tuning.</p>
1492 *
1493 **/
1494
1495 public final static String TRACE_OPTIMIZER_DECISIONS =
1496 "http://saxon.sf.net/feature/trace-optimizer-decisions";
1497
1498 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1499
1500
1501 /**
1502 * <p>Selects an implementation of the Saxon tree model. The default is
1503 * <code>TINY_TREE</code>.</p>
1504 * <p>For running XQuery Update, use the linked tree, because it is the only implementation
1505 * that is updateable.</p>
1506 *
1507 **/
1508
1509 public final static String TREE_MODEL =
1510 "http://saxon.sf.net/feature/treeModel";
1511
1512 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1513
1514
1515 /**
1516 * <p>Selects an implementation of the Saxon tree model. The default is
1517 * <code>tinyTree</code>.</p>
1518 * <p>For running XQuery Update, use the linked tree, because it is the only implementation
1519 * that is updateable.</p>
1520 *
1521 **/
1522
1523 public final static String TREE_MODEL_NAME =
1524 "http://saxon.sf.net/feature/treeModelName";
1525
1526 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1527
1528
1529 /**
1530 * <p>The supplied <code>UnparsedTextURIResolver</code> will be used to resolve
1531 * (dereference) all URIs specifed in calls to the <code>unparsed-text()</code>,
1532 * <code>unparsed-text-lines()</code>, and <code>unparsed-text-available()</code>
1533 * functions.</p>
1534 *
1535 **/
1536
1537 public final static String UNPARSED_TEXT_URI_RESOLVER =
1538 "http://saxon.sf.net/feature/unparsedTextURIResolver";
1539
1540 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1541
1542
1543 /**
1544 * <p>An instance of the specified <code>UnparsedTextURIResolver</code> class will be
1545 * created, and used to resolve (dereference) all URIs specifed in calls to the
1546 * <code>unparsed-text()</code>, <code>unparsed-text-lines()</code>, and
1547 * <code>unparsed-text-available()</code> functions.</p>
1548 *
1549 **/
1550
1551 public final static String UNPARSED_TEXT_URI_RESOLVER_CLASS =
1552 "http://saxon.sf.net/feature/unparsedTextURIResolverClass";
1553
1554 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1555
1556
1557 /**
1558 * <p>An instance of the specified <code>URIResolver</code> class will be created, and used
1559 * to resolve (dereference) all URIs specifed in calls to the <code>doc()</code> and
1560 * <code>document()</code> functions, as well as URIs used in
1561 * <code>xsl:include</code> and <code>xsl:import</code> and location hints for
1562 * XQuery modules and XSD schema documents.</p>
1563 *
1564 **/
1565
1566 public final static String URI_RESOLVER_CLASS =
1567 "http://saxon.sf.net/feature/uriResolverClass";
1568
1569 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1570
1571
1572 /**
1573 * <p>This option determines whether a <code>TransformerHandler</code> created with this
1574 * <code>TransformerFactory</code> or <code>Configuration</code> recognizes the
1575 * JAXP-defined processing instructions <code>Result.PI_DISABLE_OUTPUT_ESCAPING</code>
1576 * and <code>Result.PI_ENABLE_OUTPUT_ESCAPING</code> in the input stream as
1577 * instructions to disable or to re-enable output escaping. The default value is
1578 * <b>false</b>.</p>
1579 *
1580 **/
1581
1582 public final static String USE_PI_DISABLE_OUTPUT_ESCAPING =
1583 "http://saxon.sf.net/feature/use-pi-disable-output-escaping";
1584
1585 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1586
1587
1588 /**
1589 * <p>This option is relevant only when the TinyTree is used; it determines whether (for a
1590 * validated document) a cache will be maintained containing the typed values of nodes.</p>
1591 * <p>Typed values are held in the cache only for elements and attributes whose type is
1592 * other than string, untypedAtomic, or anyURI. The default value is true. Setting this
1593 * value to false can reduce memory requirements at the cost of requiring recomputation
1594 * of typed values on each access.</p>
1595 *
1596 **/
1597
1598 public final static String USE_TYPED_VALUE_CACHE =
1599 "http://saxon.sf.net/feature/use-typed-value-cache";
1600
1601 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1602
1603
1604 /**
1605 * <p>This option determines whether or not to use the <code>xsi:schemaLocation</code>
1606 * and<code> xsi:noNamespaceSchemaLocation</code> attributes in an instance
1607 * document to locate a schema for validation.</p>
1608 * <p>Note, these attribute are only consulted if validation is requested; the presence of
1609 * one of these attributes never by itself triggers validation.</p>
1610 *
1611 **/
1612
1613 public final static String USE_XSI_SCHEMA_LOCATION =
1614 "http://saxon.sf.net/feature/useXsiSchemaLocation";
1615
1616 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1617
1618
1619 /**
1620 * <p>This option determines whether non-fatal validation errors in XQuery or XSLT result
1621 * documents should result in comments being inserted into the result tree. The
1622 * command-line flag <code>-outval:recover</code> sets both this option and the
1623 * {@link net.sf.saxon.lib.FeatureKeys#VALIDATION_WARNINGS} option.</p>
1624 *
1625 **/
1626
1627 public final static String VALIDATION_COMMENTS =
1628 "http://saxon.sf.net/feature/validation-comments";
1629
1630 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1631
1632
1633 /**
1634 * <p>This option indicates (if true) that errors occuring while validating a final result
1635 * tree are not to be treated as fatal.</p>
1636 * <p>Regardless of the setting of this option, all validation errors are reported to the
1637 * <code>error()</code> method of the <code>ErrorListener</code>, and validation is
1638 * terminated if the <code>error()</code> method throws an exception, or if the error
1639 * limit set in the <code>ParseOptions</code> object is reached.</p>
1640 * <p>This option primarily controls what happens at the end of a validation episode. If
1641 * the validation episode detected one or more validation errors, then when this option
1642 * is off, an exception is thrown, which will normally result in any query or
1643 * stylesheet failing with a dynamic error, and no output file being written. If the
1644 * option is on, no exception is thrown, and the output is written as if validation had
1645 * been successful. Note in this case that any type annotations present in a result
1646 * document are unreliable.</p>
1647 * <p>If this option is set when running XSLT or XQuery, it is ignored as far as input
1648 * files are concerned: validation errors in input files are still fatal. However, if
1649 * the option is set and a validation error occurs in a final output file, the output
1650 * file is still written and the process terminates as if successful.</p>
1651 * <p>The detailed interpretation of this option changed in Saxon 9.5.</p>
1652 *
1653 **/
1654
1655 public final static String VALIDATION_WARNINGS =
1656 "http://saxon.sf.net/feature/validation-warnings";
1657
1658 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1659
1660
1661 /**
1662 * <p>Indicates whether a warning message should be notified (to the
1663 * <code>ErrorListener</code>) if running Saxon against an XSLT stylesheet that
1664 * specifies <code>version="1.0"</code>.</p>
1665 * <p>From Saxon 9.8, the warning is no longer output (since XSLT 3.0 does not require
1666 * it), so this option is ignored.</p>
1667 *
1668 *
1669 **/
1670
1671 public final static String VERSION_WARNING =
1672 "http://saxon.sf.net/feature/version-warning";
1673
1674 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1675
1676
1677 /**
1678 * <p>Indicates whether source documents should have any XInclude directives expanded.</p>
1679 * <p>The default is false. The option applies to all input XML documents, including
1680 * stylesheets and schema documents. It can be overridden for individual documents
1681 * using the {@link net.sf.saxon.lib.ParseOptions} class.</p>
1682 * <p>This option relies on support in the underlying XML parser. If the XML parser does
1683 * not support XInclude processing, the option is ignored.</p>
1684 *
1685 **/
1686
1687 public final static String XINCLUDE =
1688 "http://saxon.sf.net/feature/xinclude-aware";
1689
1690 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1691
1692
1693 /**
1694 * <p>This determines the XML version used by the <code>Configuration</code>.</p>
1695 * <p>Note that source documents specifying <code>xml version="1.0"</code> or
1696 * <code>"1.1"</code> are accepted regardless of this setting. The effect of this
1697 * switch is to change the validation rules for types such as <code>xs:Name</code> and
1698 * <code>xs:NCName</code>, to change the characters allowed in names within XPath
1699 * expressions (etc.), to change the meaning of <code>\i</code> and <code>\c</code> in
1700 * regular expressions, and to determine whether the serializer allows XML 1.1
1701 * documents to be constructed. </p>
1702 * <p>The default is currently 1.0, but may change.</p>
1703 *
1704 **/
1705
1706 public final static String XML_VERSION =
1707 "http://saxon.sf.net/feature/xml-version";
1708
1709 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1710
1711
1712 /**
1713 * <p>Sets the value of a parser feature flag. The feature name is any fully-qualified
1714 * URI.</p>
1715 * <p>For example if the parser supports a feature
1716 * <code>http://xml.org/sax/features/external-parameter-entities</code> then this
1717 * can be set by setting the value of the Configuration property:
1718 * <code>http://saxon.sf.net/feature/parserFeature?uri=http%3A//xml.org/sax/features/external-parameter-entities</code>
1719 * to true.</p>
1720 *
1721 **/
1722
1723 public final static String XML_PARSER_FEATURE =
1724 "http://saxon.sf.net/feature/parserFeature?uri=";
1725
1726 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1727
1728
1729 /**
1730 * <p>Sets the value of a parser property flag. The property name is any fully-qualified
1731 * URI.</p>
1732 * <p>For example if the parser supports a property
1733 * <code>http://apache.org/xml/properties/schema/external-schemaLocation</code>
1734 * then this can be set using the value of the Configuration property:
1735 * <code>http://saxon.sf.net/feature/parserProperty?uri=http%3A//apache.org/xml/properties/schema/external-schemaLocation</code>
1736 * to the required value.</p>
1737 *
1738 **/
1739
1740 public final static String XML_PARSER_PROPERTY =
1741 "http://saxon.sf.net/feature/parserProperty?uri=";
1742
1743 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1744
1745
1746 /**
1747 * <p>Determines whether XQuery Update syntax is accepted.</p>
1748 * <p>If true, update syntax is accepted, if false, it is not accepted. Setting the value to
1749 * true does not mean that the query has to use update syntax, only that it may do so.</p>
1750 * <p>From Saxon 9.6, XQuery Update syntax and XQuery 3.0 syntax can be mixed, although
1751 * this combination is not defined by any W3C specification at the time of writing.</p>
1752 * <p>This option can be set for a particular XQuery compilation. When the option is set at
1753 * the <code>Configuration</code> level, it acts as a default.</p>
1754 * <p>On the command line, this option is combined with the option "discard" which
1755 * indicates that updates are allowed, but the updates are not written back to
1756 * filestore. This does not correspond to any option in the Java API, where writing an
1757 * updated document back to filestore only happens if explicitly requested.</p>
1758 *
1759 **/
1760
1761 public final static String XQUERY_ALLOW_UPDATE =
1762 "http://saxon.sf.net/feature/xqueryAllowUpdate";
1763
1764 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1765
1766
1767 /**
1768 * <p>This option defines the default value of the construction mode in the XQuery static
1769 * context (overridable in the query prolog).</p>
1770 * <p>This option can be set for a particular XQuery compilation. When the option is set at
1771 * the <code>Configuration</code> level, it acts as a default.</p>
1772 *
1773 **/
1774
1775 public final static String XQUERY_CONSTRUCTION_MODE =
1776 "http://saxon.sf.net/feature/xqueryConstructionMode";
1777
1778 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1779
1780
1781 /**
1782 * <p>This property defines the default namespace for elements and types that are not
1783 * qualified by a namespace prefix.</p>
1784 * <p>This option can be set for a particular XQuery compilation. When the option is set at
1785 * the <code>Configuration</code> level, it acts as a default.</p>
1786 *
1787 **/
1788
1789 public final static String XQUERY_DEFAULT_ELEMENT_NAMESPACE =
1790 "http://saxon.sf.net/feature/xqueryDefaultElementNamespace";
1791
1792 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1793
1794
1795 /**
1796 * <p>This property defines the default namespace for function names that are not qualified
1797 * by a namespace prefix.</p>
1798 * <p>This option can be set for a particular XQuery compilation. When the option is set at
1799 * the <code>Configuration</code> level, it acts as a default.</p>
1800 *
1801 **/
1802
1803 public final static String XQUERY_DEFAULT_FUNCTION_NAMESPACE =
1804 "http://saxon.sf.net/feature/xqueryDefaultFunctionNamespace";
1805
1806 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1807
1808
1809 /**
1810 * <p>This property defines how the empty sequence is handled in XQuery sorting (the "order
1811 * by" clause). If true, <code>()</code> comes at the start of the sorted sequence; if
1812 * false, it comes last.</p>
1813 * <p>This option can be set for a particular XQuery compilation. When the option is set at
1814 * the <code>Configuration</code> level, it acts as a default.</p>
1815 *
1816 **/
1817
1818 public final static String XQUERY_EMPTY_LEAST =
1819 "http://saxon.sf.net/feature/xqueryEmptyLeast";
1820
1821 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1822
1823
1824 /**
1825 * <p>This property defines the default value of the <code>inherit-namespaces</code>
1826 * property in the XQuery static context.</p>
1827 * <p>This option can be set for a particular XQuery compilation. When the option is set at
1828 * the <code>Configuration</code> level, it acts as a default.</p>
1829 *
1830 **/
1831
1832 public final static String XQUERY_INHERIT_NAMESPACES =
1833 "http://saxon.sf.net/feature/xqueryInheritNamespaces";
1834
1835 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1836
1837
1838 /**
1839 * <p>If the value is false, then when an <code>import module</code> declaration is
1840 * encountered for a module URI that is already among the known loaded modules (or
1841 * modules in the process of being compiled), the <code>import module</code> is treated
1842 * as a reference to the existing module. If the value is true, the system first checks
1843 * whether the supplied "location hints" match the known location of the existing
1844 * module, and the existing module is used only if there is a match.</p>
1845 *
1846 **/
1847
1848 public final static String XQUERY_MULTIPLE_MODULE_IMPORTS =
1849 "http://saxon.sf.net/feature/xqueryMultipleModuleImports";
1850
1851 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1852
1853
1854 /**
1855 * <p>This property defines whether "boundary space" (insignificant space in direct element
1856 * constructors) should be retained or not.</p>
1857 * <p>This option can be set for a particular XQuery compilation. When the option is set at
1858 * the <code>Configuration</code> level, it acts as a default.</p>
1859 *
1860 **/
1861
1862 public final static String XQUERY_PRESERVE_BOUNDARY_SPACE =
1863 "http://saxon.sf.net/feature/xqueryPreserveBoundarySpace";
1864
1865 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1866
1867
1868 /**
1869 * <p>This property defines whether unused namespace declarations are retained by XQuery
1870 * element copy operations.</p>
1871 * <p>This option can be set for a particular XQuery compilation. When the option is set at
1872 * the <code>Configuration</code> level, it acts as a default.</p>
1873 *
1874 **/
1875
1876 public final static String XQUERY_PRESERVE_NAMESPACES =
1877 "http://saxon.sf.net/feature/xqueryPreserveNamespaces";
1878
1879 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1880
1881
1882 /**
1883 * <p>This property defines the default expected context item type for a query.</p>
1884 * <p>This option can be set for a particular XQuery compilation. When the option is set at
1885 * the <code>Configuration</code> level, it acts as a default.</p>
1886 *
1887 **/
1888
1889 public final static String XQUERY_REQUIRED_CONTEXT_ITEM_TYPE =
1890 "http://saxon.sf.net/feature/xqueryRequiredContextItemType";
1891
1892 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1893
1894
1895 /**
1896 * <p>A query will automatically be schema-aware if it contains an <code>import
1897 * schema</code> declaration. This property allows a query to be marked as
1898 * schema-aware even if it contains no <code>import schema</code> declaration. It is
1899 * necessary for a query to be compiled as schema-aware if it is to handle typed
1900 * (validated) input documents in which nodes have type annotations based on their
1901 * schema-defined type.</p>
1902 * <p>This option can be set for a particular XQuery compilation. When the option is set at
1903 * the <code>Configuration</code> level, it acts as a default.</p>
1904 *
1905 **/
1906
1907 public final static String XQUERY_SCHEMA_AWARE =
1908 "http://saxon.sf.net/feature/xquerySchemaAware";
1909
1910 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1911
1912
1913 /**
1914 * <p>The specified class is instantiated to create an <code>ErrorListener</code>, and all
1915 * reports of static errors in a query will go to this <code>ErrorListener</code>.</p>
1916 * <p>This option can be set for a particular XQuery compilation. When the option is set at
1917 * the <code>Configuration</code> level, it acts as a default.</p>
1918 * <p>In the absence of this property, the global <code>ErrorListener</code> specified as
1919 * the value of the {@link net.sf.saxon.lib.FeatureKeys#ERROR_LISTENER_CLASS}
1920 * property is used.</p>
1921 *
1922 **/
1923
1924 public final static String XQUERY_STATIC_ERROR_LISTENER_CLASS =
1925 "http://saxon.sf.net/feature/xqueryStaticErrorListenerClass";
1926
1927 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1928
1929
1930 /**
1931 * <p>This property determines the version of XQuery used by the
1932 * <code>Configuration</code>.</p>
1933 * <p>From Saxon 9.8, an XQuery 3.1 processor is always used by default. So setting this
1934 * property has no effect.</p>
1935 *
1936 *
1937 **/
1938
1939 public final static String XQUERY_VERSION =
1940 "http://saxon.sf.net/feature/xqueryVersion";
1941
1942 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1943
1944
1945 /**
1946 * <p>This property determines the version of XML Schema used by the
1947 * <code>Configuration</code>.</p>
1948 * <p>From Saxon 9.8, the default is XSD 1.1. If XSD 1.0 is
1949 * selected, XSD 1.1 features will be rejected, with the exception of the version
1950 * control attributes that allow sections of the schema to be marked as requiring XSD
1951 * 1.0 or XSD 1.1.</p>
1952 *
1953 **/
1954
1955 public final static String XSD_VERSION =
1956 "http://saxon.sf.net/feature/xsd-version";
1957
1958 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1959
1960
1961 /**
1962 * <p>This property indicates whether assertions (XSLT 3.0 xsl:assert instructions) are
1963 * enabled or disabled. They are disabled by default. Setting this property on causes
1964 * assertions to be enabled at compile time for all XSLT packages compiled using the
1965 * default configuration options.</p>
1966 * <p>This option can be set for a particular XSLT compilation. When the option is set at
1967 * the <code>Configuration</code> level (or on a <code>TransformerFactory</code>), it
1968 * acts as a default.</p>
1969 * <p>If assertions have been enabled at compile time for a particular package, they can
1970 * still be disabled at run-time (for all packages) by setting an option on the
1971 * <code>Xslt30Transformer</code>. But if assertions were disabled at compile time,
1972 * enabling them at run-time has no effect.</p>
1973 *
1974 **/
1975
1976 public final static String XSLT_ENABLE_ASSERTIONS =
1977 "http://saxon.sf.net/feature/enableAssertions";
1978
1979 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1980
1981
1982 /**
1983 * <p>This property indicates the name of a mode within a stylesheet in which execution
1984 * (using template rules) should begin.</p>
1985 * <p>This option can be set for a particular XSLT transformation. When the option is set
1986 * at the <code>Configuration</code> (or on a <code>TransformerFactory</code>), it acts
1987 * as a default.</p>
1988 *
1989 **/
1990
1991 public final static String XSLT_INITIAL_MODE =
1992 "http://saxon.sf.net/feature/initialMode";
1993
1994 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
1995
1996
1997 /**
1998 * <p>This property indicates the name of a named template within a stylesheet where
1999 * execution should begin.</p>
2000 * <p>This option can be set for a particular XSLT transformation. When the option is set
2001 * at the <code>Configuration</code> level (or on a <code>TransformerFactory</code>),
2002 * it acts as a default.</p>
2003 *
2004 **/
2005
2006 public final static String XSLT_INITIAL_TEMPLATE =
2007 "http://saxon.sf.net/feature/initialTemplate";
2008
2009 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
2010
2011
2012 /**
2013 * <p>This property indicates whether stylesheets should be compiled with the ability to
2014 * handle schema-typed input documents. By default a stylesheet is compiled to handle
2015 * such input if it contains an <code>xsl:import-schema</code> instruction, and not
2016 * otherwise. It is necessary for a stylesheet to be compiled as schema-aware if it is
2017 * to handle typed (validated) input documents in which nodes have type annotations
2018 * based on their schema-defined type.</p>
2019 * <p>This option can be set for a particular XSLT compilation. When the option is set at
2020 * the <code>Configuration</code> level (or on a <code>TransformerFactory</code>), it
2021 * acts as a default.</p>
2022 *
2023 **/
2024
2025 public final static String XSLT_SCHEMA_AWARE =
2026 "http://saxon.sf.net/feature/xsltSchemaAware";
2027
2028 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
2029
2030
2031 /**
2032 * <p>The specified class is instantiated to create an <code>ErrorListener</code>, and all
2033 * reports of static errors in a stylesheet will go to this
2034 * <code>ErrorListener</code>.</p>
2035 * <p>This option can be set for a particular XSLT compilation. When the option is set at
2036 * the <code>Configuration</code> level (or on a <code>TransformerFactory</code>), it
2037 * acts as a default.</p>
2038 * <p>In the absence of this property, the global <code>ErrorListener</code> specified as
2039 * the value of the {@link net.sf.saxon.lib.FeatureKeys#ERROR_LISTENER_CLASS}
2040 * property is used.</p>
2041 *
2042 **/
2043
2044 public final static String XSLT_STATIC_ERROR_LISTENER_CLASS =
2045 "http://saxon.sf.net/feature/stylesheetErrorListener";
2046
2047 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
2048
2049
2050 /**
2051 * <p>This property defines a <code>URIResolver</code> used when dereferencing the URIs
2052 * that appear in the <code>href</code> attributes of the <code>xsl:include</code> and
2053 * <code>xsl:import</code> declarations. Note that this defaults to the setting of
2054 * the global <code>URI_RESOLVER</code> property.</p>
2055 * <p>This option can be set for a particular XSLT compilation. When the option is set at
2056 * the <code>Configuration</code> level (or on a <code>TransformerFactory</code>), it
2057 * acts as a default.</p>
2058 * <p>In the absence of this property, the global <code>URIResolver</code> specified as the
2059 * value of the {@link net.sf.saxon.lib.FeatureKeys#URI_RESOLVER_CLASS} property
2060 * is used.</p>
2061 *
2062 **/
2063
2064 public final static String XSLT_STATIC_URI_RESOLVER_CLASS =
2065 "http://saxon.sf.net/feature/stylesheetURIResolver";
2066
2067 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
2068
2069
2070 /**
2071 * <p>This property determines the version of XSLT to be supported by default.</p>
2072 * <p>From Saxon 9.8, an XSLT 3.0 processor is always used by default. So setting this
2073 * property has no effect.</p>
2074 *
2075 *
2076 **/
2077
2078 public final static String XSLT_VERSION =
2079 "http://saxon.sf.net/feature/xsltVersion";
2080
2081 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
2082
2083
2084 /**
2085 * <p>This property sets a limit on the amount of backtracking performed during regular expression evaluation.</p>
2086 * <p>The default is 10000000 (ten million) which typically represents an evaluation time of about ten seconds.
2087 * After this time, evaluation of the regular expression will fail rather than making further attempts to find a
2088 * match. If this limit is reached, it often suggests that there might be a better way of writing the regular expression.
2089 * The value can be set to -1 (minus one) to mean "unlimited".</p>
2090 * <p>Excessive backtracking is usually caused by nested loops in the regular expression, combined with processing
2091 * of long input strings. Try to ensure that when nested loops are used, there is an unambiguous condition that causes
2092 * the inner loop to terminate. For example <code>(/[^/]*)+</code> is fine (it matches a sequence of path segments separated
2093 * by <code>/</code> characters), because the presence of <code>/</code> forces the inner loop to terminate. By contrast,
2094 * <code>(/.*)+</code> matches the same input, but in many different ways, which could lead to excessive backtracking
2095 * to no useful purpose.</p>
2096 *
2097 **/
2098
2099 public final static String REGEX_BACKTRACKING_LIMIT =
2100 "http://saxon.sf.net/feature/regexBacktrackingLimit";
2101
2102 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
2103
2104
2105 /**
2106 * <p>The XSD 1.1 specification states that XPath version 2.0 is used for expressions appearing in assertions and type
2107 * alternatives. This option allows XPath 3.0 or 3.1 to be used instead.</p>
2108 * <p>The recognized values are the integers 20, 30, and 31 representing versions 2.0, 3.0, and 3.1 respectively.</p>
2109 *
2110 **/
2111
2112 public final static String XPATH_VERSION_FOR_XSD =
2113 "http://saxon.sf.net/feature/xpathVersionForXsd";
2114
2115 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
2116
2117
2118 /**
2119 * <p>The XSLT 3.0 specification states that processors are required to support XPath 3.0 expressions within stylesheets, together
2120 * with some extensions (maps) selected from the XPath 3.1 specification. Support for the full syntax of XPath 3.1 is
2121 * optional, but it is the default in Saxon. This option allows a different XPath language level to be selected.</p>
2122 * <p>The integer values 20, 30, and 31 denote XPath 2.0, 3.0, and 3.1 respectively, while the value 305 denotes XPath 3.0
2123 * with the extensions defined in the XSLT 3.0 specification.</p>
2124 *
2125 **/
2126
2127 public final static String XPATH_VERSION_FOR_XSLT =
2128 "http://saxon.sf.net/feature/xpathVersionForXslt";
2129
2130 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
2131
2132
2133 /**
2134 * <p>Saxon-EE performs inlining of user-defined functions that are sufficiently simple: they must not be recursive,
2135 * and they must be below a certain size. This option defines the size.</p>
2136 * <p>The value is (roughly) the number of nodes in the expression tree representing the function body. This
2137 * includes both explicit subexpressions, and subexpressions added by Saxon itself to perform implicit
2138 * operations such as type checking or conversion of function arguments. The default value is 100.</p>
2139 *
2140 **/
2141
2142 public final static String THRESHOLD_FOR_FUNCTION_INLINING =
2143 "http://saxon.sf.net/feature/thresholdForFunctionInlining";
2144
2145 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
2146
2147
2148 /**
2149 * <p>Saxon-EE generates bytecode to give faster execution of frequently-evaluated subexpressions.
2150 * Bytecode is generated when a candidate expression has been evaluated a certain number of
2151 * times, controlled by this parameter.
2152 * </p>
2153 * <p>Setting this parameter to 0 (or any negative value) has the effect of disabling bytecode
2154 * generation completely. Setting the parameter to a positive value has the effect of enabling
2155 * bytecode generation if it is not already enabled. Setting the value to 1 (one) causes bytecode
2156 * to be generated for candidate expressions the first time it is executed.</p>
2157 *
2158 **/
2159
2160 public final static String THRESHOLD_FOR_HOTSPOT_BYTE_CODE =
2161 "http://saxon.sf.net/feature/thresholdForHotspotByteCode";
2162
2163 // AUTO-GENERATED FROM FeatureKeys.xml - DO NOT EDIT THIS FILE
2164
2165
2166 }
2167