mirror of
https://github.com/michaelrsweet/mxml.git
synced 2025-07-03 17:12:08 +00:00
Propagate element errors (STR #46)
This commit is contained in:
parent
7f26d51318
commit
207782c809
2
CHANGES
2
CHANGES
@ -3,6 +3,8 @@ CHANGES - 2007-09-09
|
|||||||
|
|
||||||
CHANGES IN Mini-XML 2.3.1
|
CHANGES IN Mini-XML 2.3.1
|
||||||
|
|
||||||
|
- mxmlLoad*() did not return NULL when an element contained
|
||||||
|
an error (STR #46)
|
||||||
- Added support for the apos character entity (STR #54)
|
- Added support for the apos character entity (STR #54)
|
||||||
- Fixed whitespace detection with Unicode characters (STR
|
- Fixed whitespace detection with Unicode characters (STR
|
||||||
#48)
|
#48)
|
||||||
|
@ -1986,7 +1986,10 @@ mxml_load_data(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mxml_isspace(ch))
|
if (mxml_isspace(ch))
|
||||||
ch = mxml_parse_element(node, p, &encoding, getc_cb);
|
{
|
||||||
|
if ((ch = mxml_parse_element(node, p, &encoding, getc_cb)) == EOF)
|
||||||
|
goto error;
|
||||||
|
}
|
||||||
else if (ch == '/')
|
else if (ch == '/')
|
||||||
{
|
{
|
||||||
if ((ch = (*getc_cb)(p, &encoding)) != '>')
|
if ((ch = (*getc_cb)(p, &encoding)) != '>')
|
||||||
|
Loading…
Reference in New Issue
Block a user