Commit eb8509c2 authored by William M. Brack's avatar William M. Brack
Browse files

small enhancement to dtd handling of (a?)+ (bug 142487)

* parser.c: small enhancement to dtd handling of (a?)+ (bug 142487)
parent ee8960bc
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
......
......@@ -4822,7 +4822,10 @@ xmlParseElementChildrenContentDecl (xmlParserCtxtPtr ctxt, int inputchk) {
if (ret != NULL) {
int found = 0;
ret->ocur = XML_ELEMENT_CONTENT_PLUS;
if (ret->ocur == XML_ELEMENT_CONTENT_OPT)
ret->ocur == XML_ELEMENT_CONTENT_MULT;
else
ret->ocur = XML_ELEMENT_CONTENT_PLUS;
/*
* Some normalization:
* (a | b*)+ == (a | b)*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment