Commit 31f25084 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

dash: remove unused XML validator

parent cc47781e
...@@ -39,7 +39,6 @@ using namespace dash::mpd; ...@@ -39,7 +39,6 @@ using namespace dash::mpd;
DOMParser::DOMParser (stream_t *stream) : DOMParser::DOMParser (stream_t *stream) :
root( NULL ), root( NULL ),
stream( stream ), stream( stream ),
vlc_xml( NULL ),
vlc_reader( NULL ) vlc_reader( NULL )
{ {
} }
...@@ -49,8 +48,6 @@ DOMParser::~DOMParser () ...@@ -49,8 +48,6 @@ DOMParser::~DOMParser ()
delete this->root; delete this->root;
if(this->vlc_reader) if(this->vlc_reader)
xml_ReaderDelete(this->vlc_reader); xml_ReaderDelete(this->vlc_reader);
if ( this->vlc_xml )
xml_Delete( this->vlc_xml );
} }
Node* DOMParser::getRootNode () Node* DOMParser::getRootNode ()
...@@ -59,12 +56,7 @@ Node* DOMParser::getRootNode () ...@@ -59,12 +56,7 @@ Node* DOMParser::getRootNode ()
} }
bool DOMParser::parse () bool DOMParser::parse ()
{ {
this->vlc_xml = xml_Create(this->stream); this->vlc_reader = xml_ReaderCreate(this->stream, this->stream);
if(!this->vlc_xml)
return false;
this->vlc_reader = xml_ReaderCreate(this->vlc_xml, this->stream);
if(!this->vlc_reader) if(!this->vlc_reader)
return false; return false;
......
...@@ -54,7 +54,6 @@ namespace dash ...@@ -54,7 +54,6 @@ namespace dash
Node *root; Node *root;
stream_t *stream; stream_t *stream;
xml_t *vlc_xml;
xml_reader_t *vlc_reader; xml_reader_t *vlc_reader;
Node* processNode (); Node* processNode ();
......
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