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
6d2f4471
Commit
6d2f4471
authored
Oct 17, 2017
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Fix handling of namespace attributes in WsWriteNode.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
16226c44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
writer.c
dlls/webservices/writer.c
+14
-3
No files found.
dlls/webservices/writer.c
View file @
6d2f4471
...
...
@@ -4472,9 +4472,20 @@ static HRESULT write_set_attributes( struct writer *writer, WS_XML_ATTRIBUTE **a
for
(
i
=
0
;
i
<
count
;
i
++
)
{
if
((
hr
=
write_add_attribute
(
writer
,
attrs
[
i
]
->
prefix
,
attrs
[
i
]
->
localName
,
attrs
[
i
]
->
ns
,
attrs
[
i
]
->
singleQuote
))
!=
S_OK
)
return
hr
;
if
((
hr
=
write_set_attribute_value
(
writer
,
attrs
[
i
]
->
value
))
!=
S_OK
)
return
hr
;
const
WS_XML_STRING
*
prefix
=
attrs
[
i
]
->
prefix
;
const
WS_XML_STRING
*
localname
=
attrs
[
i
]
->
localName
;
const
WS_XML_STRING
*
ns
=
attrs
[
i
]
->
ns
;
BOOL
single
=
attrs
[
i
]
->
singleQuote
;
if
(
attrs
[
i
]
->
isXmlNs
)
{
if
((
hr
=
add_namespace_attribute
(
writer
,
prefix
,
ns
,
single
))
!=
S_OK
)
return
hr
;
}
else
{
if
((
hr
=
write_add_attribute
(
writer
,
prefix
,
localname
,
ns
,
single
))
!=
S_OK
)
return
hr
;
if
((
hr
=
write_set_attribute_value
(
writer
,
attrs
[
i
]
->
value
))
!=
S_OK
)
return
hr
;
}
}
return
S_OK
;
}
...
...
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