Add a missing xml text reader call

* src/abg-reader.cc (read_corpus_from_input): Add the necessary
	call to xmlTextReaderNext call after the xmlTextReaderExpand call.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2015-10-15 12:44:30 +02:00
parent 093bc5da06
commit 143263c446

View File

@ -1528,6 +1528,10 @@ read_corpus_from_input(read_context& ctxt)
corp.set_origin(corpus::NATIVE_XML_ORIGIN);
// This is the necessary counter-part of the xmlTextReaderExpand()
// call at the beginning of the function.
xmlTextReaderNext(reader.get());
return ctxt.get_corpus();;
}