Class DTDConfiguration

  • All Implemented Interfaces:
    XMLComponentManager, XMLParserConfiguration, XMLPullParserConfiguration
    Direct Known Subclasses:
    StandardParserConfiguration

    public class DTDConfiguration
    extends BasicParserConfiguration
    implements XMLPullParserConfiguration
    This is the DTD-only parser configuration. It extends the basic configuration with a standard set of parser components appropriate to DTD-centric validation. Since the Xerces2 reference implementation document and DTD scanner implementations are capable of acting as pull parsers, this configuration implements the XMLPullParserConfiguration interface.

    In addition to the features and properties recognized by the base parser configuration, this class recognizes these additional features and properties:

    • Features
      • http://apache.org/xml/features/validation/warn-on-duplicate-attdef
      • http://apache.org/xml/features/validation/warn-on-undeclared-elemdef
      • http://apache.org/xml/features/allow-java-encodings
      • http://apache.org/xml/features/continue-after-fatal-error
      • http://apache.org/xml/features/load-external-dtd
    • Properties
      • http://apache.org/xml/properties/internal/error-reporter
      • http://apache.org/xml/properties/internal/entity-manager
      • http://apache.org/xml/properties/internal/document-scanner
      • http://apache.org/xml/properties/internal/dtd-scanner
      • http://apache.org/xml/properties/internal/grammar-pool
      • http://apache.org/xml/properties/internal/validator/dtd
      • http://apache.org/xml/properties/internal/datatype-validator-factory
    Version:
    $Id$
    Author:
    Arnaud Le Hors, IBM, Andy Clark, IBM, Neil Graham, IBM