1################################################################################
2#           JAXP Configuration File
3#
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.
9#
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
13# file:
14#     java -Djava.xml.config.file=myConfigurationFile
15################################################################################
16
17# ---- JAXP Default Configuration ----
18#
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.
22#
23#
24# JAXP Lookup Mechanism:
25#
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
30# class.
31#
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# set a DocumentBuilderFactory implementation class:
35#
36# javax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
37#
38#
39# Java SE and JDK Implementation Specific Properties:
40#
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
43# properties.
44#
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
49#
50# For example, the FILES property in CatalogFeatures has an associated system
51# property called javax.xml.catalog.files. An entry for the FILES property in the
52# configuration file would therefore use javax.xml.catalog.files as the key, that
53# is:
54#     javax.xml.catalog.files=strict
55#
56#
57# Extension Functions:
58#
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 would override the default value and
62# disallow extension functions:
63#
64# jdk.xml.enableExtensionFunctions=false
65#
66#
67# Overriding the default parser:
68#
69# This property allows using 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:
73#
74jdk.xml.overrideDefaultParser=false
75#
76#
77# External Access Properties:
78#
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:
85#
86# allow local (file) DTDs to be retrieved
87# javax.xml.accessExternalDTD=file
88#
89# allow local (file) and remote (http) external schemas
90# javax.xml.accessExternalSchema=file, http
91#
92# reject any external stylesheets
93# javax.xml.accessExternalStylesheet=""
94#
95# allow all external stylesheets
96# javax.xml.accessExternalStylesheet="all"
97#
98#
99# Catalog Properties:
100#
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.
104#
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:
108#
109# javax.xml.catalog.files = file:///users/auser/catalog/catalog.xml
110#
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.
114#
115# javax.xml.catalog.defer=true
116#
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
120# setting.
121#
122# javax.xml.catalog.resolve=strict
123#
124#
125# useCatalog:
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.
128#
129# javax.xml.useCatalog=true
130#
131#
132# Implementation Specific Properties - Limits
133#
134# Limits have a value type Integer. The values must be positive integers. Zero
135# means no limit.
136#
137# Limits the number of entity expansions. The default value is 64000
138# jdk.xml.entityExpansionLimit=64000
139#
140# Limits the total size of all entities that include general and parameter entities.
141# The size is calculated as an aggregation of all entities. The default value is 5x10^7.
142# jdk.xml.totalEntitySizeLimit=5E7
143#
144# Limits the maximum size of any general entities. The default value is 0.
145# jdk.xml.maxGeneralEntitySizeLimit=0
146#
147# Limits the maximum size of any parameter entities, including the result of
148# nesting multiple parameter entities. The default value is 10^6.
149# jdk.xml.maxParameterEntitySizeLimit=1E6
150#
151# Limits the total number of nodes in all entity references. The default value is 3x10^6.
152# jdk.xml.entityReplacementLimit=3E6
153#
154# Limits the number of attributes an element can have. The default value is 10000.
155# jdk.xml.elementAttributeLimit=10000
156#
157# Limits the number of content model nodes that may be created when building a
158# grammar for a W3C XML Schema that contains maxOccurs attributes with values
159# other than "unbounded". The default value is 5000.
160# jdk.xml.maxOccurLimit=5000
161#
162# Limits the maximum element depth. The default value is 0.
163# jdk.xml.maxElementDepth=0
164#
165# Limits the maximum size of XML names, including element name, attribute name
166# and namespace prefix and URI. The default value is 1000.
167jdk.xml.maxXMLNameLimit=1000
168#
169#
170# XPath Limits
171#
172# Limits the number of groups an XPath expression can contain. The default value is 10.
173jdk.xml.xpathExprGrpLimit=10
174#
175# Limits the number of operators an XPath expression can contain. The default value is 100.
176jdk.xml.xpathExprOpLimit=100
177#
178# Limits the total number of XPath operators in an XSL Stylesheet. The default value is 10000.
179jdk.xml.xpathTotalOpLimit=10000
180
181