DtdProcessing Enumeration


Lists the valid values for Document Type Definition (DTD) handling. By default, DTD processing is prohibited.

enum DtdProcessing {
    DtdProcessing_Prohibit = 0,
    DtdProcessing_Parse = 1} ;


Prohibits DTDs in the input XML. If a DTD is detected in the input, the parser will return an error and move reader to an error state. Further calls to the reader will continue to return errors and the reader will be in error state. The reader can be reset by calling SetInput(NULL).


Allows DTDs in the document and will parse DTDs as per the XML 1.0 specification.


Header: XmlLite.h

Library: XmlLite.lib