Nikolay Sivov : msxml3: Implement endElement() for writer' s IVBSAXContentHandler.

Alexandre Julliard julliard at winehq.org
Thu Mar 6 13:40:51 CST 2014


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Mar  6 09:22:38 2014 +0400

msxml3: Implement endElement() for writer's IVBSAXContentHandler.

---

 dlls/msxml3/mxwriter.c |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/dlls/msxml3/mxwriter.c b/dlls/msxml3/mxwriter.c
index b0765c0..01e21a7 100644
--- a/dlls/msxml3/mxwriter.c
+++ b/dlls/msxml3/mxwriter.c
@@ -2112,8 +2112,16 @@ static HRESULT WINAPI VBSAXContentHandler_endElement(IVBSAXContentHandler *iface
     BSTR *localName, BSTR *QName)
 {
     mxwriter *This = impl_from_IVBSAXContentHandler( iface );
-    FIXME("(%p)->(%p %p %p): stub\n", This, namespaceURI, localName, QName);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%p %p %p)\n", This, namespaceURI, localName, QName);
+
+    if (!namespaceURI || !localName || !QName)
+        return E_POINTER;
+
+    return ISAXContentHandler_endElement(&This->ISAXContentHandler_iface,
+        *namespaceURI, SysStringLen(*namespaceURI),
+        *localName, SysStringLen(*localName),
+        *QName, SysStringLen(*QName));
 }
 
 static HRESULT WINAPI VBSAXContentHandler_characters(IVBSAXContentHandler *iface, BSTR *chars)




More information about the wine-cvs mailing list