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
12bb4a47
Commit
12bb4a47
authored
Nov 16, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Fix get_namespaceURI().
parent
588f27da
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
node.c
dlls/msxml3/node.c
+3
-6
domdoc.c
dlls/msxml3/tests/domdoc.c
+0
-2
No files found.
dlls/msxml3/node.c
View file @
12bb4a47
...
...
@@ -1054,18 +1054,15 @@ HRESULT node_select_singlenode(const xmlnode *This, BSTR query, IXMLDOMNode **no
HRESULT
node_get_namespaceURI
(
xmlnode
*
This
,
BSTR
*
namespaceURI
)
{
xmlNsPtr
*
ns
;
xmlNsPtr
ns
=
This
->
node
->
ns
;
if
(
!
namespaceURI
)
return
E_INVALIDARG
;
*
namespaceURI
=
NULL
;
if
((
ns
=
xmlGetNsList
(
This
->
node
->
doc
,
This
->
node
)))
{
if
(
ns
[
0
]
->
href
)
*
namespaceURI
=
bstr_from_xmlChar
(
ns
[
0
]
->
href
);
xmlFree
(
ns
);
}
if
(
ns
&&
ns
->
href
)
*
namespaceURI
=
bstr_from_xmlChar
(
ns
->
href
);
TRACE
(
"uri: %s
\n
"
,
debugstr_w
(
*
namespaceURI
));
...
...
dlls/msxml3/tests/domdoc.c
View file @
12bb4a47
...
...
@@ -8712,10 +8712,8 @@ static void test_get_prefix(void)
str
=
(
void
*
)
0xdeadbeef
;
hr
=
IXMLDOMElement_get_namespaceURI
(
element
,
&
str
);
todo_wine
{
EXPECT_HR
(
hr
,
S_FALSE
);
ok
(
str
==
NULL
,
"got %s
\n
"
,
wine_dbgstr_w
(
str
));
}
IXMLDOMDocument_Release
(
doc
);
free_bstrs
();
...
...
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