Lines Matching refs:dtd
112 XMLLINT_ERR_DTD = 2, /* Error in DTD */
2401 xmlDtdPtr dtd;
2403 dtd = xmlGetIntSubset(doc);
2404 if (dtd != NULL) {
2405 xmlUnlinkNode((xmlNodePtr)dtd);
2406 xmlFreeDtd(dtd);
2724 xmlDtdPtr dtd;
2730 dtd = xmlParseDTD(NULL, (const xmlChar *)dtdvalid);
2732 dtd = xmlParseDTD((const xmlChar *)dtdvalidfpi, NULL);
2734 endTimer("Parsing DTD");
2736 if (dtd == NULL) {
2739 "Could not parse DTD %s\n", dtdvalid);
2742 "Could not parse DTD %s\n", dtdvalidfpi);
2759 if (!xmlValidateDtd(cvp, doc, dtd)) {
2771 endTimer("Validating against DTD");
2774 xmlFreeDtd(dtd);
2999 printf("\t--dtdvalid URL : do a posteriori validation against a given DTD\n");
3000 printf("\t--dtdvalidfpi FPI : same but name the DTD with a Public Identifier\n");
3054 printf("\t--loaddtd : fetch external DTD\n");
3503 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"\n");
3505 "\t\"http://www.w3.org/TR/REC-html40/loose.dtd\">\n");