mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-24 21:33:51 +03:00
trying to fix #129692 xmlTextReaderExpand() when using an
* xmlreader.c: trying to fix #129692 xmlTextReaderExpand() when using an xmlReaderWalker() Daniel
This commit is contained in:
parent
a0e7e93464
commit
f40c1ce95d
12
ChangeLog
12
ChangeLog
@ -1,9 +1,13 @@
|
||||
Fri Dec 19 18:24:02 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xmlreader.c: trying to fix #129692 xmlTextReaderExpand() when
|
||||
using an xmlReaderWalker()
|
||||
|
||||
Thu Dec 18 20:10:34 MST 2003 John Fleck <jfleck@inkstain.net>
|
||||
|
||||
* tree.c fix misc. typos in doc comments
|
||||
* include/libxml/tree.h elaborate on macro define doc
|
||||
comments
|
||||
* doc/* rebuild docs
|
||||
* tree.c: fix misc. typos in doc comments
|
||||
* include/libxml/tree.h: elaborate on macro define doc comments
|
||||
* doc/*: rebuild docs
|
||||
|
||||
Wed Dec 17 16:07:33 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
|
@ -1482,10 +1482,12 @@ xmlTextReaderReadState(xmlTextReaderPtr reader) {
|
||||
*/
|
||||
xmlNodePtr
|
||||
xmlTextReaderExpand(xmlTextReaderPtr reader) {
|
||||
if ((reader == NULL) || (reader->node == NULL) || (reader->ctxt == NULL))
|
||||
if ((reader == NULL) || (reader->node == NULL))
|
||||
return(NULL);
|
||||
if (reader->doc != NULL)
|
||||
return(reader->node);
|
||||
if (reader->ctxt == NULL)
|
||||
return(NULL);
|
||||
if (xmlTextReaderDoExpand(reader) < 0)
|
||||
return(NULL);
|
||||
return(reader->node);
|
||||
|
Loading…
Reference in New Issue
Block a user