Home | History | Annotate | Download | only in libxml2

Lines Matching defs:dtd

112     XMLLINT_ERR_DTD = 2,	/* Error in DTD */
2429 xmlDtdPtr dtd;
2431 dtd = xmlGetIntSubset(doc);
2432 if (dtd != NULL) {
2433 xmlUnlinkNode((xmlNodePtr)dtd);
2434 xmlFreeDtd(dtd);
2752 xmlDtdPtr dtd;
2758 dtd = xmlParseDTD(NULL, (const xmlChar *)dtdvalid);
2760 dtd = xmlParseDTD((const xmlChar *)dtdvalidfpi, NULL);
2762 endTimer("Parsing DTD");
2764 if (dtd == NULL) {
2767 "Could not parse DTD %s\n", dtdvalid);
2770 "Could not parse DTD %s\n", dtdvalidfpi);
2787 if (!xmlValidateDtd(cvp, doc, dtd)) {
2799 endTimer("Validating against DTD");
2802 xmlFreeDtd(dtd);
3028 printf("\t--dtdvalid URL : do a posteriori validation against a given DTD\n");
3029 printf("\t--dtdvalidfpi FPI : same but name the DTD with a Public Identifier\n");
3084 printf("\t--loaddtd : fetch external DTD\n");
3545 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"\n");
3547 "\t\"http://www.w3.org/TR/REC-html40/loose.dtd\">\n");