Corrected the parser's attribute handling.