Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
jaxp.properties202 linesDownload Raw Back to conf
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# sets 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 RESOLVE property in CatalogFeatures has an associated system51# property called javax.xml.catalog.resolve. An entry for the RESOLVE property in the52# configuration file therefore uses javax.xml.catalog.resolve as the key, that53# is:54#     javax.xml.catalog.resolve=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 overrides the default value and62# disallows extension functions:63#64# jdk.xml.enableExtensionFunctions=false65#66#67# Overriding the default parser:68#69# This property allows 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# Implementation Specific Properties - jdkcatalog.resolve132#133# This property instructs the JDK default CatalogResolver to act in accordance with134# 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 continue137#     ignore -- indicates that the reference is skipped138#     strict -- indicates that the resolver should throw a CatalogException139#140# The following setting allows the resolution to continue in cases where141# external references are not resolved by a user-defined resolver or catalog if142# any, and the built-in Catalog:143jdk.xml.jdkcatalog.resolve=continue144#145# Implementation Specific Properties - DTD146#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=deny150#151# The following setting permits the processor to continue processing DTDs152jdk.xml.dtd.support=allow153#154# Implementation Specific Properties - Limits155#156# Limits have a value type Integer. The values must be positive integers. Zero157# means no limit.158#159# Limits the number of entity expansions. The default value is 64000160# jdk.xml.entityExpansionLimit=64000161#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=50000000165#166# Limits the maximum size of any general entities. The default value is 0.167# jdk.xml.maxGeneralEntitySizeLimit=0168#169# Limits the maximum size of any parameter entities, including the result of170# nesting multiple parameter entities. The default value is 10^6.171# jdk.xml.maxParameterEntitySizeLimit=1000000172#173# Limits the total number of nodes in all entity references. The default value is 3x10^6.174# jdk.xml.entityReplacementLimit=3000000175#176# Limits the number of attributes an element can have. The default value is 10000.177# jdk.xml.elementAttributeLimit=10000178#179# Limits the number of content model nodes that may be created when building a180# grammar for a W3C XML Schema that contains maxOccurs attributes with values181# other than "unbounded". The default value is 5000.182# jdk.xml.maxOccurLimit=5000183#184# Limits the maximum element depth. The default value is 0.185# jdk.xml.maxElementDepth=0186#187# Limits the maximum size of XML names, including element name, attribute name188# and namespace prefix and URI. The default value is 1000.189jdk.xml.maxXMLNameLimit=1000190#191#192# XPath Limits193#194# Limits the number of groups an XPath expression can contain. The default value is 10.195jdk.xml.xpathExprGrpLimit=10196#197# Limits the number of operators an XPath expression can contain. The default value is 100.198jdk.xml.xpathExprOpLimit=100199#200# Limits the total number of XPath operators in an XSL Stylesheet. The default value is 10000.201jdk.xml.xpathTotalOpLimit=10000202 
codekingpro/portable-devtools · Team Ai