Alistair Leslie-Hughes : msxml3: Attribute nodes are not typed.

Alexandre Julliard julliard at winehq.org
Fri Jan 18 06:33:56 CST 2008


Module: wine
Branch: master
Commit: 8c3dd87fa8c045e67652f102731c28cd19588c96
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8c3dd87fa8c045e67652f102731c28cd19588c96

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Fri Jan 18 13:06:31 2008 +1100

msxml3: Attribute nodes are not typed.

---

 dlls/msxml3/node.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
index 2fb6f86..dc53078 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");




More information about the wine-cvs mailing list