XML only treats space, tab, carriage return, and line feed as whitespace

characters.
This commit is contained in:
Michael R Sweet 2007-09-09 08:16:24 +00:00
parent 8395465800
commit 7da48b7de7

View File

@ -136,7 +136,7 @@ static int mxml_get_entity(mxml_node_t *parent, void *p,
static inline int mxml_isspace(int ch)
{
return (ch == ' ' || ch == '\t' || ch == '\r' ||
ch == '\n' || ch == '\f' || ch == '\v');
ch == '\n');
}
static mxml_node_t *mxml_load_data(mxml_node_t *top, void *p,
mxml_load_cb_t cb,