msxml3: Add missing values for get_nodeName.
This commit is contained in:
parent
300191d58c
commit
0a80e7c04e
|
@ -159,13 +159,27 @@ static HRESULT WINAPI xmlnode_get_nodeName(
|
||||||
|
|
||||||
switch( This->node->type )
|
switch( This->node->type )
|
||||||
{
|
{
|
||||||
case XML_TEXT_NODE:
|
case XML_CDATA_SECTION_NODE:
|
||||||
str = (const xmlChar*) "#text";
|
str = (const xmlChar*) "#cdata-section";
|
||||||
break;
|
break;
|
||||||
|
case XML_COMMENT_NODE:
|
||||||
|
str = (const xmlChar*) "#comment";
|
||||||
|
break;
|
||||||
|
case XML_DOCUMENT_FRAG_NODE:
|
||||||
|
str = (const xmlChar*) "#document-fragment";
|
||||||
|
break;
|
||||||
|
case XML_TEXT_NODE:
|
||||||
|
str = (const xmlChar*) "#text";
|
||||||
|
break;
|
||||||
case XML_DOCUMENT_NODE:
|
case XML_DOCUMENT_NODE:
|
||||||
str = (const xmlChar*) "#document";
|
str = (const xmlChar*) "#document";
|
||||||
break;
|
break;
|
||||||
|
case XML_ATTRIBUTE_NODE:
|
||||||
|
case XML_ELEMENT_NODE:
|
||||||
|
str = This->node->name;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
|
FIXME("nodeName not mapped correctly (%d)\n", This->node->type);
|
||||||
str = This->node->name;
|
str = This->node->name;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue