msxml3: Attribute nodes are not typed.

This commit is contained in:
Alistair Leslie-Hughes 2008-01-18 13:06:31 +11:00 committed by Alexandre Julliard
parent 71e0e1ca63
commit 8c3dd87fa8
1 changed files with 1 additions and 4 deletions

View File

@ -821,16 +821,13 @@ static HRESULT WINAPI xmlnode_get_dataType(
if(!dataTypeName)
return E_INVALIDARG;
/* CDATA Section, Comment, Document, Document Fragment,
/* Attribute, CDATA Section, Comment, Document, Document Fragment,
Entity, Notation, PI, and Text Node are non-typed. */
V_BSTR(dataTypeName) = NULL;
V_VT(dataTypeName) = VT_NULL;
switch ( This->node->type )
{
case XML_ATTRIBUTE_NODE:
FIXME("NODE_ATTRIBUTE_NODE should return a valid value.\n");
break;
case XML_ELEMENT_NODE:
pVal = xmlGetNsProp(This->node, (xmlChar*)"dt",
(xmlChar*)"urn:schemas-microsoft-com:datatypes");