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
875c9c71
Commit
875c9c71
authored
Feb 10, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 10, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Accept PI node in on base name request.
parent
3f37e334
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
node.c
dlls/msxml3/node.c
+9
-8
domdoc.c
dlls/msxml3/tests/domdoc.c
+7
-0
No files found.
dlls/msxml3/node.c
View file @
875c9c71
...
...
@@ -250,16 +250,16 @@ static HRESULT WINAPI xmlnode_get_nodeName(
str
=
(
const
xmlChar
*
)
"#document-fragment"
;
break
;
case
XML_TEXT_NODE
:
str
=
(
const
xmlChar
*
)
"#text"
;
break
;
str
=
(
const
xmlChar
*
)
"#text"
;
break
;
case
XML_DOCUMENT_NODE
:
str
=
(
const
xmlChar
*
)
"#document"
;
break
;
case
XML_ATTRIBUTE_NODE
:
case
XML_ELEMENT_NODE
:
case
XML_PI_NODE
:
str
=
(
const
xmlChar
*
)
"#document"
;
break
;
case
XML_ATTRIBUTE_NODE
:
case
XML_ELEMENT_NODE
:
case
XML_PI_NODE
:
str
=
This
->
node
->
name
;
break
;
break
;
default:
FIXME
(
"nodeName not mapped correctly (%d)
\n
"
,
This
->
node
->
type
);
str
=
This
->
node
->
name
;
...
...
@@ -1622,6 +1622,7 @@ static HRESULT WINAPI xmlnode_get_baseName(
{
case
XML_ELEMENT_NODE
:
case
XML_ATTRIBUTE_NODE
:
case
XML_PI_NODE
:
str
=
bstr_from_xmlChar
(
This
->
node
->
name
);
r
=
S_OK
;
break
;
...
...
dlls/msxml3/tests/domdoc.c
View file @
875c9c71
...
...
@@ -1032,6 +1032,13 @@ static void test_domdoc( void )
ok
(
!
lstrcmpW
(
str
,
_bstr_
(
"xml"
)
),
"incorrect nodeName string
\n
"
);
SysFreeString
(
str
);
/* test baseName */
str
=
(
BSTR
)
0x1
;
r
=
IXMLDOMProcessingInstruction_get_baseName
(
nodePI
,
&
str
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
ok
(
!
lstrcmpW
(
str
,
_bstr_
(
"xml"
)
),
"incorrect nodeName string
\n
"
);
SysFreeString
(
str
);
/* test Target */
r
=
IXMLDOMProcessingInstruction_get_target
(
nodePI
,
&
str
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
...
...
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