codekingpro/portable-devtools
114k
1################################################################################2# JAXP Configuration File3#4# jaxp.properties (this file) is the default configuration file for JAXP, the API5# defined in the java.xml module. It is in java.util.Properties format and typically6# located in the {java.home}/conf directory. It may contain key/value pairs for7# specifying the implementation classes of JAXP factories and/or properties8# that have corresponding system properties.9#10# A user-specified configuration file can be set up using the system property11# java.xml.config.file to override any or all of the entries in jaxp.properties.12# The following statement provides myConfigurationFile as a custom configuration13# file:14# java -Djava.xml.config.file=myConfigurationFile15################################################################################16 17# ---- JAXP Default Configuration ----18#19# The JAXP default configuration (jaxp.properties) contains entries for the20# 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 precedent27# 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 implementation29# class. If found, the class specified will be used as the factory implementation30# class.31#32# The format of an entry is key=value where the key is the fully qualified name33# of the factory and value that of the implementation class. The following entry34# set a DocumentBuilderFactory implementation class:35#36# javax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl37#38#39# Java SE and JDK Implementation Specific Properties:40#41# The JAXP configuration file ranks above the default settings in the Property42# Precedence in that its entries will override the default values of the corresponding43# properties.44#45# All properties that have System Properties defined in Java SE or supported46# by the JDK Implementation can be placed in the configuration file to override47# the default property values. The format is:48# system-property-name=value49#50# For example, the FILES property in CatalogFeatures has an associated system51# property called javax.xml.catalog.files. An entry for the FILES property in the52# configuration file would therefore use javax.xml.catalog.files as the key, that53# is:54# javax.xml.catalog.files=strict55#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 (allowing61# extension functions). The following entry would override the default value and62# disallow extension functions:63#64# jdk.xml.enableExtensionFunctions=false65#66#67# Overriding the default parser:68#69# This property allows using a third party implementation to override the default70# parser provided by the JDK. The value type is boolean and the default value is71# false, disallowing overriding the default parser. The setting below reflects72# the default property setting:73#74jdk.xml.overrideDefaultParser=false75#76#77# External Access Properties:78#79# The External Access Properties are defined in javax.xml.XMLConstants. Their80# system properties are javax.xml.accessExternalDTD, javax.xml.accessExternalSchema,81# and javax.xml.accessExternalStylesheet. The values are a list of protocols separated82# by comma, plus empty string ("") to represent no protocol allowed and the key83# word "all" for all access. The default is "all", allowing all external resources84# to be fetched. The followings are example of external access settings:85#86# allow local (file) DTDs to be retrieved87# javax.xml.accessExternalDTD=file88#89# allow local (file) and remote (http) external schemas90# javax.xml.accessExternalSchema=file, http91#92# reject any external stylesheets93# javax.xml.accessExternalStylesheet=""94#95# allow all external stylesheets96# 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 file103# using the system properties defined for them.104#105# FILES: A semicolon-delimited list of URIs to locate the catalog files. The URIs106# must be absolute and have a URL protocol handler for the URI scheme. The following107# is an example of setting up a catalog file:108#109# javax.xml.catalog.files = file:///users/auser/catalog/catalog.xml110#111# DEFER: Indicates that the alternative catalogs including those specified in112# delegate entries or nextCatalog are not read until they are needed. The value113# is a boolean and the default value is true.114#115# javax.xml.catalog.defer=true116#117# RESOLVE: Determines the action if there is no matching entry found after all of118# the specified catalogs are exhausted. The values are key words: strict, continue,119# and ignore. The default is strict. The following setting reflects the default120# setting.121#122# javax.xml.catalog.resolve=strict123#124#125# useCatalog:126# This property instructs XML processors to use XML Catalogs to resolve entity127# references. The value is a boolean and the default value is true.128#129# javax.xml.useCatalog=true130#131#132# Implementation Specific Properties - Limits133#134# Limits have a value type Integer. The values must be positive integers. Zero135# means no limit.136#137# Limits the number of entity expansions. The default value is 64000138# jdk.xml.entityExpansionLimit=64000139#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=5E7143#144# Limits the maximum size of any general entities. The default value is 0.145# jdk.xml.maxGeneralEntitySizeLimit=0146#147# Limits the maximum size of any parameter entities, including the result of148# nesting multiple parameter entities. The default value is 10^6.149# jdk.xml.maxParameterEntitySizeLimit=1E6150#151# Limits the total number of nodes in all entity references. The default value is 3x10^6.152# jdk.xml.entityReplacementLimit=3E6153#154# Limits the number of attributes an element can have. The default value is 10000.155# jdk.xml.elementAttributeLimit=10000156#157# Limits the number of content model nodes that may be created when building a158# grammar for a W3C XML Schema that contains maxOccurs attributes with values159# other than "unbounded". The default value is 5000.160# jdk.xml.maxOccurLimit=5000161#162# Limits the maximum element depth. The default value is 0.163# jdk.xml.maxElementDepth=0164#165# Limits the maximum size of XML names, including element name, attribute name166# and namespace prefix and URI. The default value is 1000.167jdk.xml.maxXMLNameLimit=1000168#169#170# XPath Limits171#172# Limits the number of groups an XPath expression can contain. The default value is 10.173jdk.xml.xpathExprGrpLimit=10174#175# Limits the number of operators an XPath expression can contain. The default value is 100.176jdk.xml.xpathExprOpLimit=100177#178# Limits the total number of XPath operators in an XSL Stylesheet. The default value is 10000.179jdk.xml.xpathTotalOpLimit=10000180 181 