Lines Matching full:notations
383 NotationList **notations; in endDoctypeDecl() local
388 /* How many notations do we have? */ in endDoctypeDecl()
398 notations = malloc(notationCount * sizeof(NotationList *)); in endDoctypeDecl()
399 if (notations == NULL) { in endDoctypeDecl()
400 fprintf(stderr, "Unable to sort notations"); in endDoctypeDecl()
406 notations[i] = p; in endDoctypeDecl()
408 qsort(notations, notationCount, sizeof(NotationList *), notationCmp); in endDoctypeDecl()
415 /* Now the NOTATIONs */ in endDoctypeDecl()
418 fputts(notations[i]->notationName, data->fp); in endDoctypeDecl()
419 if (notations[i]->publicId != NULL) { in endDoctypeDecl()
421 fputts(notations[i]->publicId, data->fp); in endDoctypeDecl()
423 if (notations[i]->systemId != NULL) { in endDoctypeDecl()
426 fputts(notations[i]->systemId, data->fp); in endDoctypeDecl()
429 } else if (notations[i]->systemId != NULL) { in endDoctypeDecl()
431 fputts(notations[i]->systemId, data->fp); in endDoctypeDecl()
441 free(notations); in endDoctypeDecl()