1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

fixed a bug pointed out by Stphane Bidoul and integrated it into the

* xmlreader.c python/tests/reader.py: fixed a bug pointed out
  by Stphane Bidoul and integrated it into the tests
Daniel
This commit is contained in:
Daniel Veillard
2002-12-29 11:14:41 +00:00
parent e18fc185fa
commit 29b3e285a7
3 changed files with 36 additions and 0 deletions

View File

@ -349,6 +349,7 @@ xmlTextReaderRead(xmlTextReaderPtr reader) {
fprintf(stderr, "\nREAD ");
DUMP_READER
#endif
reader->curnode = NULL;
if (reader->mode == XML_TEXTREADER_MODE_INITIAL) {
reader->mode = XML_TEXTREADER_MODE_INTERACTIVE;
/*