Home | History | Annotate | Download | only in src

Lines Matching refs:dtd

445 xmlCtxtDumpDtdNode(xmlDebugCtxtPtr ctxt, xmlDtdPtr dtd)
449 if (dtd == NULL) {
451 fprintf(ctxt->output, "DTD node is NULL\n");
455 if (dtd->type != XML_DTD_NODE) {
457 "Node is not a DTD");
461 if (dtd->name != NULL)
462 fprintf(ctxt->output, "DTD(%s)", (char *) dtd->name);
464 fprintf(ctxt->output, "DTD");
465 if (dtd->ExternalID != NULL)
466 fprintf(ctxt->output, ", PUBLIC %s", (char *) dtd->ExternalID);
467 if (dtd->SystemID != NULL)
468 fprintf(ctxt->output, ", SYSTEM %s", (char *) dtd->SystemID);
474 xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) dtd);
1309 * @dtd: the DTD
1311 * Dumps debug information for the DTD
1314 xmlCtxtDumpDTD(xmlDebugCtxtPtr ctxt, xmlDtdPtr dtd)
1316 if (dtd == NULL) {
1318 fprintf(ctxt->output, "DTD is NULL\n");
1321 xmlCtxtDumpDtdNode(ctxt, dtd);
1322 if (dtd->children == NULL)
1323 fprintf(ctxt->output, " DTD is empty\n");
1326 xmlCtxtDumpNodeList(ctxt, dtd->children);
1538 * @dtd: the DTD
1540 * Dumps debug information for the DTD
1543 xmlDebugDumpDTD(FILE * output, xmlDtdPtr dtd)
1552 xmlCtxtDumpDTD(&ctxt, dtd);
2625 * @dtd: the DTD URI (optional)
2630 * Validate the document, if a DTD path is provided, then the validation
2631 * is done against the given DTD.
2636 xmlShellValidate(xmlShellCtxtPtr ctxt, char *dtd,
2648 if ((dtd == NULL) || (dtd[0] == 0)) {
2653 subset = xmlParseDTD(NULL, (xmlChar *) dtd);