Lines Matching refs:oldbase
4877 xmlChar *oldbase = NULL;
4913 if (oldbase != NULL) {
4914 newbase = xmlBuildURI(oldbase, base);
4916 xmlFree(oldbase);
4918 oldbase = newbase;
4920 xmlFree(oldbase);
4925 oldbase = base;
4927 if ((!xmlStrncmp(oldbase, BAD_CAST "http://", 7)) ||
4928 (!xmlStrncmp(oldbase, BAD_CAST "ftp://", 6)) ||
4929 (!xmlStrncmp(oldbase, BAD_CAST "urn:", 4)))
4930 return(oldbase);
4936 if (oldbase == NULL)
4938 newbase = xmlBuildURI(oldbase, doc->URL);
4939 xmlFree(oldbase);
4942 return(oldbase);