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
f4f71986
Commit
f4f71986
authored
Nov 18, 2009
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implemented xmlnode_get_nodeTypedValue 'i1' data type handling.
parent
eed649a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
node.c
dlls/msxml3/node.c
+2
-0
domdoc.c
dlls/msxml3/tests/domdoc.c
+14
-0
No files found.
dlls/msxml3/node.c
View file @
f4f71986
...
...
@@ -1035,6 +1035,8 @@ inline HRESULT VARIANT_from_xmlChar(xmlChar *str, VARIANT *v, BSTR type)
V_VT
(
v
)
=
VT_CY
;
else
if
(
!
lstrcmpiW
(
type
,
szBoolean
))
V_VT
(
v
)
=
VT_BOOL
;
else
if
(
!
lstrcmpiW
(
type
,
szI1
))
V_VT
(
v
)
=
VT_I1
;
else
{
FIXME
(
"Type handling not yet implemented
\n
"
);
...
...
dlls/msxml3/tests/domdoc.c
View file @
f4f71986
...
...
@@ -161,6 +161,7 @@ static const CHAR szTypeValueXML[] =
" <date dt:dt=
\"
date
\"
>3721-11-01</date>
\n
"
" <time dt:dt=
\"
time
\"
>13:57:12.31321</time>
\n
"
" <timetz dt:dt=
\"
time.tz
\"
>23:21:01.13+03:21</timetz>
\n
"
" <i1 dt:dt=
\"
i1
\"
>-13</i1>
\n
"
"</root>"
;
static
const
CHAR
szBasicTransformSSXMLPart1
[]
=
...
...
@@ -4159,6 +4160,19 @@ static void test_NodeTypeValue(void)
IXMLDOMNode_Release
(
pNode
);
}
hr
=
IXMLDOMDocument2_selectSingleNode
(
doc
,
_bstr_
(
"root/i1"
),
&
pNode
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
{
hr
=
IXMLDOMNode_get_nodeTypedValue
(
pNode
,
&
v
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
V_VT
(
&
v
)
==
VT_I1
,
"incorrect type
\n
"
);
ok
(
V_I1
(
&
v
)
==
-
13
,
"incorrect value
\n
"
);
VariantClear
(
&
v
);
IXMLDOMNode_Release
(
pNode
);
}
}
IXMLDOMDocument2_Release
(
doc
);
...
...
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