Skip to content

Commit

Permalink
applied patch from Stéphane Bidoul for structured error reporting. Da…
Browse files Browse the repository at this point in the history
…niel

* error.c: applied patch from Stéphane Bidoul for structured error
  reporting.
Daniel
  • Loading branch information
Daniel Veillard committed Jan 2, 2004
1 parent 2cca446 commit d34b0b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Fri Jan 2 21:22:18 CET 2004 Daniel Veillard <[email protected]>

* error.c: applied patch from St�phane Bidoul for structured error
reporting.

Fri Jan 2 21:03:17 CET 2004 Daniel Veillard <[email protected]>

* include/libxml/xmlwriter.h xmlwriter.c: applied the patch from
Expand Down
3 changes: 3 additions & 0 deletions error.c
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,9 @@ __xmlRaiseError(xmlStructuredErrorFunc schannel,
to->node = node;
to->ctxt = ctx;

if (to != &xmlLastError)
xmlCopyError(to,&xmlLastError);

/*
* Find the callback channel.
*/
Expand Down

0 comments on commit d34b0b8

Please sign in to comment.