patched EventToStaxBridge to fix bug w/PIs
patched EventToStaxBridge