Do not crash

master
Yevgen Muntyan 2006-08-26 06:16:29 -05:00
parent ee935c3a0b
commit dfe6411611
1 changed files with 6 additions and 0 deletions

View File

@ -313,6 +313,12 @@ create_definition (ParserState *parser_state,
{
xmlAttr *attribute;
if (child->type != XML_READER_TYPE_ELEMENT)
{
child = child->next;
continue;
}
/* FIXME: add PCRE_EXTRA support in EggRegex */
flags = parser_state->regex_compile_flags;