mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
small enhancement to dtd handling of (a?)+ (bug 142487)
* parser.c: small enhancement to dtd handling of (a?)+ (bug 142487)
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
Fri May 14 11:48:33 HKT 2004 William Brack <wbrack@mmm.com.hk>
|
||||||
|
|
||||||
|
* parser.c: small enhancement to dtd handling of (a?)+ (bug 142487)
|
||||||
|
|
||||||
Thu May 13 23:19:00 CEST 2004 Daniel Veillard <daniel@veillard.com>
|
Thu May 13 23:19:00 CEST 2004 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* xmlIO.c xmlsave.c include/libxml/xmlIO.h: second pass on escaping
|
* xmlIO.c xmlsave.c include/libxml/xmlIO.h: second pass on escaping
|
||||||
|
|||||||
3
parser.c
3
parser.c
@@ -4822,6 +4822,9 @@ xmlParseElementChildrenContentDecl (xmlParserCtxtPtr ctxt, int inputchk) {
|
|||||||
if (ret != NULL) {
|
if (ret != NULL) {
|
||||||
int found = 0;
|
int found = 0;
|
||||||
|
|
||||||
|
if (ret->ocur == XML_ELEMENT_CONTENT_OPT)
|
||||||
|
ret->ocur == XML_ELEMENT_CONTENT_MULT;
|
||||||
|
else
|
||||||
ret->ocur = XML_ELEMENT_CONTENT_PLUS;
|
ret->ocur = XML_ELEMENT_CONTENT_PLUS;
|
||||||
/*
|
/*
|
||||||
* Some normalization:
|
* Some normalization:
|
||||||
|
|||||||
Reference in New Issue
Block a user