net.sf.saxon

Class FeatureKeys

public abstract class FeatureKeys extends Object

FeatureKeys defines a set of constants, names of Saxon configuration options which can be supplied to the Saxon implementations of the JAXP interfaces TransformerFactory, SchemaFactory, Validator, and ValidationHandler.

Author: Michael H. Kay

Field Summary
static StringALLOW_EXTERNAL_FUNCTIONS
ALLOW_EXTERNAL_FUNCTIONS must be a Boolean; it determines whether calls to external functions are allowed.
static StringCOLLATION_URI_RESOLVER
COLLATION_URI_RESOLVER must be a CollationURIResolver.
static StringCOLLATION_URI_RESOLVER_CLASS
COLLATION_URI_RESOLVER_CLASS must be the name of a class that implements the interface CollationURIResolver.
static StringCOLLECTION_URI_RESOLVER
COLLECTION_URI_RESOLVER must be a CollectionURIResolver.
static StringCOLLECTION_URI_RESOLVER_CLASS
COLLECTION_URI_RESOLVER must be must be the name of a class that implements the interface CollectionURIResolver.
static StringCOMPILE_WITH_TRACING
COMPILE_WITH_TRACING must be a Boolean.
static StringCONFIGURATION
CONFIGURATION must be an instance of Configuration.
static StringDEFAULT_COLLATION
DEFAULT_COLLATION must be a String in the form of an absolute URI.
static StringDEFAULT_COLLECTION
DEFAULT_COLLECTION must be a String in the form of an absolute URI.
static StringDEFAULT_COUNTRY
DEFAULT_COUNTRY must be a String in the form of an ISO country code.
static StringDEFAULT_LANGUAGE
DEFAULT_LANGUAGE must be a String in the form of an ISO language code.
static StringDTD_VALIDATION
DTD_VALIDATION must be a Boolean.
static StringDTD_VALIDATION_RECOVERABLE
DTD_VALIDATION_RECOVERABLE must be a Boolean.
static StringERROR_LISTENER_CLASS
ERROR_LISTENER_CLASS is the name of the class used to implement the JAXP ErrorListener.
static StringEXPAND_ATTRIBUTE_DEFAULTS
EXPAND_ATTRIBUTE_DEFAULTS must be a Boolean; it determines whether fixed and default values defined in a schema or DTD will be expanded.
static StringLAZY_CONSTRUCTION_MODE
LAZY_CONSTRUCTION_MODE must be a Boolean; it determines whether temporary trees are constructed lazily.
static StringLINE_NUMBERING
LINE_NUMBERING must be a Boolean; it determines whether line and column numbers are maintained for source documents.
static StringMESSAGE_EMITTER_CLASS
MESSAGE_EMITTER_CLASS must be the class name of a class that implements net.sf.saxon.event.Receiver.
static StringMODULE_URI_RESOLVER
MODULE_URI_RESOLVER must be an instance of ModuleURIResolver.
static StringMODULE_URI_RESOLVER_CLASS
MODULE_URI_RESOLVER_CLASS must be the name of a class that implements the interface ModuleURIResolver.
static StringNAME_POOL
NAME_POOL must be an instance of net.sf.saxon.om.NamePool
static StringOCCURRENCE_LIMITS
OCCURRENCE_LIMITS is a string containing a pair of integers, comma-separated.
static StringOPTIMIZATION_LEVEL
OPTIMIZATION_LEVEL must be an integer (represented as a string) in the range 0 to 10
static StringOUTPUT_URI_RESOLVER
OUTPUT_URI_RESOLVER must be an instance of OutputURIResolver.
static StringOUTPUT_URI_RESOLVER_CLASS
OUTPUT_URI_RESOLVER_CLASS must be the name of a class that implements the interface OutputURIResolver.
static StringPREFER_JAXP_PARSER
PREFER_JAXP_PARSER is a boolean.
static StringPRE_EVALUATE_DOC_FUNCTION
PRE_EVALUATE_DOC_FUNCTION is a boolean.
static StringRECOGNIZE_URI_QUERY_PARAMETERS
RECOGNIZE_URI_QUERY_PARAMETERS must be a Boolean; it determines whether query parameters (things after a question mark) in a URI passed to the document() or doc() function are specially recognized by the system default URIResolver.
static StringRECOVERY_POLICY
RECOVERY_POLICY must be an Integer: one of RECOVER_SILENTLY, RECOVER_WITH_WARNINGS, or
static StringRECOVERY_POLICY_NAME
RECOVERY_POLICY_NAME must be a string: one of "recoverSilently", "recoverWithWarnings", "doNotRecover"
static StringSCHEMA_URI_RESOLVER
SCHEMA_URI_RESOLVER must be an instance of SchemaURIResolver.
static StringSCHEMA_URI_RESOLVER_CLASS
SCHEMA_URI_RESOLVER_CLASS must be the name of a class that implements SchemaURIResolver.
static StringSCHEMA_VALIDATION
SCHEMA_VALIDATION must be an Integer.
static StringSCHEMA_VALIDATION_MODE
SCHEMA_VALIDATION_MODE must be a String: one of "strict", "lax", "preserve", or "skip".
static StringSERIALIZER_FACTORY_CLASS
SERIALIZER_FACTORY_CLASS must be the full class name of a class that extends SerializerFactory.
static StringSOURCE_PARSER_CLASS
SOURCE_PARSER_CLASS must be the full class name of an XMLReader.
static StringSOURCE_RESOLVER_CLASS
SOURCE_RESOLVER_CLASS must be the full class name of a class that extends SourceResolver.
static StringSTRIP_WHITESPACE
STRIP_WHITESPACE must be a string set to one of the values "all", "none", or "ignorable".
static StringSTYLE_PARSER_CLASS
STYLE_PARSER_CLASS must be an XMLReader.
static StringTIMING
TIMING must be an Boolean; it determines whether basic timing information is output to System.err (This attribute is a bit of a misnomer; it outputs timing information when used from the command line, but also basic tracing information when used from the Java API: for example, names of output files written using xsl:result-document, and names of classes dynamically loaded)
static StringTRACE_EXTERNAL_FUNCTIONS
TRACE_EXTERNAL_FUNCTIONS must be a Boolean; it determines whether the loading and binding of extension functions is traced
static StringTRACE_LISTENER
TRACE_LISTENER must be an instance of a class that implements TraceListener.
static StringTRACE_LISTENER_CLASS
TRACE_LISTENER_CLASS must be the name of a class that implements TraceListener.
static StringTRACE_OPTIMIZER_DECISIONS
TRACE_OPTIMIZER_DECISIONS must be a Boolean; it determines whether decisions made by the optimizer are traced
static StringTREE_MODEL
TREE_MODEL must be an Integer: LINKED_TREE, TINY_TREE, or
static StringTREE_MODEL_NAME
TREE_MODEL_NAME must be a string: "linkedTree" or "tinyTree" or "tinyTreeCondensed"
static StringURI_RESOLVER_CLASS
URI_RESOLVER_CLASS must be the full class name of a class that extends javax.xml.transform.URIResolver.
static StringUSE_PI_DISABLE_OUTPUT_ESCAPING
USE_PI_DISABLE_OUTPUT_ESCAPING must be a Boolean.
static StringUSE_TYPED_VALUE_CACHE
USE_TYPED_VALUE_CACHE is a Boolean.
static StringUSE_XSI_SCHEMA_LOCATION
USE_XSI_SCHEMA_LOCATION must be a Boolean.
static StringVALIDATION_WARNINGS
VALIDATION_WARNINGS must be a Boolean.
static StringVERSION_WARNING
VERSION_WARNING must be a Boolean.
static StringXINCLUDE
XINCLUDE must be a Boolean.
static StringXML_VERSION
XML_VERSION is a character string.
static StringXQUERY_ALLOW_UPDATE
XQUERY_ALLOW_UPDATE is a boolean.
static StringXQUERY_CONSTRUCTION_MODE
XQUERY_CONSTRUCTION_MODE is a string with the value "strip" or "preserve".
static StringXQUERY_DEFAULT_ELEMENT_NAMESPACE
XQUERY_DEFAULT_ELEMENT_NAMESPACE is a namespace URI.
static StringXQUERY_DEFAULT_FUNCTION_NAMESPACE
XQUERY_DEFAULT_FUNCTION_NAMESPACE is a namespace URI.
static StringXQUERY_EMPTY_LEAST
XQUERY_EMPTY_LEAST is boolean.
static StringXQUERY_INHERIT_NAMESPACES
XQUERY_INHERIT_NAMESPACES is boolean.
static StringXQUERY_PRESERVE_BOUNDARY_SPACE
XQUERY_PRESERVE_BOUNDARY_SPACE is boolean.
static StringXQUERY_PRESERVE_NAMESPACES
XQUERY_PRESERVE_NAMESPACES is boolean.
static StringXQUERY_REQUIRED_CONTEXT_ITEM_TYPE
XQUERY_REQUIRED_CONTEXT_ITEM_TYPE is a string containing an ItemType, for example document-node().
static StringXQUERY_SCHEMA_AWARE
XQUERY_SCHEMA_AWARE is a boolean.
static StringXQUERY_STATIC_ERROR_LISTENER_CLASS
XQUERY_STATIC_ERROR_LISTENER_CLASS is the name of a Java class that implements javax.xml.transform.ErrorListener.
static StringXQUERY_VERSION
XQUERY_VERSION is a character string.
static StringXSD_VERSION
XSD_VERSION is a character string.
static StringXSLT_SCHEMA_AWARE
XSLT_SCHEMA_AWARE is a boolean.
static StringXSLT_STATIC_ERROR_LISTENER_CLASS
XSLT_STATIC_ERROR_LISTENER_CLASS must be the name of a class that implements javax.xml.transform.ErrorListener.
static StringXSLT_STATIC_URI_RESOLVER_CLASS
XSLT_STATIC_URI_RESOLVER_CLASS must be the name of a class that implements javax.xml.transform.URIResolver.

Field Detail

ALLOW_EXTERNAL_FUNCTIONS

public static final String ALLOW_EXTERNAL_FUNCTIONS
ALLOW_EXTERNAL_FUNCTIONS must be a Boolean; it determines whether calls to external functions are allowed. More specifically, it disallows all of the following:

Note that this option does not disable use of the doc() function or similar functions to access the filestore of the machine where the transformation or query is running. That should be done using a user-supplied URIResolver

Note that an ExtensionFunctionCall is trusted; calls are allowed even if this configuration option is false. In cases where an IntegratedFunction is used to load and execute untrusted code, it should check this configuration option before doing so.

COLLATION_URI_RESOLVER

public static final String COLLATION_URI_RESOLVER
COLLATION_URI_RESOLVER must be a CollationURIResolver. This resolver will be used to resolve collation URIs used in stylesheets compiled or executed under the control of this TransformerFactory

COLLATION_URI_RESOLVER_CLASS

public static final String COLLATION_URI_RESOLVER_CLASS
COLLATION_URI_RESOLVER_CLASS must be the name of a class that implements the interface CollationURIResolver. The class will be instantiated, and the instance will act as the value of the COLLATION_URI_RESOLVER property.

COLLECTION_URI_RESOLVER

public static final String COLLECTION_URI_RESOLVER
COLLECTION_URI_RESOLVER must be a CollectionURIResolver. This resolver will be used to resolve collection URIs used in calls of the collection() function

COLLECTION_URI_RESOLVER_CLASS

public static final String COLLECTION_URI_RESOLVER_CLASS
COLLECTION_URI_RESOLVER must be must be the name of a class that implements the interface CollectionURIResolver. The class will be instantiated, and the instance will act as the value of the COLLECTION_URI_RESOLVER property.

COMPILE_WITH_TRACING

public static final String COMPILE_WITH_TRACING
COMPILE_WITH_TRACING must be a Boolean. If true, stylesheets and queries are compiled with tracing enabled, but the choice of a trace listener is deferred until run time (see addTraceListener)

CONFIGURATION

public static final String CONFIGURATION
CONFIGURATION must be an instance of Configuration. This attribute cannot be set on the Configuration itself, but it can be set on various JAXP factory objects such as a TransformerFactory or DocumentBuilderFactory, to ensure that several such factories use the same configuration. Note that other configuration options are held in the Configuration object, so setting this attribute will cancel all others that have been set. Also, if two factories share the same configuration, then setting an attribute on one affects all the others.

DEFAULT_COLLATION

public static final String DEFAULT_COLLATION
DEFAULT_COLLATION must be a String in the form of an absolute URI. This determines the collation that is used when no explicit collation is requested. It is not necessary for this collation to exist (or to have been registered) when setting this option; it only needs to exist by the time it is used.

DEFAULT_COLLECTION

public static final String DEFAULT_COLLECTION
DEFAULT_COLLECTION must be a String in the form of an absolute URI. This determines the collection that is used when the fn:collection() function is called with no arguments; the effect is the same as if it were called passing the URI that is the value of this configuration property.

DEFAULT_COUNTRY

public static final String DEFAULT_COUNTRY
DEFAULT_COUNTRY must be a String in the form of an ISO country code. This determines the country that is used by format-date() and similar functions if no country code is supplied explicitly.

DEFAULT_LANGUAGE

public static final String DEFAULT_LANGUAGE
DEFAULT_LANGUAGE must be a String in the form of an ISO language code. This determines the language that is used by format-date(), xsl:number etc if no language code is supplied explicitly.

DTD_VALIDATION

public static final String DTD_VALIDATION
DTD_VALIDATION must be a Boolean. This determines whether source documents should be parsed with DTD-validation enabled.

DTD_VALIDATION_RECOVERABLE

public static final String DTD_VALIDATION_RECOVERABLE
DTD_VALIDATION_RECOVERABLE must be a Boolean. This determines whether DTD validation failures should be treated as recoverable

ERROR_LISTENER_CLASS

public static final String ERROR_LISTENER_CLASS
ERROR_LISTENER_CLASS is the name of the class used to implement the JAXP ErrorListener. This is used both at compile time and at run-time. Currently if this option is specified, the class is instantiated, and the same instance is used for all processes running under this configuration. This may change in future so that a new instance is created for each compilation or evaluation.

EXPAND_ATTRIBUTE_DEFAULTS

public static final String EXPAND_ATTRIBUTE_DEFAULTS
EXPAND_ATTRIBUTE_DEFAULTS must be a Boolean; it determines whether fixed and default values defined in a schema or DTD will be expanded. By default (and for conformance with the specification) validation against a DTD or schema will cause default values defined in the schema or DTD to be inserted into the document. Setting this feature to false suppresses this behaviour. In the case of DTD-defined defaults this only works if the XML parser reports whether each attribute was specified in the source or generated by expanding a default value. Not all XML parsers report this information.

LAZY_CONSTRUCTION_MODE

public static final String LAZY_CONSTRUCTION_MODE
LAZY_CONSTRUCTION_MODE must be a Boolean; it determines whether temporary trees are constructed lazily. The default setting is false; there are a few situations (but not many) where setting this to true can give a performance benefit (especially a memory saving)

LINE_NUMBERING

public static final String LINE_NUMBERING
LINE_NUMBERING must be a Boolean; it determines whether line and column numbers are maintained for source documents. Note that some tree implementations do not support line numbering, and some may support it only partially; the implementation always has the option of returning -1 as the line number or column number of a node if the location is unknown. This value sets the default for the Configuration; it can be overridden for individual documents, or for a PipelineConfiguration

MESSAGE_EMITTER_CLASS

public static final String MESSAGE_EMITTER_CLASS
MESSAGE_EMITTER_CLASS must be the class name of a class that implements net.sf.saxon.event.Receiver. Despite the name, it is not required to be an instance of net.sf.saxon.event.Emitter

MODULE_URI_RESOLVER

public static final String MODULE_URI_RESOLVER
MODULE_URI_RESOLVER must be an instance of ModuleURIResolver. This is a user-written class that takes responsibility for locating XQuery modules.

MODULE_URI_RESOLVER_CLASS

public static final String MODULE_URI_RESOLVER_CLASS
MODULE_URI_RESOLVER_CLASS must be the name of a class that implements the interface ModuleURIResolver. This is a user-written class that takes responsibility for locating XQuery modules.

NAME_POOL

public static final String NAME_POOL
NAME_POOL must be an instance of net.sf.saxon.om.NamePool

OCCURRENCE_LIMITS

public static final String OCCURRENCE_LIMITS
OCCURRENCE_LIMITS is a string containing a pair of integers, comma-separated. It determines the largest values of minOccurs and maxOccurs that can be accommodated when compiling an "expanded" finite state machine to represent an XSD content model grammar. These limits do not apply in the common cases where the grammar can be implemented using a counting finite-state-machine, but in those cases where this is not possible, any minOccurs value greater than the first integer is reduced to the value of the first integer, and any maxOccurs value greater than the second integer is treated as "unbounded".

This property applies to Saxon-SA only

OPTIMIZATION_LEVEL

public static final String OPTIMIZATION_LEVEL
OPTIMIZATION_LEVEL must be an integer (represented as a string) in the range 0 to 10

OUTPUT_URI_RESOLVER

public static final String OUTPUT_URI_RESOLVER
OUTPUT_URI_RESOLVER must be an instance of OutputURIResolver. This is a user-written class that takes responsibility for disposing of the result trees produced using XSLT xsl:result-document instruction

OUTPUT_URI_RESOLVER_CLASS

public static final String OUTPUT_URI_RESOLVER_CLASS
OUTPUT_URI_RESOLVER_CLASS must be the name of a class that implements the interface OutputURIResolver. This is a user-written class that takes responsibility for disposing of the result trees produced using XSLT xsl:result-document instruction

PREFER_JAXP_PARSER

public static final String PREFER_JAXP_PARSER
PREFER_JAXP_PARSER is a boolean. It has no effect when running on the Java platform. When running on the .NET platform, it causes a JAXP XML parser to be used in preference to the .NET XML parser. By default, the .NET XML parser (System.Xml.XmlTextReader) is used. One advantageof this option is that the .NET XML parser does not report ID attributes, which means that the id() function does not work.

PRE_EVALUATE_DOC_FUNCTION

public static final String PRE_EVALUATE_DOC_FUNCTION
PRE_EVALUATE_DOC_FUNCTION is a boolean. If set, calls to the doc() or document() function with a statically-known document URI are evaluated at compile time, so that the document only needs to be parsed and constructed once. The effect of this is that subsequent changes to the contents of the file will not be reflected during query or stylesheet processing

RECOGNIZE_URI_QUERY_PARAMETERS

public static final String RECOGNIZE_URI_QUERY_PARAMETERS
RECOGNIZE_URI_QUERY_PARAMETERS must be a Boolean; it determines whether query parameters (things after a question mark) in a URI passed to the document() or doc() function are specially recognized by the system default URIResolver. Allowed parameters include, for example validation=strict to perform schema validation, and strip-space=yes to perform stripping of all whitespace-only text nodes.

RECOVERY_POLICY

public static final String RECOVERY_POLICY
RECOVERY_POLICY must be an Integer: one of RECOVER_SILENTLY, RECOVER_WITH_WARNINGS, or DO_NOT_RECOVER

RECOVERY_POLICY_NAME

public static final String RECOVERY_POLICY_NAME
RECOVERY_POLICY_NAME must be a string: one of "recoverSilently", "recoverWithWarnings", "doNotRecover"

SCHEMA_URI_RESOLVER

public static final String SCHEMA_URI_RESOLVER
SCHEMA_URI_RESOLVER must be an instance of SchemaURIResolver. This is a user-written class that takes responsibility for locating schema documents.

SCHEMA_URI_RESOLVER_CLASS

public static final String SCHEMA_URI_RESOLVER_CLASS
SCHEMA_URI_RESOLVER_CLASS must be the name of a class that implements SchemaURIResolver. This is a user-written class that takes responsibility for locating schema documents.

SCHEMA_VALIDATION

public static final String SCHEMA_VALIDATION
SCHEMA_VALIDATION must be an Integer. This determines whether source documents should be parsed with schema-validation enabled. The string takes one of the values STRICT, LAX, PRESERVE, SKIP.

SCHEMA_VALIDATION_MODE

public static final String SCHEMA_VALIDATION_MODE
SCHEMA_VALIDATION_MODE must be a String: one of "strict", "lax", "preserve", or "skip".

SERIALIZER_FACTORY_CLASS

public static final String SERIALIZER_FACTORY_CLASS
SERIALIZER_FACTORY_CLASS must be the full class name of a class that extends SerializerFactory. This class is used to customize the creation of a serializer, for example by adding extra steps to the pipeline to implement user-defined serialization options.

SOURCE_PARSER_CLASS

public static final String SOURCE_PARSER_CLASS
SOURCE_PARSER_CLASS must be the full class name of an XMLReader. This identifies the parser used for source documents.

SOURCE_RESOLVER_CLASS

public static final String SOURCE_RESOLVER_CLASS
SOURCE_RESOLVER_CLASS must be the full class name of a class that extends SourceResolver. This class is used to enable Saxon to handle additional implementations of javax.xml.transform.Source beyond the built-in implementations

STRIP_WHITESPACE

public static final String STRIP_WHITESPACE
STRIP_WHITESPACE must be a string set to one of the values "all", "none", or "ignorable". This determines what whitespace is stripped during tree construction: "all" removes all whitespace-only text nodes; "ignorable" removes whitespace text nodes in element-only content (as identified by a DTD or Schema), and "none" preserves all whitespace. This whitespace stripping is additional to any stripping caused by the xsl:strip-space declaration in a stylesheet.

This option also controls stripping of whitespace by a JAXP identity Transformer or identity transformerHandler.

STYLE_PARSER_CLASS

public static final String STYLE_PARSER_CLASS
STYLE_PARSER_CLASS must be an XMLReader. This identifies the parser used for stylesheets and schema modules.

TIMING

public static final String TIMING
TIMING must be an Boolean; it determines whether basic timing information is output to System.err (This attribute is a bit of a misnomer; it outputs timing information when used from the command line, but also basic tracing information when used from the Java API: for example, names of output files written using xsl:result-document, and names of classes dynamically loaded)

TRACE_EXTERNAL_FUNCTIONS

public static final String TRACE_EXTERNAL_FUNCTIONS
TRACE_EXTERNAL_FUNCTIONS must be a Boolean; it determines whether the loading and binding of extension functions is traced

TRACE_LISTENER

public static final String TRACE_LISTENER
TRACE_LISTENER must be an instance of a class that implements TraceListener. Setting this property automatically sets COMPILE_WITH_TRACING to true.

TRACE_LISTENER_CLASS

public static final String TRACE_LISTENER_CLASS
TRACE_LISTENER_CLASS must be the name of a class that implements TraceListener. A new instance of this class will be created as the trace listener for each query or transformation run under this Configuration. Setting this property automatically sets COMPILE_WITH_TRACING to true.

TRACE_OPTIMIZER_DECISIONS

public static final String TRACE_OPTIMIZER_DECISIONS
TRACE_OPTIMIZER_DECISIONS must be a Boolean; it determines whether decisions made by the optimizer are traced

TREE_MODEL

public static final String TREE_MODEL
TREE_MODEL must be an Integer: LINKED_TREE, TINY_TREE, or TINY_TREE_CONDENSED

TREE_MODEL_NAME

public static final String TREE_MODEL_NAME
TREE_MODEL_NAME must be a string: "linkedTree" or "tinyTree" or "tinyTreeCondensed"

URI_RESOLVER_CLASS

public static final String URI_RESOLVER_CLASS
URI_RESOLVER_CLASS must be the full class name of a class that extends javax.xml.transform.URIResolver. Setting this property causes the specified class to be instantiated, and the instance is then registered using Configuration. This affects the dereferencing of URIs both at compile-time and at run-time.

USE_PI_DISABLE_OUTPUT_ESCAPING

public static final String USE_PI_DISABLE_OUTPUT_ESCAPING
USE_PI_DISABLE_OUTPUT_ESCAPING must be a Boolean. This determines whether a TransformerHandler created with this Factory or Configuration recognizes the processing instructions Result.PI_DISABLE_OUTPUT_ESCAPING and Result.PI_ENABLE_OUTPUT_ESCAPING in the input stream as instructions to disable or to re-enable output escaping.

USE_TYPED_VALUE_CACHE

public static final String USE_TYPED_VALUE_CACHE
USE_TYPED_VALUE_CACHE is a Boolean. The value is relevant only when the TinyTree is used; it determines whether (for a validated document) a cache will be maintained containing the typed values of nodes. Typed values are held in the cache only for elements and attributes whose type is other than string, untypedAtomic, or anyURI. The default value is true. Setting this value to false can reduce memory requirements and the cost of requiring recomputation of typed values on each access.

USE_XSI_SCHEMA_LOCATION

public static final String USE_XSI_SCHEMA_LOCATION
USE_XSI_SCHEMA_LOCATION must be a Boolean. This determines whether the schema processor takes notice of (and attempts to dereference) URIs specified in the xsi:schemaLocation and xsi:noNamespaceSchemaLocation attributes of the instance document. The default is true.

VALIDATION_WARNINGS

public static final String VALIDATION_WARNINGS
VALIDATION_WARNINGS must be a Boolean. This determines whether validation errors in result documents should be treated as fatal. By default they are fatal; with this option set, they are treated as warnings.

VERSION_WARNING

public static final String VERSION_WARNING
VERSION_WARNING must be a Boolean. This determines whether a warning should be output when running an XSLT 2.0 processor against an XSLT 1.0 stylesheet. The XSLT specification requires this to be done by default.

XINCLUDE

public static final String XINCLUDE
XINCLUDE must be a Boolean. This determines whether XInclude processing should be performed by default when XML source documents (including stylesheets and schemas) are read.

XML_VERSION

public static final String XML_VERSION
XML_VERSION is a character string. This determines the XML version used by the Configuration: the value must be "1.0" or "1.1". For details, see Configuration.

Note that source documents specifying xml version="1.0" or "1.1" are accepted regardless of this setting. The effect of this switch is to change the validation rules for types such as Name and NCName, to change the meaning of \i and \c in regular expressions, and to determine whether the serializer allows XML 1.1 documents to be constructed.

XQUERY_ALLOW_UPDATE

public static final String XQUERY_ALLOW_UPDATE
XQUERY_ALLOW_UPDATE is a boolean. If true, XQuery update syntax is accepted; if false, it is not.

XQUERY_CONSTRUCTION_MODE

public static final String XQUERY_CONSTRUCTION_MODE
XQUERY_CONSTRUCTION_MODE is a string with the value "strip" or "preserve". It defines the default value of construction mode in the XQuery static context (overridable in the query prolog)

XQUERY_DEFAULT_ELEMENT_NAMESPACE

public static final String XQUERY_DEFAULT_ELEMENT_NAMESPACE
XQUERY_DEFAULT_ELEMENT_NAMESPACE is a namespace URI. It defines the default namespace for elements and types that are not qualified by a namespace prefix.

XQUERY_DEFAULT_FUNCTION_NAMESPACE

public static final String XQUERY_DEFAULT_FUNCTION_NAMESPACE
XQUERY_DEFAULT_FUNCTION_NAMESPACE is a namespace URI. It defines the default namespace for function names that are not qualified by a namespace prefix.

XQUERY_EMPTY_LEAST

public static final String XQUERY_EMPTY_LEAST
XQUERY_EMPTY_LEAST is boolean. It defines how the empty sequence is handled in XQuery sorting (the "order by" clause). If true, () comes at the start of the sorted sequence; if false, it comes last.

XQUERY_INHERIT_NAMESPACES

public static final String XQUERY_INHERIT_NAMESPACES
XQUERY_INHERIT_NAMESPACES is boolean. It defines the default value of the inherit-namespaces property in the XQuery static context.

XQUERY_PRESERVE_BOUNDARY_SPACE

public static final String XQUERY_PRESERVE_BOUNDARY_SPACE
XQUERY_PRESERVE_BOUNDARY_SPACE is boolean. It defines whether "boundary space" (insignificant space in direct element constructors) should be retained or not

XQUERY_PRESERVE_NAMESPACES

public static final String XQUERY_PRESERVE_NAMESPACES
XQUERY_PRESERVE_NAMESPACES is boolean. It defines whether unused namespace declarations are retained by XQuery element copy operations

XQUERY_REQUIRED_CONTEXT_ITEM_TYPE

public static final String XQUERY_REQUIRED_CONTEXT_ITEM_TYPE
XQUERY_REQUIRED_CONTEXT_ITEM_TYPE is a string containing an ItemType, for example document-node(). It defines the default expected context item type for a query.

XQUERY_SCHEMA_AWARE

public static final String XQUERY_SCHEMA_AWARE
XQUERY_SCHEMA_AWARE is a boolean. It indicates that queries should be compiled to handle schema-typed input documents, even if they contain no "import schema" declaration.

XQUERY_STATIC_ERROR_LISTENER_CLASS

public static final String XQUERY_STATIC_ERROR_LISTENER_CLASS
XQUERY_STATIC_ERROR_LISTENER_CLASS is the name of a Java class that implements javax.xml.transform.ErrorListener. All reports of static errors in a query will go to this ErrorListener.

XQUERY_VERSION

public static final String XQUERY_VERSION
XQUERY_VERSION is a character string. This determines the version of XQuery used by the Configuration: the value must be "1.0" or "1.1".

XSD_VERSION

public static final String XSD_VERSION
XSD_VERSION is a character string. This determines the version of XML Schema used by the Configuration: the value must be "1.0" or "1.1".

XSLT_SCHEMA_AWARE

public static final String XSLT_SCHEMA_AWARE
XSLT_SCHEMA_AWARE is a boolean. It indicates whether stylesheets should be compiled with the ability to handle schema-typed input documents. By default a stylesheet is compiled to handle such input if it contains an xsl:import-schema instruction, and not otherwise.

XSLT_STATIC_ERROR_LISTENER_CLASS

public static final String XSLT_STATIC_ERROR_LISTENER_CLASS
XSLT_STATIC_ERROR_LISTENER_CLASS must be the name of a class that implements javax.xml.transform.ErrorListener. This is an ErrorListener used to handle static errors found when compiling a stylesheet.

XSLT_STATIC_URI_RESOLVER_CLASS

public static final String XSLT_STATIC_URI_RESOLVER_CLASS
XSLT_STATIC_URI_RESOLVER_CLASS must be the name of a class that implements javax.xml.transform.URIResolver. This is a URIResolver used when dereferencing the URIs that appear in the href attributes of the xsl:include and xsl:import declarations. Note that this defaults to the setting of the global URI_RESOLVER property.