Try OpenEdge Now
skip to main content
Debugging and Troubleshooting
Troubleshooting Resources : Log Entry Types Detail : SAX parser logging
 

SAX parser logging

Specifying the SAX parser (SAX) log entry type turns on logging for the SAX parser. The following table lists the message logged as the SAX parser executes.
Table 43. SAX parser logging messages
When logging occurs
What is logged
The AVM initializes the parser.
Initialize parser
The AVM finishes using the parser.
Exiting parser
The AVM finds a callback to run.
Callback internal-routine-name found in super procedure
— or —
Callback internal-routine-name found
The AVM does not find a callback to run.
Callback internal-routine-name not found
For each parameter in a callback, the log message includes the following, depending on the parameter type:
*CHARACTER, MEMPTR (which contains a string), or INTEGER
*If CHARACTER parameter is empty
*HANDLE
parameter parameter-number: value
parameter parameter-number: <null>
parameter parameter-number: <valid-handle>
The following example shows log entries for the SAX parser at logging level 2 (Basic) with headers suppressed:
1 4GL -- Log entry types activated:SAX
2 4GL SAX    Initialize parser
2 4GL SAX    Callback StartDocument not found
2 4GL SAX    Callback StartElement found
2 4GL SAX        parameter 1: <null>
2 4GL SAX        parameter 2: custorders
2 4GL SAX        parameter 3: custorders
2 4GL SAX        parameter 4: <valid handle>
2 4GL SAX    Callback Characters found
2 4GL SAX        parameter 1:
2 4GL SAX        parameter 2: 1
2 4GL SAX    Callback EndElement found
2 4GL SAX        parameter 1: <null>
2 4GL SAX        parameter 2: city
2 4GL SAX        parameter 3: city
2 4GL SAX    Callback EndDocument not found
2 4GL SAX    Exiting parser