Compartilhar via


XML_PARSER_STATE

4/8/2010

This enumeration is used with the IXMLParser::GetParserState method.

Syntax

typedef enum {
  XMLPARSER_IDLE  = 0,
  XMLPARSER_WAITING,
  XMLPARSER_BUSY,
  XMLPARSER_ERROR,
  XMLPARSER_STOPPED,
  XMLPARSER_SUSPENDED
} XML_PARSER_STATE;

Enumerators

  • XMLPARSER_IDLE
    The parser is in the Reset state
  • XMLPARSER_WAITING
    The input stream returned E_PENDING.
  • XMLPARSER_BUSY
    There is data available for parsing
  • XMLPARSER_ERROR
    The parser found an error
  • XMLPARSER_STOPPED
    Abort was called
  • XMLPARSER_SUSPENDED
    Suspend was called

Remarks

If the parser found an error, this takes precedence over subsequent calls to IXMLNodeSource::Abort or IXMLParser::Suspend. The parser will still return XMLPARSER_ERROR in this case. Also, if parsing was aborted, this action takes precedence over IXMLParser::Suspend. The parser will still return XMLPARSER_STOPPED even though it is also suspended.

Requirements

Header xmlparser.h
Library xmlparser.lib
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also

Reference

HTML Control API Enumerations
IXMLParser::GetParserState