jdk

Форк
0
/
jaxp.properties 
201 строка · 8.1 Кб
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
# sets 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 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
53
# is:
54
#     javax.xml.catalog.resolve=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 overrides the default value and
62
# disallows extension functions:
63
#
64
# jdk.xml.enableExtensionFunctions=false
65
#
66
#
67
# Overriding the default parser:
68
#
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:
73
#
74
jdk.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
# Implementation Specific Properties - jdkcatalog.resolve
132
#
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.
135
# The options are:
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
139
#
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
144
#
145
# Implementation Specific Properties - DTD
146
#
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
150
#
151
# The following setting permits the processor to continue processing DTDs
152
jdk.xml.dtd.support=allow
153
#
154
# Implementation Specific Properties - Limits
155
#
156
# Limits have a value type Integer. The values must be positive integers. Zero
157
# means no limit.
158
#
159
# Limits the number of entity expansions. The default value is 64000
160
# jdk.xml.entityExpansionLimit=64000
161
#
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
165
#
166
# Limits the maximum size of any general entities. The default value is 0.
167
# jdk.xml.maxGeneralEntitySizeLimit=0
168
#
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
172
#
173
# Limits the total number of nodes in all entity references. The default value is 3x10^6.
174
# jdk.xml.entityReplacementLimit=3000000
175
#
176
# Limits the number of attributes an element can have. The default value is 10000.
177
# jdk.xml.elementAttributeLimit=10000
178
#
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
183
#
184
# Limits the maximum element depth. The default value is 0.
185
# jdk.xml.maxElementDepth=0
186
#
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
190
#
191
#
192
# XPath Limits
193
#
194
# Limits the number of groups an XPath expression can contain. The default value is 10.
195
jdk.xml.xpathExprGrpLimit=10
196
#
197
# Limits the number of operators an XPath expression can contain. The default value is 100.
198
jdk.xml.xpathExprOpLimit=100
199
#
200
# Limits the total number of XPath operators in an XSL Stylesheet. The default value is 10000.
201
jdk.xml.xpathTotalOpLimit=10000
202

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.