1
################################################################################
2
# JAXP Configuration File
4
# jaxp.properties (this file) is the default configuration file for JAXP, the API
5
# defined in the java.xml module. It is in java.util.Properties format and typically
6
# located in the {java.home}/conf directory. It may contain key/value pairs for
7
# specifying the implementation classes of JAXP factories and/or properties
8
# that have corresponding system properties.
10
# A user-specified configuration file can be set up using the system property
11
# java.xml.config.file to override any or all of the entries in jaxp.properties.
12
# The following statement provides myConfigurationFile as a custom configuration
14
# java -Djava.xml.config.file=myConfigurationFile
15
################################################################################
17
# ---- JAXP Default Configuration ----
19
# The JAXP default configuration (jaxp.properties) contains entries for the
20
# Factory Lookup Mechanism and properties with corresponding system properties.
21
# The values are generally set to the default values of the properties.
24
# JAXP Lookup Mechanism:
26
# The JAXP configuration file ranks 2nd to the System Property in the precedent
27
# order of the JAXP Lookup Mechanism. When the System Property is not specified,
28
# a JAXP factory reads the configuration file in order to locate an implementation
29
# class. If found, the class specified will be used as the factory implementation
32
# The format of an entry is key=value where the key is the fully qualified name
33
# of the factory and value that of the implementation class. The following entry
34
# sets a DocumentBuilderFactory implementation class:
36
# javax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
39
# Java SE and JDK Implementation Specific Properties:
41
# The JAXP configuration file ranks above the default settings in the Property
42
# Precedence in that its entries will override the default values of the corresponding
45
# All properties that have System Properties defined in Java SE or supported
46
# by the JDK Implementation can be placed in the configuration file to override
47
# the default property values. The format is:
48
# system-property-name=value
50
# For example, the RESOLVE property in CatalogFeatures has an associated system
51
# property called javax.xml.catalog.resolve. An entry for the RESOLVE property in the
52
# configuration file therefore uses javax.xml.catalog.resolve as the key, that
54
# javax.xml.catalog.resolve=strict
59
# This property determines whether XSLT and XPath extension functions are allowed.
60
# The value type is boolean and the default value is true (allowing
61
# extension functions). The following entry overrides the default value and
62
# disallows extension functions:
64
# jdk.xml.enableExtensionFunctions=false
67
# Overriding the default parser:
69
# This property allows a third party implementation to override the default
70
# parser provided by the JDK. The value type is boolean and the default value is
71
# false, disallowing overriding the default parser. The setting below reflects
72
# the default property setting:
74
jdk.xml.overrideDefaultParser=false
77
# External Access Properties:
79
# The External Access Properties are defined in javax.xml.XMLConstants. Their
80
# system properties are javax.xml.accessExternalDTD, javax.xml.accessExternalSchema,
81
# and javax.xml.accessExternalStylesheet. The values are a list of protocols separated
82
# by comma, plus empty string ("") to represent no protocol allowed and the key
83
# word "all" for all access. The default is "all", allowing all external resources
84
# to be fetched. The followings are example of external access settings:
86
# allow local (file) DTDs to be retrieved
87
# javax.xml.accessExternalDTD=file
89
# allow local (file) and remote (http) external schemas
90
# javax.xml.accessExternalSchema=file, http
92
# reject any external stylesheets
93
# javax.xml.accessExternalStylesheet=""
95
# allow all external stylesheets
96
# javax.xml.accessExternalStylesheet="all"
101
# The Catalog API defines four features: FILES, PREFER, DEFER and RESOLVE.
102
# Except PREFER, all other properties can be placed in the configuration file
103
# using the system properties defined for them.
105
# FILES: A semicolon-delimited list of URIs to locate the catalog files. The URIs
106
# must be absolute and have a URL protocol handler for the URI scheme. The following
107
# is an example of setting up a catalog file:
109
# javax.xml.catalog.files = file:///users/auser/catalog/catalog.xml
111
# DEFER: Indicates that the alternative catalogs including those specified in
112
# delegate entries or nextCatalog are not read until they are needed. The value
113
# is a boolean and the default value is true.
115
# javax.xml.catalog.defer=true
117
# RESOLVE: Determines the action if there is no matching entry found after all of
118
# the specified catalogs are exhausted. The values are key words: strict, continue,
119
# and ignore. The default is strict. The following setting reflects the default
122
# javax.xml.catalog.resolve=strict
126
# This property instructs XML processors to use XML Catalogs to resolve entity
127
# references. The value is a boolean and the default value is true.
129
# javax.xml.useCatalog=true
131
# Implementation Specific Properties - jdkcatalog.resolve
133
# This property instructs the JDK default CatalogResolver to act in accordance with
134
# the setting when unable to resolve an external reference with the built-in Catalog.
136
# continue -- indicates that the processing should continue
137
# ignore -- indicates that the reference is skipped
138
# strict -- indicates that the resolver should throw a CatalogException
140
# The following setting allows the resolution to continue in cases where
141
# external references are not resolved by a user-defined resolver or catalog if
142
# any, and the built-in Catalog:
143
jdk.xml.jdkcatalog.resolve=continue
145
# Implementation Specific Properties - DTD
147
# This property instructs the parsers to deny, ignore or allow DTD processing.
148
# The following setting causes the parser to reject DTDs by throwing an exception.
149
# jdk.xml.dtd.support=deny
151
# The following setting permits the processor to continue processing DTDs
152
jdk.xml.dtd.support=allow
154
# Implementation Specific Properties - Limits
156
# Limits have a value type Integer. The values must be positive integers. Zero
159
# Limits the number of entity expansions. The default value is 64000
160
# jdk.xml.entityExpansionLimit=64000
162
# Limits the total size of all entities that include general and parameter entities.
163
# The size is calculated as an aggregation of all entities. The default value is 5x10^7.
164
# jdk.xml.totalEntitySizeLimit=50000000
166
# Limits the maximum size of any general entities. The default value is 0.
167
# jdk.xml.maxGeneralEntitySizeLimit=0
169
# Limits the maximum size of any parameter entities, including the result of
170
# nesting multiple parameter entities. The default value is 10^6.
171
# jdk.xml.maxParameterEntitySizeLimit=1000000
173
# Limits the total number of nodes in all entity references. The default value is 3x10^6.
174
# jdk.xml.entityReplacementLimit=3000000
176
# Limits the number of attributes an element can have. The default value is 10000.
177
# jdk.xml.elementAttributeLimit=10000
179
# Limits the number of content model nodes that may be created when building a
180
# grammar for a W3C XML Schema that contains maxOccurs attributes with values
181
# other than "unbounded". The default value is 5000.
182
# jdk.xml.maxOccurLimit=5000
184
# Limits the maximum element depth. The default value is 0.
185
# jdk.xml.maxElementDepth=0
187
# Limits the maximum size of XML names, including element name, attribute name
188
# and namespace prefix and URI. The default value is 1000.
189
jdk.xml.maxXMLNameLimit=1000
194
# Limits the number of groups an XPath expression can contain. The default value is 10.
195
jdk.xml.xpathExprGrpLimit=10
197
# Limits the number of operators an XPath expression can contain. The default value is 100.
198
jdk.xml.xpathExprOpLimit=100
200
# Limits the total number of XPath operators in an XSL Stylesheet. The default value is 10000.
201
jdk.xml.xpathTotalOpLimit=10000