Updated HtmlAttributesParser class to catch and repackage
EndOfInputComponent and EndOfInputAttribute exceptions respectively.