Lines Matching refs:scheme
26 * data URI scheme as defined in RFC 2397. Even for data URI the usual
201 * Parse an URI scheme
221 if (uri->scheme != NULL) xmlFree(uri->scheme);
222 uri->scheme = STRNDUP(*str, cur - *str);
238 * xpointer scheme selection, so we are allowing it here to not break
438 * IPv6 and future adressing scheme are enclosed between brackets
698 * Parse an path which is not a scheme and fills in the appropriate fields
849 * scheme ":" hier-part [ "?" query ] [ "#" fragment ]
1073 if (uri->scheme != NULL) {
1074 p = uri->scheme;
1191 } else if (uri->scheme != NULL) {
1206 if ((uri->scheme != NULL) &&
1211 (xmlStrEqual(BAD_CAST uri->scheme, BAD_CAST "file"))) {
1349 if (uri->scheme != NULL) xmlFree(uri->scheme);
1350 uri->scheme = NULL;
1379 if (uri->scheme != NULL) xmlFree(uri->scheme);
1772 if (uri->scheme) {
1773 segment = xmlURIEscapeStr(BAD_CAST uri->scheme, BAD_CAST "+-.");
1908 if ((ref != NULL) && (ref->scheme != NULL)) {
1941 * 2) If the path component is empty and the scheme, authority, and
1955 if ((ref->scheme == NULL) && (ref->path == NULL) &&
1957 if (bas->scheme != NULL)
1958 res->scheme = xmlMemStrdup(bas->scheme);
1983 * 3) If the scheme component is defined, indicating that the reference
1984 * starts with a scheme name, then the reference is interpreted as an
1986 * scheme is inherited from the base URI's scheme component.
1988 if (ref->scheme != NULL) {
1992 if (bas->scheme != NULL)
1993 res->scheme = xmlMemStrdup(bas->scheme);
2006 * component, which will also be undefined if the URI scheme does not
2206 * If the scheme / server on the URI differs from the base,
2209 if ((ref->scheme != NULL) &&
2210 ((bas->scheme == NULL) ||
2211 (xmlStrcmp ((xmlChar *)bas->scheme, (xmlChar *)ref->scheme)) ||
2471 /* make the scheme 'file' */
2472 uri->scheme = xmlStrdup(BAD_CAST "file");
2498 if (uri->scheme == NULL) {