From 7be136bcd5802492d7382765b83b387d87eae1e0 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Sun, 3 Aug 2008 14:37:52 +0200 Subject: [PATCH] msxml3: Add implementation of ISAXAttributes_getURI. --- dlls/msxml3/saxreader.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c index b4e25f24d3d..0cdd0c17d3b 100644 --- a/dlls/msxml3/saxreader.c +++ b/dlls/msxml3/saxreader.c @@ -612,9 +612,15 @@ static HRESULT WINAPI isaxattributes_getURI( int *pUriSize) { saxattributes *This = impl_from_ISAXAttributes( iface ); + TRACE("(%p)->(%d)\n", This, nIndex); - FIXME("(%p)->(%d) stub\n", This, nIndex); - return E_NOTIMPL; + if(nIndex>=This->nb_attributes || nIndex<0) return E_INVALIDARG; + if(!pUrl || !pUriSize) return E_POINTER; + + *pUriSize = SysStringLen(This->szURI[nIndex]); + *pUrl = This->szURI[nIndex]; + + return S_OK; } static HRESULT WINAPI isaxattributes_getLocalName( -- 2.11.4.GIT