Someone should check if we could make xtag not send ENDELEM for self-closing tags, as libxml doesn't.
if( !p_handler || !p_handler->name
|| strcmp( p_handler->name, psz_name ))
{
- /* FIXME: see #1293
msg_Err( p_demux, "there's no open element left for <%s>",
- psz_name );*/
+ psz_name );
FREE_ATT();
return VLC_FALSE;
}
msg_Warn( p_demux, "invalid \"href\" attribute" );
return VLC_FALSE;
}
+
+ /* fix for #1293 - XTAG sends ENDELEM for self closing tag */
+ /* (libxml sends NONE) */
+ xml_ReaderRead( p_xml_reader );
+
return VLC_TRUE;
}