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
54d949fb
Commit
54d949fb
authored
Nov 24, 2010
by
Adam Martinson
Committed by
Alexandre Julliard
Nov 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Fix a few error messages.
parent
2f0e73f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
domdoc.c
dlls/msxml3/domdoc.c
+9
-3
schema.c
dlls/msxml3/schema.c
+2
-0
No files found.
dlls/msxml3/domdoc.c
View file @
54d949fb
...
...
@@ -2656,9 +2656,15 @@ static HRESULT WINAPI domdoc_validateNode(
{
++
validated
;
/* TODO: get a real error code here */
TRACE
(
"schema validation failed
\n
"
);
if
(
hr
!=
S_OK
)
if
(
hr
==
S_OK
)
{
TRACE
(
"schema validation succeeded
\n
"
);
}
else
{
ERR
(
"schema validation failed
\n
"
);
err_code
=
E_XML_INVALID
;
}
}
else
{
...
...
@@ -2669,7 +2675,7 @@ static HRESULT WINAPI domdoc_validateNode(
if
(
!
validated
)
{
TRACE
(
"no DTD or schema found
\n
"
);
ERR
(
"no DTD or schema found
\n
"
);
err_code
=
E_XML_NODTD
;
hr
=
S_FALSE
;
}
...
...
dlls/msxml3/schema.c
View file @
54d949fb
...
...
@@ -1356,6 +1356,8 @@ HRESULT SchemaCache_validate_tree(IXMLDOMSchemaCollection2* iface, xmlNodePtr tr
* do we try to load from that? */
if
(
schema
)
return
Schema_validate_tree
(
schema
,
tree
);
else
WARN
(
"no schema found for xmlns=%s
\n
"
,
get_node_nsURI
(
tree
));
return
E_FAIL
;
}
...
...
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