MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlBuildURI

Function xmlBuildURI

ThirdParty/libxml2/vtklibxml2/uri.c:2360–2366  ·  view source on GitHub ↗

* xmlBuildURI: * @URI: the URI instance found in the document * @base: the base value * * Computes he final URI of the reference done by checking that * the given URI is valid, and building the final URI using the * base URI. This is processed according to section 5.2 of the * RFC 2396 * * 5.2. Resolving Relative References to Absolute Form * * Returns a new URI string (to be freed by

Source from the content-addressed store, hash-verified

2358 * of error.
2359 */
2360xmlChar *
2361xmlBuildURI(const xmlChar *URI, const xmlChar *base) {
2362 xmlChar *out;
2363
2364 xmlBuildURISafe(URI, base, &out);
2365 return(out);
2366}
2367
2368static int
2369xmlParseUriOrPath(const char *str, xmlURIPtr *out, int *drive) {

Callers 12

readSingleNodeMethod · 0.85
xmlParseSGMLCatalogFunction · 0.85
xmlValidateDocumentFunction · 0.85
xmlSchematronLoadIncludeFunction · 0.85
entityDeclDebugFunction · 0.85
handleURIFunction · 0.85
xstcTestInstanceFunction · 0.85
xstcTestGroupFunction · 0.85
xmlRelaxNGCleanupTreeFunction · 0.85

Calls 1

xmlBuildURISafeFunction · 0.85

Tested by 2

entityDeclDebugFunction · 0.68
handleURIFunction · 0.68