mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-23 17:33:50 +03:00
reader: Fix xmlTextReaderReadString
Regressed in commit 7cbf609a
.
Should fix #738.
This commit is contained in:
parent
3c7c831c7c
commit
57004006ae
@ -1754,7 +1754,10 @@ xmlTextReaderReadString(xmlTextReaderPtr reader)
|
||||
switch (node->type) {
|
||||
case XML_TEXT_NODE:
|
||||
case XML_CDATA_SECTION_NODE:
|
||||
break;
|
||||
case XML_ELEMENT_NODE:
|
||||
if (xmlTextReaderDoExpand(reader) == -1)
|
||||
return(NULL);
|
||||
break;
|
||||
case XML_ATTRIBUTE_NODE:
|
||||
/* TODO */
|
||||
|
Loading…
Reference in New Issue
Block a user