mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
The lesson of the day is
"never forget an epsilon transition or DocBook will raise it" - valid.c: forgot an epsilon transition in for ()+ - test/VCM/v21.xml : added a specific test case Daniel
This commit is contained in:
3
valid.c
3
valid.c
@ -3590,7 +3590,8 @@ cont:
|
||||
if ((consumed) && (CONT != NULL) &&
|
||||
(CONT->parent != NULL) &&
|
||||
((CONT->ocur == XML_ELEMENT_CONTENT_MULT) ||
|
||||
(CONT->ocur == XML_ELEMENT_CONTENT_OPT))) {
|
||||
(CONT->ocur == XML_ELEMENT_CONTENT_OPT) ||
|
||||
((CONT->ocur == XML_ELEMENT_CONTENT_PLUS) && (OCCURENCE)))) {
|
||||
DEBUG_VALID_MSG("saving parent branch");
|
||||
vstateVPush(ctxt, CONT, NODE, DEPTH, OCCURS, ROLLBACK_PARENT);
|
||||
}
|
||||
|
Reference in New Issue
Block a user