Commit 5963aa79 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

applied fix for xmlTextReaderNext() bug from Rob Richards Daniel

* xmlreader.c: applied fix for xmlTextReaderNext() bug from
  Rob Richards
Daniel
parent ff4c1852
Thu Mar 10 13:22:36 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlreader.c: applied fix for xmlTextReaderNext() bug from
Rob Richards
Thu Mar 10 11:35:57 CET 2005 Daniel Veillard <daniel@veillard.com>
 
* xmlmodule.c: second patch from Rick Jones, portability fix for
......
......@@ -1589,7 +1589,7 @@ xmlTextReaderNext(xmlTextReaderPtr reader) {
cur = reader->node;
if ((cur == NULL) || (cur->type != XML_ELEMENT_NODE))
return(xmlTextReaderRead(reader));
if (reader->state == XML_TEXTREADER_END)
if (reader->state == XML_TEXTREADER_END || reader->state == XML_TEXTREADER_BACKTRACK)
return(xmlTextReaderRead(reader));
if (cur->extra & NODE_IS_EMPTY)
return(xmlTextReaderRead(reader));
......
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