Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : PARSE-STATUS attribute
 

PARSE-STATUS attribute

The current status of a SAX parse.
Data type: INTEGER
Access: Read-only
Applies to: SAX-reader object handle
The default value is SAX-UNINITIALIZED.
The values that PARSE-STATUS can assume are described in the following table.
Table 93. PARSE-STATUS attribute values
This value . . .
Indicates . . .
SAX-UNINITIALIZED
No parsing has occurred.
SAX-RUNNING
Parsing has begun.
SAX-COMPLETE
Parsing has begun and one of the following has occurred:
*The parser has determined that there are no more tokens in the XML source.
*The application has stopped the parser by calling the STOP-PARSING( ) method.
SAX-PARSER-ERROR
One of the following has occurred:
*The parser could not start or could not continue. Perhaps the parser could not be loaded, the XML source could not be found, the XML source was invalid, etc.
*The parser started, but a callback executed a RETURN ERROR statement.