[PATCH] Attribute nodes are not typed
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Thu Jan 17 20:06:31 CST 2008
---
dlls/msxml3/node.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
index 2fb6f86..575e3f5 100644
--- a/dlls/msxml3/node.c
+++ b/dlls/msxml3/node.c
@@ -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");
--
1.5.3.7
--------------010007070700030903000905--
More information about the wine-patches
mailing list