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,v 1.2 2009-04-16 15:25:49 snajper Exp $
    Author:
    David Brownell, Janet Koenig, Kohsuke KAWAGUCHI