Lines Matching refs:scheme

131  * scheme = alpha *( alpha | digit | "+" | "-" | "." )
244 if (uri->scheme != NULL) {
245 p = uri->scheme;
408 } else if (uri->scheme != NULL) {
587 if (uri->scheme != NULL) xmlFree(uri->scheme);
588 uri->scheme = NULL;
617 if (uri->scheme != NULL) xmlFree(uri->scheme);
1011 if (uri->scheme) {
1012 segment = xmlURIEscapeStr(BAD_CAST uri->scheme, BAD_CAST "+-.");
1186 * Parse an URI scheme
1188 * scheme = alpha *( alpha | digit | "+" | "-" | "." )
1205 if (uri->scheme != NULL) xmlFree(uri->scheme);
1206 uri->scheme = STRNDUP(*str, cur - *str);
1581 * to the URI scheme, but constrained to the allowed characters
1686 * absoluteURI = scheme ":" ( hier_part | opaque_part )
1928 if ((ref != NULL) && (ref->scheme != NULL)) {
1961 * 2) If the path component is empty and the scheme, authority, and
1975 if ((ref->scheme == NULL) && (ref->path == NULL) &&
1977 if (bas->scheme != NULL)
1978 res->scheme = xmlMemStrdup(bas->scheme);
2003 * 3) If the scheme component is defined, indicating that the reference
2004 * starts with a scheme name, then the reference is interpreted as an
2006 * scheme is inherited from the base URI's scheme component.
2008 if (ref->scheme != NULL) {
2012 if (bas->scheme != NULL)
2013 res->scheme = xmlMemStrdup(bas->scheme);
2026 * component, which will also be undefined if the URI scheme does not
2227 * If the scheme / server on the URI differs from the base,
2230 if ((ref->scheme != NULL) &&
2231 ((bas->scheme == NULL) ||
2232 (xmlStrcmp ((xmlChar *)bas->scheme, (xmlChar *)ref->scheme)) ||
2475 /* make the scheme 'file' */
2476 uri->scheme = xmlStrdup(BAD_CAST "file");
2502 if (uri->scheme == NULL) {