* getEntityDebug: * @ctxt: An XML parser context * @name: The entity name * * Get an entity by name * * Returns the xmlParserInputPtr if inlined or NULL for DOM behaviour. */
| 728 | * Returns the xmlParserInputPtr if inlined or NULL for DOM behaviour. |
| 729 | */ |
| 730 | static xmlEntityPtr |
| 731 | getEntityDebug(void *ctx, const xmlChar *name) |
| 732 | { |
| 733 | debugContext *ctxt = ctx; |
| 734 | |
| 735 | callbacks++; |
| 736 | if (quiet) |
| 737 | return(NULL); |
| 738 | fprintf(SAXdebug, "SAX.getEntity(%s)\n", name); |
| 739 | |
| 740 | return(xmlHashLookup(ctxt->generalEntities, name)); |
| 741 | } |
| 742 | |
| 743 | /** |
| 744 | * getParameterEntityDebug: |
nothing calls this directly
no test coverage detected