version 1.15, 2000/08/02 16:11:05
|
version 1.16, 2000/08/16 19:53:33
|
Line 146 internalSubsetDebug(void *ctx, const xml
|
Line 146 internalSubsetDebug(void *ctx, const xml
|
/* xmlDtdPtr externalSubset; */ |
/* xmlDtdPtr externalSubset; */ |
|
|
fprintf(stdout, "SAX.internalSubset(%s, %s, %s)\n", |
fprintf(stdout, "SAX.internalSubset(%s, %s, %s)\n", |
name, ExternalID, SystemID); |
name, (ExternalID == NULL) ? "(null)" : ExternalID, |
|
(SystemID == NULL) ? "(null)" : SystemID); |
|
|
/*********** |
/*********** |
if ((ExternalID != NULL) || (SystemID != NULL)) { |
if ((ExternalID != NULL) || (SystemID != NULL)) { |
Line 372 startElementDebug(void *ctx, const xmlCh
|
Line 373 startElementDebug(void *ctx, const xmlCh
|
if (atts != NULL) { |
if (atts != NULL) { |
for (i = 0;(atts[i] != NULL);i++) { |
for (i = 0;(atts[i] != NULL);i++) { |
fprintf(stdout, ", %s='", atts[i++]); |
fprintf(stdout, ", %s='", atts[i++]); |
fprintf(stdout, "%s'", atts[i]); |
fprintf(stdout, "%s'", (atts[i] == NULL) ? "(null)" : atts[i]); |
} |
} |
} |
} |
fprintf(stdout, ")\n"); |
fprintf(stdout, ")\n"); |