hooks for SAX handler and default implementation