adding lines numbers provided by libxml to the error output, fixing form field bug for input elements with type submit/reset/button