Small, fast, state based SGML parser