1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

fixing bug #103969 forgot to add an epsilon transition when building the

* valid.c: fixing bug #103969 forgot to add an epsilon transition
  when building the automata for elem*
Daniel
This commit is contained in:
Daniel Veillard
2003-02-04 15:33:12 +00:00
parent 358a98961b
commit 57e79b302b
2 changed files with 7 additions and 0 deletions

View File

@ -544,6 +544,8 @@ xmlValidBuildAContentModel(xmlElementContentPtr content,
case XML_ELEMENT_CONTENT_MULT:
xmlAutomataNewTransition(ctxt->am, ctxt->state,
ctxt->state, fname, NULL);
ctxt->state = xmlAutomataNewEpsilon(ctxt->am, ctxt->state,
NULL);
break;
}
if (QName != NULL)