Simple C Expat Wrapper (SCEW)  1.1.7
Files | Functions
Expat errors

Routines to access Expat internal error information. More...

Files

file  error.h
 SCEW error handling functions.
 

Functions

SCEW_API enum XML_Error scew_error_expat_code (scew_parser *parser)
 Returns the Expat internal error code. More...
 
SCEW_API XML_Char const * scew_error_expat_string (enum XML_Error code)
 Returns a string describing the internal Expat error for the given error code. More...
 
SCEW_API int scew_error_expat_line (scew_parser *parser)
 Returns the current line at which the error was detected. More...
 
SCEW_API int scew_error_expat_column (scew_parser *parser)
 Returns the current column at which the error was detected. More...
 

Detailed Description

Routines to access Expat internal error information.

Function Documentation

SCEW_API enum XML_Error scew_error_expat_code ( scew_parser parser)

Returns the Expat internal error code.

Returns
the internal Expat error code.
SCEW_API XML_Char const* scew_error_expat_string ( enum XML_Error  code)

Returns a string describing the internal Expat error for the given error code.

Returns
the internal Expat error string for the given error code.
SCEW_API int scew_error_expat_line ( scew_parser parser)

Returns the current line at which the error was detected.

Returns
the line where Expat detected the error.
SCEW_API int scew_error_expat_column ( scew_parser parser)

Returns the current column at which the error was detected.

Returns
the column where Expat detected the error.