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
a1f5fef8
Commit
a1f5fef8
authored
Feb 28, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Feb 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implement IXMLDOMComment_get_nodeValue.
parent
84a5eca2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
node.c
dlls/msxml3/node.c
+1
-0
domdoc.c
dlls/msxml3/tests/domdoc.c
+7
-0
No files found.
dlls/msxml3/node.c
View file @
a1f5fef8
...
...
@@ -251,6 +251,7 @@ static HRESULT WINAPI xmlnode_get_nodeValue(
switch
(
This
->
node
->
type
)
{
case
XML_COMMENT_NODE
:
case
XML_PI_NODE
:
case
XML_ATTRIBUTE_NODE
:
{
...
...
dlls/msxml3/tests/domdoc.c
View file @
a1f5fef8
...
...
@@ -2098,6 +2098,13 @@ static void test_xmlTypes(void)
hr
=
IXMLDOMComment_put_data
(
pComment
,
_bstr_
(
"This &is a ; test <>
\\
"
));
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
/* get data Tests */
hr
=
IXMLDOMComment_get_nodeValue
(
pComment
,
&
v
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
V_VT
(
&
v
)
==
VT_BSTR
,
"incorrect dataType type
\n
"
);
ok
(
!
lstrcmpW
(
V_BSTR
(
&
v
),
_bstr_
(
"This &is a ; test <>
\\
"
)
),
"incorrect get_nodeValue string
\n
"
);
VariantClear
(
&
v
);
/* Confirm XML text is good */
hr
=
IXMLDOMComment_get_xml
(
pComment
,
&
str
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
...
...
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