Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
64e5a6a2
Commit
64e5a6a2
authored
Mar 27, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Allow to create dummy node map for <?xml ?>.
parent
e5e0b842
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
pi.c
dlls/msxml3/pi.c
+3
-2
domdoc.c
dlls/msxml3/tests/domdoc.c
+7
-2
No files found.
dlls/msxml3/pi.c
View file @
64e5a6a2
...
...
@@ -333,9 +333,10 @@ static HRESULT WINAPI dom_pi_get_attributes(
if
(
!
strcmpW
(
name
,
xmlW
))
{
FIXME
(
"not implemented for <?xml..?> declaration
\n
"
);
FIXME
(
"created dummy map for <?xml ?>
\n
"
);
*
map
=
create_nodemap
(
This
->
node
.
node
);
SysFreeString
(
name
);
return
E_NOTIMPL
;
return
S_OK
;
}
SysFreeString
(
name
);
...
...
dlls/msxml3/tests/domdoc.c
View file @
64e5a6a2
...
...
@@ -9714,9 +9714,14 @@ static void test_get_attributes(void)
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
IXMLDOMNode_get_attributes
(
node
,
&
map
);
todo_wine
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
length
=
-
1
;
hr
=
IXMLDOMNamedNodeMap_get_length
(
map
,
&
length
);
EXPECT_HR
(
hr
,
S_OK
);
todo_wine
ok
(
length
==
1
,
"got %d
\n
"
,
length
);
if
(
hr
==
S_OK
)
if
(
hr
==
S_OK
&&
length
==
1
)
{
IXMLDOMAttribute
*
attr
;
DOMNodeType
type
;
...
...
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