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
0414332b
Commit
0414332b
authored
Oct 27, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xmllite: Return success when setting XmlReaderProperty_MaxElementDepth property.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
10026466
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
reader.c
dlls/xmllite/reader.c
+3
-0
reader.c
dlls/xmllite/tests/reader.c
+3
-0
No files found.
dlls/xmllite/reader.c
View file @
0414332b
...
...
@@ -2600,6 +2600,9 @@ static HRESULT WINAPI xmlreader_SetProperty(IXmlReader* iface, UINT property, LO
if
(
value
<
0
||
value
>
_DtdProcessing_Last
)
return
E_INVALIDARG
;
This
->
dtdmode
=
value
;
break
;
case
XmlReaderProperty_MaxElementDepth
:
FIXME
(
"Ignoring MaxElementDepth %ld
\n
"
,
value
);
break
;
default:
FIXME
(
"Unimplemented property (%u)
\n
"
,
property
);
return
E_NOTIMPL
;
...
...
dlls/xmllite/tests/reader.c
View file @
0414332b
...
...
@@ -1796,6 +1796,9 @@ static void test_reader_properties(void)
hr
=
IXmlReader_SetProperty
(
reader
,
XmlReaderProperty_MultiLanguage
,
0
);
ok
(
hr
==
S_OK
,
"SetProperty failed: %08x
\n
"
,
hr
);
hr
=
IXmlReader_SetProperty
(
reader
,
XmlReaderProperty_MaxElementDepth
,
0
);
ok
(
hr
==
S_OK
,
"SetProperty failed: %08x
\n
"
,
hr
);
IXmlReader_Release
(
reader
);
}
...
...
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