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
8371784f
Commit
8371784f
authored
Jul 12, 2011
by
Adam Martinson
Committed by
Alexandre Julliard
Jul 13, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Don't cause an assert failure if the datatypes schema doesn't load.
parent
475225c2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
schema.c
dlls/msxml3/schema.c
+10
-1
No files found.
dlls/msxml3/schema.c
View file @
8371784f
...
...
@@ -35,6 +35,7 @@
# include <libxml/parser.h>
# include <libxml/parserInternals.h>
# include <libxml/xmlIO.h>
# include <libxml/xmlversion.h>
#endif
#include "windef.h"
...
...
@@ -624,7 +625,15 @@ HRESULT dt_validate(XDR_DT dt, xmlChar const* content)
case
DT_UI8
:
case
DT_URI
:
case
DT_UUID
:
assert
(
datatypes_schema
!=
NULL
);
if
(
!
datatypes_schema
)
{
ERR
(
"failed to load schema for urn:schemas-microsoft-com:datatypes, "
"you're probably using an old version of libxml2: "
LIBXML_DOTTED_VERSION
"
\n
"
);
/* Hopefully they don't need much in the way of XDR datatypes support... */
return
S_OK
;
}
if
(
content
&&
xmlStrlen
(
content
))
{
tmp_doc
=
xmlNewDoc
(
NULL
);
...
...
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