Reworked XSB , now does handlers properly, seems to be correctly executing chain now, just need to roll in support for content/document handlers also before exeuting main handler. Moved logic out of libxml2 callbacks and into Eo class functions.