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
f9c3a51f
Commit
f9c3a51f
authored
Apr 16, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Fix end prefix iteration for SAXXMLReader40.
parent
ad1d7450
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
saxreader.c
dlls/msxml3/saxreader.c
+1
-1
saxreader.c
dlls/msxml3/tests/saxreader.c
+2
-3
No files found.
dlls/msxml3/saxreader.c
View file @
f9c3a51f
...
...
@@ -377,7 +377,7 @@ static inline BOOL sax_callback_failed(saxlocator *This, HRESULT hr)
/* index value -1 means it tries to loop for a first time */
static
inline
BOOL
iterate_endprefix_index
(
saxlocator
*
This
,
const
element_entry
*
element
,
int
*
i
)
{
if
(
This
->
saxreader
->
version
>=
MSXML
6
)
if
(
This
->
saxreader
->
version
>=
MSXML
4
)
{
if
(
*
i
==
-
1
)
*
i
=
0
;
else
++*
i
;
return
*
i
<
element
->
ns_count
;
...
...
dlls/msxml3/tests/saxreader.c
View file @
f9c3a51f
...
...
@@ -1844,9 +1844,8 @@ static void test_saxreader(void)
hr
=
ISAXXMLReader_parse
(
reader
,
var
);
EXPECT_HR
(
hr
,
S_OK
);
if
(
IsEqualGUID
(
table
->
clsid
,
&
CLSID_SAXXMLReader40
))
ok_sequence
(
sequences
,
CONTENT_HANDLER_INDEX
,
test_seq
,
"content test attributes"
,
TRUE
);
else
if
(
IsEqualGUID
(
table
->
clsid
,
&
CLSID_SAXXMLReader60
))
if
(
IsEqualGUID
(
table
->
clsid
,
&
CLSID_SAXXMLReader40
)
||
IsEqualGUID
(
table
->
clsid
,
&
CLSID_SAXXMLReader60
))
ok_sequence
(
sequences
,
CONTENT_HANDLER_INDEX
,
test_seq
,
"content test attributes"
,
FALSE
);
else
ok_sequence
(
sequences
,
CONTENT_HANDLER_INDEX
,
test_seq
,
"content test attributes"
,
TRUE
);
...
...
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