summaryrefslogtreecommitdiff
path: root/valid.c
diff options
context:
space:
mode:
Diffstat (limited to 'valid.c')
-rw-r--r--valid.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/valid.c b/valid.c
index b2eb375..378338b 100644
--- a/valid.c
+++ b/valid.c
@@ -661,10 +661,10 @@ xmlValidBuildAContentModel(xmlElementContentPtr content,
ctxt->state, fullname, NULL);
break;
case XML_ELEMENT_CONTENT_MULT:
- xmlAutomataNewTransition(ctxt->am, ctxt->state,
- ctxt->state, fullname, NULL);
- ctxt->state = xmlAutomataNewEpsilon(ctxt->am, ctxt->state,
- NULL);
+ ctxt->state = xmlAutomataNewEpsilon(ctxt->am,
+ ctxt->state, NULL);
+ xmlAutomataNewTransition(ctxt->am,
+ ctxt->state, ctxt->state, fullname, NULL);
break;
}
if ((fullname != fn) && (fullname != content->name))