The DTDHandler
interface covers those aspects of DTDs
a non-validating parser may care about and are not handled by other interfaces:
Notation Declarations
Unparsed Entity Declarations
Attribute Defaults are handled transparently by startElement()
and
the Attributes
interface
Parsed entities are handled transparently by ContentHandler
unless you install an EntityResolver
The DTDHandler
interface:
package org.xml.sax;
public interface DTDHandler {
public void notationDecl(String name, String publicId, String systemId)
throws SAXException;
public void unparsedEntityDecl(String name, String publicId,
String systemId, String notationName) throws SAXException;
}