xml-error

Name

xml-error —

Synopsis



void        xmlParserError                  (void *ctx,
                                             const char *msg,
                                             ...);
void        xmlParserWarning                (void *ctx,
                                             const char *msg,
                                             ...);
void        xmlParserValidityError          (void *ctx,
                                             const char *msg,
                                             ...);
void        xmlParserValidityWarning        (void *ctx,
                                             const char *msg,
                                             ...);
void        xmlParserPrintFileInfo          (xmlParserInputPtr input);
void        xmlParserPrintFileContext       (xmlParserInputPtr input);

Description

Details

xmlParserError ()

void        xmlParserError                  (void *ctx,
                                             const char *msg,
                                             ...);

Display and format an error messages, gives file, line, position and extra parameters.

ctx : an XML parser context
msg : the message to display/transmit
... : extra parameters for the message display


xmlParserWarning ()

void        xmlParserWarning                (void *ctx,
                                             const char *msg,
                                             ...);

Display and format a warning messages, gives file, line, position and extra parameters.

ctx : an XML parser context
msg : the message to display/transmit
... : extra parameters for the message display


xmlParserValidityError ()

void        xmlParserValidityError          (void *ctx,
                                             const char *msg,
                                             ...);

Display and format an validity error messages, gives file, line, position and extra parameters.

ctx : 
msg : 
... : 


xmlParserValidityWarning ()

void        xmlParserValidityWarning        (void *ctx,
                                             const char *msg,
                                             ...);

Display and format a validity warning messages, gives file, line, position and extra parameters.

ctx : 
msg : 
... : 


xmlParserPrintFileInfo ()

void        xmlParserPrintFileInfo          (xmlParserInputPtr input);

Displays the associated file and line informations for the current input

input : an xmlParserInputPtr input


xmlParserPrintFileContext ()

void        xmlParserPrintFileContext       (xmlParserInputPtr input);

Displays current context within the input content for error tracking

input : an xmlParserInputPtr input