msxml3: Correct get_nodeValue for PI Nodes.

This commit is contained in:
Alistair Leslie-Hughes 2008-02-20 22:34:01 +11:00 committed by Alexandre Julliard
parent 55165f87cc
commit a2debce7c5
1 changed files with 2 additions and 1 deletions

View File

@ -251,6 +251,7 @@ static HRESULT WINAPI xmlnode_get_nodeValue(
switch ( This->node->type ) switch ( This->node->type )
{ {
case XML_PI_NODE:
case XML_ATTRIBUTE_NODE: case XML_ATTRIBUTE_NODE:
{ {
xmlChar *content = xmlNodeGetContent(This->node); xmlChar *content = xmlNodeGetContent(This->node);
@ -269,7 +270,7 @@ static HRESULT WINAPI xmlnode_get_nodeValue(
case XML_DOCUMENT_NODE: case XML_DOCUMENT_NODE:
/* these seem to return NULL */ /* these seem to return NULL */
break; break;
case XML_PI_NODE:
default: default:
FIXME("node %p type %d\n", This, This->node->type); FIXME("node %p type %d\n", This, This->node->type);
} }