[PATCH] handle XML_DOCUMENT_NODE like XML_ATTRIBUTE_NODE.

Marcus Meissner marcus at jet.franken.de
Mon Oct 9 14:19:57 CDT 2006


Hi,

Novell Groupwise Messenger filters for XML_DOCUMENT_NODE for some reason.

Using the same filter as for XML_ATTRIBUTE_NODE seems to work.

Ciao, Marcus
---

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

d6b7c029e2d0e15c774af7846356774c032d3568
diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
index 094af5b..0d38d9c 100644
--- a/dlls/msxml3/node.c
+++ b/dlls/msxml3/node.c
@@ -318,6 +318,7 @@ static HRESULT WINAPI xmlnode_get_childN
         break;
 
     case XML_ATTRIBUTE_NODE:
+    case XML_DOCUMENT_NODE: /* FIXME: not sure if node() is correct for document nodes. */
         *childList = create_filtered_nodelist( This->node->children, (const xmlChar *)"node()", FALSE );
         break;
 
-- 
1.2.4



More information about the wine-patches mailing list