Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b1aaa86e
Commit
b1aaa86e
authored
Oct 29, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Trace backend error even when user error handler is not set.
parent
2329d2af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
saxreader.c
dlls/msxml3/saxreader.c
+11
-10
No files found.
dlls/msxml3/saxreader.c
View file @
b1aaa86e
...
...
@@ -1298,15 +1298,6 @@ static void libxmlFatalError(void *ctx, const char *msg, ...)
DWORD
len
;
va_list
args
;
if
(
!
has_error_handler
(
This
))
{
xmlStopParser
(
This
->
pParserCtxt
);
This
->
ret
=
E_FAIL
;
return
;
}
FIXME
(
"Error handling is not compatible.
\n
"
);
va_start
(
args
,
msg
);
vsprintf
(
message
,
msg
,
args
);
va_end
(
args
);
...
...
@@ -1319,6 +1310,16 @@ static void libxmlFatalError(void *ctx, const char *msg, ...)
TRACE
(
"fatal error for %p: %s
\n
"
,
This
,
debugstr_w
(
error
));
}
if
(
!
has_error_handler
(
This
))
{
xmlStopParser
(
This
->
pParserCtxt
);
This
->
ret
=
E_FAIL
;
heap_free
(
error
);
return
;
}
FIXME
(
"Error handling is not compatible.
\n
"
);
if
(
This
->
vbInterface
)
{
BSTR
bstrError
=
SysAllocString
(
error
);
...
...
@@ -1788,7 +1789,7 @@ static HRESULT internal_parseBuffer(saxreader *This, const char *buffer, int siz
locator
->
pParserCtxt
->
userData
=
locator
;
This
->
isParsing
=
TRUE
;
if
(
xmlParseDocument
(
locator
->
pParserCtxt
))
hr
=
E_FAIL
;
if
(
xmlParseDocument
(
locator
->
pParserCtxt
)
==
-
1
)
hr
=
E_FAIL
;
else
hr
=
locator
->
ret
;
This
->
isParsing
=
FALSE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment