[xml] xmlError struct

Title: xmlError struct

This is possibly a simple problem; I want to return the line that an error occurred and maybe even the exact location. xmlError struct defines int line; Whenever I log an error with my xmlGenericErrorFunc, I use

xmlLastError to get that errors info. The xmlError (level,code,domain,message) are correct, but xmlLastError.line is always = 1;

I created a simple console program to view the output of the std error messages given from ParseDoc, and they all correspond to the above except for the line numbers.

Charles Floyd

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]