* We need to trap calls to the resolver to not account memory for the catalog * and not rely on any external resources. */
| 86 | * and not rely on any external resources. |
| 87 | */ |
| 88 | static xmlParserInputPtr |
| 89 | testExternalEntityLoader(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 |
nothing calls this directly
no test coverage detected