Package com.verisign.epp.util
Class EPPXMLSignatureSchemaCachingParser
java.lang.Object
javax.xml.parsers.DocumentBuilder
com.verisign.epp.util.EPPSchemaCachingParser
com.verisign.epp.util.EPPXMLSignatureSchemaCachingParser
- All Implemented Interfaces:
EPPSchemaCacher
Extension of the
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.-
Field Summary
Fields inherited from class com.verisign.epp.util.EPPSchemaCachingParser
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 Summary
ConstructorsConstructorDescriptionDefault constructor.EPPXMLSignatureSchemaCachingParser(int aSymbolTableSize) Constructor that takes the symbol table size. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit()Helper method to initialize this instance ofEPPSchemaCachingParser.Methods inherited from class com.verisign.epp.util.EPPSchemaCachingParser
addSchemaToCache, getDOMImplementation, getFeature, getProperty, getSymbolTableSize, getXmlSchemas, isNamespaceAware, isValidating, newDocument, parse, parse, parse, parse, parse, preloadSchemas, setEntityResolver, setErrorHandler, setFeature, setLockSchemaCache, setProperty, setSymbolTableSizeMethods inherited from class javax.xml.parsers.DocumentBuilder
getSchema, isXIncludeAware, reset
-
Constructor Details
-
EPPXMLSignatureSchemaCachingParser
public EPPXMLSignatureSchemaCachingParser()Default constructor. -
EPPXMLSignatureSchemaCachingParser
public EPPXMLSignatureSchemaCachingParser(int aSymbolTableSize) Constructor that takes the symbol table size.- Parameters:
aSymbolTableSize- Symbol table size to use with the parser
-
-
Method Details
-
init
Helper method to initialize this instance ofEPPSchemaCachingParser.- Overrides:
initin classEPPSchemaCachingParser- Throws:
EPPParserException- Error initializingEPPSchemaCachingParser
-