XML parser and renderer with HTML 5 quirks mode