Share via


DtdProcessing Enumeration (Compact 2013)

3/26/2014

This structure 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. Additional calls to the reader will continue to return errors and the reader will remain in an 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.

See Also

Reference

Enumerated Types
XmlReaderProperty_DtdProcessing