Lines Matching refs:BAD_CAST
413 BAD_CAST buffer, NULL);
1079 if (!xmlStrcasecmp(tag, BAD_CAST html40ElementTable[i].name))
1128 if (xmlStrEqual(BAD_CAST * closed, newtag))
1135 if (xmlStrEqual(BAD_CAST htmlStartClose[i], oldtag)) {
1234 ((xmlStrEqual(ctxt->name, BAD_CAST "head")) ||
1235 (xmlStrEqual(ctxt->name, BAD_CAST "body")) ||
1236 (xmlStrEqual(ctxt->name, BAD_CAST "html")))) {
1308 if (xmlStrEqual(newtag, BAD_CAST"html"))
1311 htmlnamePush(ctxt, BAD_CAST"html");
1313 ctxt->sax->startElement(ctxt->userData, BAD_CAST"html", NULL);
1315 if ((xmlStrEqual(newtag, BAD_CAST"body")) || (xmlStrEqual(newtag, BAD_CAST"head")))
1318 ((xmlStrEqual(newtag, BAD_CAST"script")) ||
1319 (xmlStrEqual(newtag, BAD_CAST"style")) ||
1320 (xmlStrEqual(newtag, BAD_CAST"meta")) ||
1321 (xmlStrEqual(newtag, BAD_CAST"link")) ||
1322 (xmlStrEqual(newtag, BAD_CAST"title")) ||
1323 (xmlStrEqual(newtag, BAD_CAST"base")))) {
1328 htmlnamePush(ctxt, BAD_CAST"head");
1330 ctxt->sax->startElement(ctxt->userData, BAD_CAST"head", NULL);
1331 } else if ((!xmlStrEqual(newtag, BAD_CAST"noframes")) &&
1332 (!xmlStrEqual(newtag, BAD_CAST"frame")) &&
1333 (!xmlStrEqual(newtag, BAD_CAST"frameset"))) {
1336 if (xmlStrEqual(ctxt->nameTab[i], BAD_CAST"body")) {
1339 if (xmlStrEqual(ctxt->nameTab[i], BAD_CAST"head")) {
1344 htmlnamePush(ctxt, BAD_CAST"body");
1346 ctxt->sax->startElement(ctxt->userData, BAD_CAST"body", NULL);
1370 htmlAutoClose(ctxt, BAD_CAST"p");
1371 htmlCheckImplied(ctxt, BAD_CAST"p");
1372 htmlnamePush(ctxt, BAD_CAST"p");
1374 ctxt->sax->startElement(ctxt->userData, BAD_CAST"p", NULL);
1380 if (xmlStrEqual(tag, BAD_CAST htmlNoContentElements[i])) {
1381 htmlAutoClose(ctxt, BAD_CAST"p");
1382 htmlCheckImplied(ctxt, BAD_CAST"p");
1383 htmlnamePush(ctxt, BAD_CAST"p");
1385 ctxt->sax->startElement(ctxt->userData, BAD_CAST"p", NULL);
1747 if (xmlStrEqual(name, BAD_CAST html40EntitiesTable[i].name)) {
2064 if (xmlStrEqual(ctxt->name, BAD_CAST"html"))
2066 if (xmlStrEqual(ctxt->name, BAD_CAST"head"))
2070 if (xmlStrEqual(ctxt->name, BAD_CAST "body") && ctxt->myDoc != NULL) {
2073 if (!xmlStrcasecmp(dtd->ExternalID, BAD_CAST "-//W3C//DTD HTML 4.01//EN") ||
2074 !xmlStrcasecmp(dtd->ExternalID, BAD_CAST "-//W3C//DTD HTML 4//EN"))
2089 if ( xmlStrEqual(ctxt->name, BAD_CAST allowPCData[i]) ) {
2099 if ( xmlStrEqual(lastChild->name, BAD_CAST allowPCData[i]) ) {
2149 xmlCreateIntSubset(cur, BAD_CAST "html", ExternalID, URI);
2166 BAD_CAST "http://www.w3.org/TR/REC-html40/loose.dtd",
2167 BAD_CAST "-//W3C//DTD HTML 4.0 Transitional//EN"));
3309 encoding = xmlStrcasestr(attvalue, BAD_CAST"charset=");
3313 encoding = xmlStrcasestr(attvalue, BAD_CAST"charset =");
3405 if ((value != NULL) && (!xmlStrcasecmp(att, BAD_CAST"http-equiv"))
3406 && (!xmlStrcasecmp(value, BAD_CAST"Content-Type")))
3408 else if ((value != NULL) && (!xmlStrcasecmp(att, BAD_CAST"content")))
3471 if (xmlStrEqual(name, BAD_CAST"meta"))
3488 if ((ctxt->nameNr > 0) && (xmlStrEqual(name, BAD_CAST"html"))) {
3496 (xmlStrEqual(name, BAD_CAST"head"))) {
3503 if (xmlStrEqual(name, BAD_CAST"body")) {
3506 if (xmlStrEqual(ctxt->nameTab[indx], BAD_CAST"body")) {
3686 (xmlStrEqual(name, BAD_CAST "html") ||
3687 xmlStrEqual(name, BAD_CAST "body") ||
3688 xmlStrEqual(name, BAD_CAST "head"))) {
3785 ctxt->sax->characters(ctxt->userData, BAD_CAST "&", 1);
3791 ctxt->sax->characters(ctxt->userData, BAD_CAST "&", 1);
3793 /* ctxt->sax->characters(ctxt->userData, BAD_CAST ";", 1); */
3889 if ((CUR != 0) && ((xmlStrEqual(currentNode, BAD_CAST"script")) ||
3890 (xmlStrEqual(currentNode, BAD_CAST"style")))) {
3906 BAD_CAST "DOCTYPE" , NULL);
4232 xmlCreateIntSubset(ctxt->myDoc, BAD_CAST "html",
4233 BAD_CAST "-//W3C//DTD HTML 4.0 Transitional//EN",
4234 BAD_CAST "http://www.w3.org/TR/REC-html40/loose.dtd");
5049 if ((xmlStrEqual(ctxt->name, BAD_CAST"script")) ||
5050 (xmlStrEqual(ctxt->name, BAD_CAST"style"))) {
5089 BAD_CAST "DOCTYPE" , NULL);
5321 xmlCreateIntSubset(ctxt->myDoc, BAD_CAST "html",
5322 BAD_CAST "-//W3C//DTD HTML 4.0 Transitional//EN",
5323 BAD_CAST "http://www.w3.org/TR/REC-html40/loose.dtd");