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
9d662928
Commit
9d662928
authored
Dec 24, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implement element stack and use it in related callbacks.
parent
17f0ee46
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
saxreader.c
dlls/msxml3/saxreader.c
+0
-0
saxreader.c
dlls/msxml3/tests/saxreader.c
+11
-4
No files found.
dlls/msxml3/saxreader.c
View file @
9d662928
This diff is collapsed.
Click to expand it.
dlls/msxml3/tests/saxreader.c
View file @
9d662928
...
@@ -327,8 +327,8 @@ static HRESULT WINAPI contentHandler_putDocumentLocator(
...
@@ -327,8 +327,8 @@ static HRESULT WINAPI contentHandler_putDocumentLocator(
ISAXContentHandler
*
iface
,
ISAXContentHandler
*
iface
,
ISAXLocator
*
pLocator
)
ISAXLocator
*
pLocator
)
{
{
ISAXAttributes
*
attr
;
ISAXAttributes
*
attr
,
*
attr1
;
HRESULT
hr
es
;
HRESULT
hr
;
if
(
!
test_expect_call
(
CH_PUTDOCUMENTLOCATOR
))
if
(
!
test_expect_call
(
CH_PUTDOCUMENTLOCATOR
))
return
E_FAIL
;
return
E_FAIL
;
...
@@ -338,9 +338,16 @@ static HRESULT WINAPI contentHandler_putDocumentLocator(
...
@@ -338,9 +338,16 @@ static HRESULT WINAPI contentHandler_putDocumentLocator(
msxml_version
>=
6
?
expectCall
->
column_v6
:
expectCall
->
column
);
msxml_version
>=
6
?
expectCall
->
column_v6
:
expectCall
->
column
);
if
(
msxml_version
>=
6
)
{
if
(
msxml_version
>=
6
)
{
hres
=
ISAXLocator_QueryInterface
(
pLocator
,
&
IID_ISAXAttributes
,
(
void
**
)
&
attr
);
EXPECT_REF
(
pLocator
,
1
);
ok
(
hres
==
S_OK
,
"QueryInterface failed: %x
\n
"
,
hres
);
hr
=
ISAXLocator_QueryInterface
(
pLocator
,
&
IID_ISAXAttributes
,
(
void
**
)
&
attr
);
EXPECT_HR
(
hr
,
S_OK
);
EXPECT_REF
(
pLocator
,
2
);
hr
=
ISAXLocator_QueryInterface
(
pLocator
,
&
IID_ISAXAttributes
,
(
void
**
)
&
attr1
);
EXPECT_HR
(
hr
,
S_OK
);
EXPECT_REF
(
pLocator
,
3
);
ok
(
attr
==
attr1
,
"got %p, %p
\n
"
,
attr
,
attr1
);
ISAXAttributes_Release
(
attr
);
ISAXAttributes_Release
(
attr
);
ISAXAttributes_Release
(
attr1
);
}
}
return
(
expectCall
++
)
->
ret
;
return
(
expectCall
++
)
->
ret
;
...
...
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