1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +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:
William M. Brack
2004-05-14 03:48:02 +00:00
parent ee8960bcab
commit eb8509c273
2 changed files with 8 additions and 1 deletions

View File

@@ -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>
* xmlIO.c xmlsave.c include/libxml/xmlIO.h: second pass on escaping

View File

@@ -4822,6 +4822,9 @@ xmlParseElementChildrenContentDecl (xmlParserCtxtPtr ctxt, int inputchk) {
if (ret != NULL) {
int found = 0;
if (ret->ocur == XML_ELEMENT_CONTENT_OPT)
ret->ocur == XML_ELEMENT_CONTENT_MULT;
else
ret->ocur = XML_ELEMENT_CONTENT_PLUS;
/*
* Some normalization: