FIX: missing string! type in CHARSET spec block (thanks to Kaj for noticing).
FIX: redefining 'on-parse-event function was not taken into account (old one was always run instead).