small enhancement to dtd handling of (a?)+ (bug 142487) * parser.c: small enhancement to dtd handling of (a?)+ (bug 142487)