Skip to content

Commit c5a8aef

Browse files
committed
error: Refactor error reporting
Introduce xmlStrVASPrintf, trying to handle buggy snprintf implementations. Introduce xmlSetError to set errors atomically. Introduce xmlUpdateError to set an error, fixing up node, file and line. Introduce helper function xmlRaiseMemoryError. Make legacy error handlers call xmlReportError, avoiding checks in xmlVRaiseError. Remove fragile support for getting file and line info from XInclude nodes.
1 parent ed3ad3e commit c5a8aef

File tree

6 files changed

+416
-424
lines changed

6 files changed

+416
-424
lines changed

0 commit comments

Comments
 (0)