Re: [libxml++] Unknown encoding crashes DOM Parser





> I wonder if it would be enough to move the _doc initialisation lower,
after
> _context->wellFormed and _context->valid are checked ?
> In other terms, does _context->wellFormed and _context->valid implies
> _context->myDoc ?

I tested this assumption and the answer is no. The program still segfaults
when moving the _doc initialization downward.

Best regards, Peter.





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