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
7c44c65e
Commit
7c44c65e
authored
Mar 07, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xmllite/reader: Return proper name for xml declaration PI.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3f50319e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
reader.c
dlls/xmllite/reader.c
+2
-2
reader.c
dlls/xmllite/tests/reader.c
+6
-1
No files found.
dlls/xmllite/reader.c
View file @
7c44c65e
...
...
@@ -1299,8 +1299,8 @@ static HRESULT reader_parse_xmldecl(xmlreader *reader)
reader_skipn
(
reader
,
2
);
reader
->
nodetype
=
XmlNodeType_XmlDeclaration
;
reader_set_strvalue
(
reader
,
StringValue_LocalName
,
&
strval_
empty
);
reader_set_strvalue
(
reader
,
StringValue_QualifiedName
,
&
strval_
empty
);
reader_set_strvalue
(
reader
,
StringValue_LocalName
,
&
strval_
xml
);
reader_set_strvalue
(
reader
,
StringValue_QualifiedName
,
&
strval_
xml
);
reader_set_strvalue
(
reader
,
StringValue_Value
,
&
strval_empty
);
return
S_OK
;
...
...
dlls/xmllite/tests/reader.c
View file @
7c44c65e
...
...
@@ -869,9 +869,14 @@ todo_wine {
ok
(
hr
==
S_OK
,
"expected S_OK, got %08x
\n
"
,
hr
);
ok
(
*
val
==
0
,
"got %s
\n
"
,
wine_dbgstr_w
(
val
));
val
=
NULL
;
hr
=
IXmlReader_GetLocalName
(
reader
,
&
val
,
NULL
);
ok
(
hr
==
S_OK
,
"expected S_OK, got %08x
\n
"
,
hr
);
todo_wine
ok
(
!
lstrcmpW
(
val
,
xmlW
),
"got %s
\n
"
,
wine_dbgstr_w
(
val
));
val
=
NULL
;
hr
=
IXmlReader_GetQualifiedName
(
reader
,
&
val
,
NULL
);
ok
(
hr
==
S_OK
,
"expected S_OK, got %08x
\n
"
,
hr
);
ok
(
!
lstrcmpW
(
val
,
xmlW
),
"got %s
\n
"
,
wine_dbgstr_w
(
val
));
/* 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