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
c3fd306f
Commit
c3fd306f
authored
Jul 19, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Accept selection namespaces string with trailing spaces.
parent
09443f14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
domdoc.c
dlls/msxml3/domdoc.c
+3
-0
domdoc.c
dlls/msxml3/tests/domdoc.c
+6
-0
No files found.
dlls/msxml3/domdoc.c
View file @
c3fd306f
...
@@ -2872,6 +2872,9 @@ static HRESULT WINAPI domdoc_setProperty(
...
@@ -2872,6 +2872,9 @@ static HRESULT WINAPI domdoc_setProperty(
while
(
*
pTokEnd
!=
' '
&&
*
pTokEnd
!=
0
)
while
(
*
pTokEnd
!=
' '
&&
*
pTokEnd
!=
0
)
++
pTokEnd
;
++
pTokEnd
;
/* so it failed to advance which means we've got some trailing spaces */
if
(
pTokEnd
==
pTokBegin
)
break
;
if
(
xmlStrncmp
(
pTokBegin
,
(
xmlChar
const
*
)
"xmlns"
,
5
)
!=
0
)
if
(
xmlStrncmp
(
pTokBegin
,
(
xmlChar
const
*
)
"xmlns"
,
5
)
!=
0
)
{
{
hr
=
E_FAIL
;
hr
=
E_FAIL
;
...
...
dlls/msxml3/tests/domdoc.c
View file @
c3fd306f
...
@@ -5738,22 +5738,27 @@ static const selection_ns_t selection_ns_data[] = {
...
@@ -5738,22 +5738,27 @@ static const selection_ns_t selection_ns_data[] = {
{
&
CLSID_DOMDocument
,
"CLSID_DOMDocument"
,
"
\t
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument
,
"CLSID_DOMDocument"
,
"
\t
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument
,
"CLSID_DOMDocument"
,
"
\n\r
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument
,
"CLSID_DOMDocument"
,
"
\n\r
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument
,
"CLSID_DOMDocument"
,
" xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument
,
"CLSID_DOMDocument"
,
" xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument
,
"CLSID_DOMDocument"
,
"xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29' "
,
S_OK
},
{
&
CLSID_DOMDocument2
,
"CLSID_DOMDocument2"
,
"
\t
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument2
,
"CLSID_DOMDocument2"
,
"
\t
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument2
,
"CLSID_DOMDocument2"
,
"
\n\r
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument2
,
"CLSID_DOMDocument2"
,
"
\n\r
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument2
,
"CLSID_DOMDocument2"
,
" xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument2
,
"CLSID_DOMDocument2"
,
" xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument2
,
"CLSID_DOMDocument2"
,
"xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29' "
,
S_OK
},
{
&
CLSID_DOMDocument30
,
"CLSID_DOMDocument30"
,
"
\t
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument30
,
"CLSID_DOMDocument30"
,
"
\t
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument30
,
"CLSID_DOMDocument30"
,
"
\n\r
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument30
,
"CLSID_DOMDocument30"
,
"
\n\r
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument30
,
"CLSID_DOMDocument30"
,
" xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument30
,
"CLSID_DOMDocument30"
,
" xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument30
,
"CLSID_DOMDocument30"
,
"xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29' "
,
S_OK
},
{
&
CLSID_DOMDocument40
,
"CLSID_DOMDocument40"
,
"
\t
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument40
,
"CLSID_DOMDocument40"
,
"
\t
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument40
,
"CLSID_DOMDocument40"
,
"
\n\r
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument40
,
"CLSID_DOMDocument40"
,
"
\n\r
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument40
,
"CLSID_DOMDocument40"
,
" xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument40
,
"CLSID_DOMDocument40"
,
" xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument40
,
"CLSID_DOMDocument40"
,
"xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29' "
,
S_OK
},
{
&
CLSID_DOMDocument60
,
"CLSID_DOMDocument60"
,
"
\t
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument60
,
"CLSID_DOMDocument60"
,
"
\t
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument60
,
"CLSID_DOMDocument60"
,
"
\n\r
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument60
,
"CLSID_DOMDocument60"
,
"
\n\r
xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument60
,
"CLSID_DOMDocument60"
,
" xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument60
,
"CLSID_DOMDocument60"
,
" xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29'"
,
S_OK
},
{
&
CLSID_DOMDocument60
,
"CLSID_DOMDocument60"
,
"xmlns:test='urn:uuid:86B2F87F-ACB6-45cd-8B77-9BDB92A01A29' "
,
S_OK
},
{
NULL
}
{
NULL
}
};
};
...
@@ -6054,6 +6059,7 @@ if (0)
...
@@ -6054,6 +6059,7 @@ if (0)
IXMLDOMDocument2_Release
(
doc
);
IXMLDOMDocument2_Release
(
doc
);
ptr
++
;
ptr
++
;
free_bstrs
();
}
}
free_bstrs
();
free_bstrs
();
...
...
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