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

Function testExternalEntityLoader

ThirdParty/libxml2/vtklibxml2/runxmlconf.c:88–96  ·  view source on GitHub ↗

* We need to trap calls to the resolver to not account memory for the catalog * and not rely on any external resources. */

Source from the content-addressed store, hash-verified

86 * and not rely on any external resources.
87 */
88static xmlParserInputPtr
89testExternalEntityLoader(const char *URL, const char *ID ATTRIBUTE_UNUSED,
90 xmlParserCtxtPtr ctxt) {
91 xmlParserInputPtr ret;
92
93 ret = xmlNewInputFromFile(ctxt, (const char *) URL);
94
95 return(ret);
96}
97
98/*
99 * Trapping the error messages at the generic level to grab the equivalent of

Callers

nothing calls this directly

Calls 1

xmlNewInputFromFileFunction · 0.85

Tested by

no test coverage detected