A simple xml parser built with bison and flex