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

Function xmlTextReaderBaseUri

ThirdParty/libxml2/vtklibxml2/xmlreader.c:3436–3448  ·  view source on GitHub ↗

* xmlTextReaderBaseUri: * @reader: the xmlTextReaderPtr used * * The base URI of the node. * * Returns the base URI or NULL if not available, * if non NULL it need to be freed by the caller. */

Source from the content-addressed store, hash-verified

3434 * if non NULL it need to be freed by the caller.
3435 */
3436xmlChar *
3437xmlTextReaderBaseUri(xmlTextReaderPtr reader) {
3438 xmlChar *ret = NULL;
3439 int result;
3440
3441 if ((reader == NULL) || (reader->node == NULL))
3442 return(NULL);
3443 result = xmlNodeGetBaseSafe(NULL, reader->node, &ret);
3444 if (result < 0)
3445 xmlTextReaderErrMemory(reader);
3446
3447 return(ret);
3448}
3449
3450/**
3451 * xmlTextReaderConstBaseUri:

Callers

nothing calls this directly

Calls 2

xmlNodeGetBaseSafeFunction · 0.85
xmlTextReaderErrMemoryFunction · 0.85

Tested by

no test coverage detected