public class EPPXMLSignatureSchemaCachingParser extends EPPSchemaCachingParser
EPPSchemaCachingParser that disables the
NORMALIZE_DATA feature that causes an issue in validating
XML signatures. The NORMALIZE_DATA will trim elements based
the rules defined by the XML schema, which invalidates the XML signature.BIG_PRIME, CREATE_ENTITY_REF_NODES, DEFER_NODE_EXPANSION, DISALLOW_DOCTYPE_DECL, EXTERNAL_GENERAL_ENTITIES, EXTERNAL_PARAMETER_ENTITIES, INCLUDE_IGNORABLE_WHITE_SPACE, LOAD_DTD_GRAMMAR, LOAD_EXTERNAL_DTD, NAMESPACES_FEATURE_ID, NORMALIZE_DATA, POOL, SCHEMA_FULL_CHECKING_FEATURE_ID, SCHEMA_VALIDATION_FEATURE_ID, SYMBOL_TABLE, VALIDATION_FEATURE_ID, XMLGRAMMAR_POOL| Constructor and Description |
|---|
EPPXMLSignatureSchemaCachingParser()
Default constructor.
|
EPPXMLSignatureSchemaCachingParser(int aSymbolTableSize)
Constructor that takes the symbol table size.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
init()
Helper method to initialize this instance of
EPPSchemaCachingParser. |
addSchemaToCache, getDOMImplementation, getFeature, getProperty, getSymbolTableSize, getXmlSchemas, isNamespaceAware, isValidating, newDocument, parse, parse, parse, parse, parse, preloadSchemas, setEntityResolver, setErrorHandler, setFeature, setLockSchemaCache, setProperty, setSymbolTableSizepublic EPPXMLSignatureSchemaCachingParser()
public EPPXMLSignatureSchemaCachingParser(int aSymbolTableSize)
aSymbolTableSize - Symbol table size to use with the parserprotected void init()
throws EPPParserException
EPPSchemaCachingParser.init in class EPPSchemaCachingParserEPPParserException - Error initializing EPPSchemaCachingParser