public final class XMLParserSettings extends Object
Several of these settings can be overridden by means of a system property, but only if specified at JVM startup time.
XMLConstants, 
Apache XML Project - Features| Modifier and Type | Field and Description | 
|---|---|
| static RioSetting<XMLReader> | CUSTOM_XML_READERParser setting to customise the XMLReader that is used by an XML based Rio parser. | 
| static RioSetting<Boolean> | DISALLOW_DOCTYPE_DECLParser setting specifying whether DOCTYPE declaration should be disallowed. | 
| static RioSetting<Boolean> | EXTERNAL_GENERAL_ENTITIESParser setting specifying whether external text entities should be included. | 
| static RioSetting<Boolean> | EXTERNAL_PARAMETER_ENTITIESParser setting specifying whether external parameter entities should be included. | 
| static RioSetting<Boolean> | FAIL_ON_DUPLICATE_RDF_IDParser setting to determine whether to throw an error for duplicate uses of rdf:ID in a single document. | 
| static RioSetting<Boolean> | FAIL_ON_INVALID_NCNAMEParser setting to determine whether to ignore XML documents containing invalid NCNAMEs. | 
| static RioSetting<Boolean> | FAIL_ON_INVALID_QNAMEParser setting to determine whether to ignore XML documents containing invalid QNAMEs. | 
| static RioSetting<Boolean> | FAIL_ON_MISMATCHED_TAGSParser setting to determine whether to throw an error for XML documents containing mismatched tags | 
| static RioSetting<Boolean> | FAIL_ON_NON_STANDARD_ATTRIBUTESParser setting to determine whether to ignore non-standard attributes that are found in an XML document. | 
| static RioSetting<Boolean> | FAIL_ON_SAX_NON_FATAL_ERRORSParser setting to determine whether to ignore non-fatal errors that come from SAX parsers. | 
| static RioSetting<Boolean> | LOAD_EXTERNAL_DTDParser setting specifying whether external DTDs should be loaded. | 
| static RioSetting<Boolean> | PARSE_STANDALONE_DOCUMENTSFlag indicating whether the parser parses stand-alone RDF documents. | 
| static RioSetting<Boolean> | SECURE_PROCESSINGParser setting for the secure processing feature of XML parsers to avoid DOS attacks | 
public static final RioSetting<Boolean> SECURE_PROCESSING
Defaults to true
 Can be overridden by setting system property http://javax.xml.XMLConstants/feature/secure-processing
public static final RioSetting<Boolean> DISALLOW_DOCTYPE_DECL
 Defaults to false. Can be overridden by setting system property
 http://apache.org/xml/features/disallow-doctype-decl
 
public static final RioSetting<Boolean> LOAD_EXTERNAL_DTD
Defaults to false.
 Can be overridden by setting system property
 http://apache.org/xml/features/nonvalidating/load-external-dtd
public static final RioSetting<Boolean> EXTERNAL_GENERAL_ENTITIES
Defaults to false.
 Can be overridden by setting system property http://xml.org/sax/features/external-general-entities
public static final RioSetting<Boolean> EXTERNAL_PARAMETER_ENTITIES
Defaults to false.
 Can be overridden by setting system property http://xml.org/sax/features/external-parameter-entities
public static final RioSetting<XMLReader> CUSTOM_XML_READER
IMPORTANT: The XMLReader must not be shared across different readers, so this setting must be reset for each parse operation.
 Defaults to null, This settings is only useful if RioConfig.isSet(RioSetting) returns true.
public static final RioSetting<Boolean> FAIL_ON_SAX_NON_FATAL_ERRORS
Defaults to true
 Can be overridden by setting system property org.eclipse.rdf4j.rio.fail_on_sax_non_fatal_errors
public static final RioSetting<Boolean> FAIL_ON_NON_STANDARD_ATTRIBUTES
Defaults to true
 Can be overridden by setting system property org.eclipse.rdf4j.rio.fail_on_non_standard_attributes
public static final RioSetting<Boolean> FAIL_ON_INVALID_NCNAME
Defaults to true
 Can be overridden by setting system property org.eclipse.rdf4j.rio.fail_on_invalid_ncname
public static final RioSetting<Boolean> FAIL_ON_DUPLICATE_RDF_ID
Defaults to true
 Can be overridden by setting system property org.eclipse.rdf4j.rio.fail_on_duplicate_rdf_id
public static final RioSetting<Boolean> FAIL_ON_INVALID_QNAME
Defaults to true
 Can be overridden by setting system property org.eclipse.rdf4j.rio.fail_on_invalid_qname
public static final RioSetting<Boolean> FAIL_ON_MISMATCHED_TAGS
Defaults to true
 Can be overridden by setting system property org.eclipse.rdf4j.rio.fail_on_mismatched_tags
public static final RioSetting<Boolean> PARSE_STANDALONE_DOCUMENTS
Defaults to true
 Can be overridden by setting system property org.eclipse.rdf4j.rio.parse_standalone_documents
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.