Lines Matching defs:handler
180 /* Dummy handlers for when we need to set a handler to tickle a bug,
257 /* The content model must be freed by the handler. Unfortunately
332 /* This handler is obsolete, but while the code exists we should
333 * ensure that dealing with the handler is covered by tests.
376 /* Useful external entity handler */
896 /* Use a handler to provoke the appropriate code paths */
941 /* Repeat with a default handler */
1298 /* Need a cdata handler to provoke the code path we want to test */
1527 /* Test unrecognised encoding handler */
1614 /* Test external entities with no handler */
1733 "Bad encoding not faulted in external entity handler");
1838 /* Test that an error is reported if our NotStandalone handler fails */
1862 "NotStandalone handler failed to reject");
1868 "NotStandalone handler failed to reject");
1872 /* Test that no error is reported if our NotStandalone handler succeeds */
1896 /* Repeat wtihout the external entity handler */
2169 the character data handler from within the inner "for" loop of
2171 handler must stop the parser and clear the character data
2172 handler.
2190 the character data handler from within the inner "for" loop of
2192 handler must stop the parser and clear the character data
2193 handler.
2288 /* Try again, this time with a default handler */
2652 /* Test stopping the parser in cdata handler */
2661 "Parse not aborted in CDATA handler");
2665 /* Test suspending the parser in cdata handler */
2678 fail("Parse not suspended in CDATA handler");
2794 /* The default handler suppresses the entity */
2797 /* Again, with a skip handler */
2807 /* The default handler suppresses the entity */
2821 /* Finally, without passing the cdata to the default handler */
2869 /* Add a default handler to exercise more code paths */
2894 /* Test foreign DTD handling with a failing NotStandalone handler */
2959 /* Add a default handler to exercise more code paths */
3213 /* Test that CDATA shows up correctly through a default handler */
3546 * character data handler, but not for the default handler
3557 /* Try with a character handler, for code coverage */
3568 /* Now with a default handler instead */
3695 /* And finally with a default handler */
3801 /* Variable holding the expected handler userData */
3803 /* Count of the number of times the comment handler has been invoked */
3807 /* Count of the number of times the XML declaration handler is invoked */
3897 fail("Comment handler not invoked enough times");
3905 fail("Comment handler not invoked enough times");
3907 fail("Skip handler not invoked enough times");
3909 fail("XML declaration handler not invoked");
3913 /* Test that an explicit external entity handler argument replaces
3916 * We do not call the first parameter to the external entity handler
3917 * 'parser' for once, since the first time the handler is called it
3933 fail("External entity ref handler parameter not correct");
3957 /* Set a handler arg that is not NULL and not parser (which is
4157 /* Test position information in handler */
4236 /* The default handler doesn't translate the entities */
4672 /* Test the recursive parse interacts with a not standalone handler */
4790 /* Setting a handler provokes a particular code path */
4817 /* An attribute list handler provokes a different code path */
4875 fail("Notation declaration handler not called");
4911 fail("Element handler not fired");
4936 fail("Element handler flag not raised");
5012 fail("Skip handler not executed");
5041 /* Test undefined parameter entity in external entity handler */
5086 /* Now repeat without the external entity ref handler invoking
5436 XML_ExternalEntityRefHandler handler;
5453 XML_SetExternalEntityRefHandler(ext_parser, test_data->handler);
5607 /* Test that processing instructions are picked up by a default handler */
5625 /* Test that comments are picked up by a default handler */
5808 /* Test that the unknown encoding handler with map entries that expect
7005 /* Test for issue #11, wrongly suppressed default handler */
7059 fail("Default handler not run for public !DOCTYPE");
7118 /* Check that the element name passed to the end-element handler matches
7330 /* We actually need to set this handler to tickle this bug. */
7393 /* Packaged info expected by the end element handler;
9032 fail("Entity declaration handler not called");
9146 fail("Doctype handler functions not called");
9266 /* An attribute list handler provokes a different code path */
9324 /* An attribute list handler provokes a different code path */
9507 fail("Entity declaration handler not called");
9557 fail("Notation handler not called");
9607 fail("Notation handler not called");
9648 fail("Element handler not fired");
9689 fail("Element handler not fired");
9727 fail("Element handler flag not raised");
9767 fail("Element handler flag not raised");
9795 fail("Processing instruction handler not invoked");
9823 fail("Processing instruction handler not invoked");
10486 /* Exercise more code paths with a default handler */