Commit 275dd462 authored by Ilkka Ollakka's avatar Ilkka Ollakka

libxml: return attribute name on ReaderNextAttr

parent d4c31920
......@@ -272,7 +272,7 @@ static const char *ReaderNextAttr( xml_reader_t *p_reader )
{
if( xmlTextReaderMoveToNextAttribute( p_reader->p_sys->xml ) != 1 )
return NULL;
return (const char *)xmlTextReaderConstValue( p_reader->p_sys->xml );
return (const char *)xmlTextReaderConstName( p_reader->p_sys->xml );
}
static int StreamRead( void *p_context, char *p_buffer, int i_buffer )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment