Re: [xml] [Bug 143739] - incorrect line numbers in well-formedness error message



On Fri, 2004-07-02 at 13:50, R. Steven Rainwater wrote:
On Fri, 2004-07-02 at 04:01, Daniel Veillard wrote:
Now all error messages display the same, incorrect line number:
Well-formedness Error [line 65535]: Char 0xD96B out of allowed range

Bill Brack emailed some sample code for a workaround in which the
correct line number is obtained from the file info rather than the node
structure. I've implemented this and it seems to be working fine with
line numbers over 65535. Thanks!

Bill also suggested I look into using the new structured error handler.
Can someone point me to some sample code that uses it?

-Steve





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