Lines Matching refs:BAD_CAST
188 #define SAX_COMPAT_MODE BAD_CAST "SAX compatibility mode document"
975 ctxt->str_xml = xmlDictLookup(ctxt->dict, BAD_CAST "xml", 3);
976 ctxt->str_xmlns = xmlDictLookup(ctxt->dict, BAD_CAST "xmlns", 5);
1189 defaults->values[5 * defaults->nbAttrs + 4] = BAD_CAST "external";
2845 return(xmlStrndup(BAD_CAST "", 0));
4606 ctxt->sax->comment(ctxt->userData, BAD_CAST "");
4704 if (xmlStrncmp(tmp, BAD_CAST"catalog", 7))
5093 BAD_CAST "fake", NULL, NULL);
5167 BAD_CAST "fake", NULL, NULL);
6552 ctxt->myDoc = xmlNewDoc(BAD_CAST "1.0");
6982 nbktext = xmlDictLookup(ctxt->dict, BAD_CAST "nbktext",
7905 if ((ctxt->pedantic) && (xmlStrEqual(name, BAD_CAST "xml:lang"))) {
7916 if (xmlStrEqual(name, BAD_CAST "xml:space")) {
7917 if (xmlStrEqual(val, BAD_CAST "default"))
7919 else if (xmlStrEqual(val, BAD_CAST "preserve"))
8134 if (name == NULL) name = BAD_CAST "unparseable";
8246 tmp = xmlBuildQName(BAD_CAST "", p, NULL, 0);
8270 tmp = xmlBuildQName(BAD_CAST "", l, NULL, 0);
8578 if ((ctxt->pedantic) && (xmlStrEqual(name, BAD_CAST "lang"))) {
8590 if (xmlStrEqual(name, BAD_CAST "space")) {
8592 if (xmlStrEqual(internal_val, BAD_CAST "default"))
8594 else if (xmlStrEqual(internal_val, BAD_CAST "preserve"))
8742 BAD_CAST "http://www.w3.org/2000/xmlns/"))) {
8795 BAD_CAST "http://www.w3.org/2000/xmlns/"))) {
9120 if (name == NULL) name = BAD_CAST "unparseable";
9717 ((!xmlStrcasecmp(encoding, BAD_CAST "UTF-16")) ||
9718 (!xmlStrcasecmp(encoding, BAD_CAST "UTF16")))) {
9739 ((!xmlStrcasecmp(encoding, BAD_CAST "UTF-8")) ||
9740 (!xmlStrcasecmp(encoding, BAD_CAST "UTF8")))) {
10991 BAD_CAST "", 0);
11405 BAD_CAST buffer, NULL);
11663 ctxt->input->cur = BAD_CAST"";
11812 ctxt->myDoc = xmlNewDoc(BAD_CAST "1.0");
11818 ctxt->myDoc->extSubset = xmlNewDtd(ctxt->myDoc, BAD_CAST "none",
11819 BAD_CAST "none", BAD_CAST "none");
11838 xmlParseExternalSubset(ctxt, BAD_CAST "none", BAD_CAST "none");
11956 ctxt->myDoc = xmlNewDoc(BAD_CAST "1.0");
11964 ctxt->myDoc->extSubset = xmlNewDtd(ctxt->myDoc, BAD_CAST "none",
12085 newDoc = xmlNewDoc(BAD_CAST "1.0");
12102 newRoot = xmlNewDocNode(newDoc, NULL, BAD_CAST "pseudoroot", NULL);
12145 if ((xmlStrEqual(ctx->version, BAD_CAST "1.0")) &&
12146 (!xmlStrEqual(ctxt->input->version, BAD_CAST "1.0"))) {
12174 ctxt->str_xml = xmlDictLookup(ctxt->dict, BAD_CAST "xml", 3);
12175 ctxt->str_xmlns = xmlDictLookup(ctxt->dict, BAD_CAST "xmlns", 5);
12303 newDoc = xmlNewDoc(BAD_CAST "1.0");
12320 newRoot = xmlNewDocNode(newDoc, NULL, BAD_CAST "pseudoroot", NULL);
12544 ctxt->str_xml = xmlDictLookup(ctxt->dict, BAD_CAST "xml", 3);
12545 ctxt->str_xmlns = xmlDictLookup(ctxt->dict, BAD_CAST "xmlns", 5);
12558 newDoc = xmlNewDoc(BAD_CAST "1.0");
12574 newRoot = xmlNewDocNode(ctxt->myDoc, NULL, BAD_CAST "pseudoroot", NULL);
12936 newDoc = xmlNewDoc(BAD_CAST "1.0");
12946 ctxt->str_xml = xmlDictLookup(ctxt->dict, BAD_CAST "xml", 3);
12947 ctxt->str_xmlns = xmlDictLookup(ctxt->dict, BAD_CAST "xmlns", 5);
12957 newRoot = xmlNewDocNode(newDoc, NULL, BAD_CAST "pseudoroot", NULL);
14100 "Unsupported encoding %s\n", BAD_CAST encoding);