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
09f37192
Commit
09f37192
authored
Feb 11, 2014
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xmllite: Don't fail if standalone declaration is missing.
parent
376eff51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
reader.c
dlls/xmllite/reader.c
+1
-1
reader.c
dlls/xmllite/tests/reader.c
+0
-3
No files found.
dlls/xmllite/reader.c
View file @
09f37192
...
@@ -1134,7 +1134,7 @@ static HRESULT reader_parse_sddecl(xmlreader *reader)
...
@@ -1134,7 +1134,7 @@ static HRESULT reader_parse_sddecl(xmlreader *reader)
UINT
start
;
UINT
start
;
HRESULT
hr
;
HRESULT
hr
;
if
(
!
reader_skipspaces
(
reader
))
return
WC_E_WHITESPAC
E
;
if
(
!
reader_skipspaces
(
reader
))
return
S_FALS
E
;
if
(
reader_cmp
(
reader
,
standaloneW
))
return
S_FALSE
;
if
(
reader_cmp
(
reader
,
standaloneW
))
return
S_FALSE
;
reader_init_strvalue
(
reader_get_cur
(
reader
),
10
,
&
name
);
reader_init_strvalue
(
reader_get_cur
(
reader
),
10
,
&
name
);
...
...
dlls/xmllite/tests/reader.c
View file @
09f37192
...
@@ -760,16 +760,13 @@ todo_wine {
...
@@ -760,16 +760,13 @@ todo_wine {
type
=
-
1
;
type
=
-
1
;
hr
=
IXmlReader_Read
(
reader
,
&
type
);
hr
=
IXmlReader_Read
(
reader
,
&
type
);
todo_wine
ok
(
hr
==
S_OK
,
"expected S_OK, got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"expected S_OK, got %08x
\n
"
,
hr
);
todo_wine
ok
(
type
==
XmlNodeType_XmlDeclaration
,
"expected XmlDeclaration, got %s
\n
"
,
type_to_str
(
type
));
ok
(
type
==
XmlNodeType_XmlDeclaration
,
"expected XmlDeclaration, got %s
\n
"
,
type_to_str
(
type
));
ok_pos
(
reader
,
1
,
3
,
1
,
21
,
TRUE
);
ok_pos
(
reader
,
1
,
3
,
1
,
21
,
TRUE
);
test_read_state
(
reader
,
XmlReadState_Interactive
,
-
1
,
TRUE
);
test_read_state
(
reader
,
XmlReadState_Interactive
,
-
1
,
TRUE
);
hr
=
IXmlReader_GetValue
(
reader
,
&
val
,
NULL
);
hr
=
IXmlReader_GetValue
(
reader
,
&
val
,
NULL
);
ok
(
hr
==
S_OK
,
"expected S_OK, got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"expected S_OK, got %08x
\n
"
,
hr
);
todo_wine
ok
(
*
val
==
0
,
"got %s
\n
"
,
wine_dbgstr_w
(
val
));
ok
(
*
val
==
0
,
"got %s
\n
"
,
wine_dbgstr_w
(
val
));
/* check attributes */
/* check attributes */
...
...
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