public final class XMLParserSettings extends Object
XMLConstants
,
Apache XML
Project - FeaturesModifier and Type | Field and Description |
---|---|
static RioSetting<XMLReader> |
CUSTOM_XML_READER
Parser setting to customise the XMLReader that is used by an XML based Rio
parser.
|
static RioSetting<Boolean> |
FAIL_ON_DUPLICATE_RDF_ID
Parser setting to determine whether to throw an error for duplicate uses
of rdf:ID in a single document.
|
static RioSetting<Boolean> |
FAIL_ON_INVALID_NCNAME
Parser setting to determine whether to ignore XML documents containing
invalid NCNAMEs.
|
static RioSetting<Boolean> |
FAIL_ON_INVALID_QNAME
Parser setting to determine whether to ignore XML documents containing
invalid QNAMEs.
|
static RioSetting<Boolean> |
FAIL_ON_MISMATCHED_TAGS
Parser setting to determine whether to throw an error for XML documents
containing mismatched tags
|
static RioSetting<Boolean> |
FAIL_ON_NON_STANDARD_ATTRIBUTES
Parser setting to determine whether to ignore non-standard attributes that
are found in an XML document.
|
static RioSetting<Boolean> |
FAIL_ON_SAX_NON_FATAL_ERRORS
Parser setting to determine whether to ignore non-fatal errors that come
from SAX parsers.
|
static RioSetting<Boolean> |
LOAD_EXTERNAL_DTD
Parser setting specifying whether external DTDs should be loaded.
|
static RioSetting<Boolean> |
PARSE_STANDALONE_DOCUMENTS
Flag indicating whether the parser parses stand-alone RDF documents.
|
static RioSetting<Boolean> |
SECURE_PROCESSING
Parser setting for the secure processing feature of XML parsers to avoid
DOS attacks
|
public static final RioSetting<Boolean> SECURE_PROCESSING
Defaults to true
public static final RioSetting<Boolean> LOAD_EXTERNAL_DTD
Defaults to true.
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
public static final RioSetting<Boolean> FAIL_ON_NON_STANDARD_ATTRIBUTES
Defaults to true
public static final RioSetting<Boolean> FAIL_ON_INVALID_NCNAME
Defaults to true
public static final RioSetting<Boolean> FAIL_ON_DUPLICATE_RDF_ID
Defaults to true
public static final RioSetting<Boolean> FAIL_ON_INVALID_QNAME
Defaults to true
public static final RioSetting<Boolean> FAIL_ON_MISMATCHED_TAGS
Defaults to true
public static final RioSetting<Boolean> PARSE_STANDALONE_DOCUMENTS
Defaults to true
Copyright © 2001-2016 Aduna. All Rights Reserved.