Lines Matching refs:BAD_CAST
723 if ((prefix != NULL) && (xmlStrEqual(prefix, BAD_CAST "xml")))
1834 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1");
4864 xmlSetNsProp(cur, ns, BAD_CAST "lang", lang);
4883 lang = xmlGetNsProp(cur, BAD_CAST "lang", XML_XML_NAMESPACE);
4938 xmlSetNsProp(cur, ns, BAD_CAST "space", BAD_CAST "default");
4941 xmlSetNsProp(cur, ns, BAD_CAST "space", BAD_CAST "preserve");
4962 space = xmlGetNsProp(cur, BAD_CAST "space", XML_XML_NAMESPACE);
4964 if (xmlStrEqual(space, BAD_CAST "preserve")) {
4968 if (xmlStrEqual(space, BAD_CAST "default")) {
5095 xmlSetNsProp(cur, ns, BAD_CAST "base", fixed);
5098 xmlSetNsProp(cur, ns, BAD_CAST "base", uri);
5135 if (!xmlStrcasecmp(cur->name, BAD_CAST "html")) {
5139 if (!xmlStrcasecmp(cur->name, BAD_CAST "head")) {
5143 if (!xmlStrcasecmp(cur->name, BAD_CAST "base")) {
5144 return(xmlGetProp(cur, BAD_CAST "href"));
5156 base = xmlGetNsProp(cur, BAD_CAST "base", XML_XML_NAMESPACE);
5172 if ((!xmlStrncmp(oldbase, BAD_CAST "http://", 7)) ||
5173 (!xmlStrncmp(oldbase, BAD_CAST "ftp://", 6)) ||
5174 (!xmlStrncmp(oldbase, BAD_CAST "urn:", 4)))
6353 tmpstr = xmlStrcat(tmpstr, BAD_CAST ":");
6720 node->doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1");
6987 buf->content = BAD_CAST "";
7495 xmlBufferAdd(buf, BAD_CAST """, 6);
7916 str = BAD_CAST xmlStrdup(str); \
7932 cur->content = xmlStrdup(BAD_CAST cur->content); \
8337 pref = BAD_CAST buf;