Compartilhar via


DtdProcessing Enumeration

 

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

Syntax

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

Values

DtdProcessing_Prohibit
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).

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

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

XmlReaderProperty_DtdProcessing
Enumerated Types