From 25168401af6b56a7690089dbf96420f70ced1d00 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Wed, 30 Jul 2008 20:27:25 +0200 Subject: [PATCH] msxml3: Added ISAXAttributes_getValue implementation. --- dlls/msxml3/saxreader.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c index e57bf6c95c5..5a64e2b6424 100644 --- a/dlls/msxml3/saxreader.c +++ b/dlls/msxml3/saxreader.c @@ -382,9 +382,14 @@ static HRESULT WINAPI isaxattributes_getValue( int *nValue) { 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) return E_INVALIDARG; + + *nValue = SysStringLen(This->szValue[nIndex]); + *pValue = This->szValue[nIndex]; + + return S_OK; } static HRESULT WINAPI isaxattributes_getValueFromName( @@ -544,8 +549,6 @@ static void libxmlStartElementNS( HRESULT hr; saxattributes *attr; - FIXME("Arguments processing not yet implemented.\n"); - update_position(This, (xmlChar*)This->pParserCtxt->input->cur+1); if(This->saxreader->contentHandler)