Class DTDParser


  • public class DTDParser
    extends Object
    This implements parsing of XML 1.0 DTDs. This conforms to the portion of the XML 1.0 specification related to the external DTD subset. For multi-language applications (such as web servers using XML processing to create dynamic content), a method supports choosing a locale for parser diagnostics which is both understood by the message recipient and supported by the parser. This parser produces a stream of parse events. It supports some features (exposing comments, CDATA sections, and entity references) which are not required to be reported by conformant XML processors.
    Version:
    $Id: DTDParser.java 1793 2013-02-18 12:52:53Z snajper $
    Author:
    David Brownell, Janet Koenig, Kohsuke KAWAGUCHI