Did a little search and found HTML::Valid. It looks like it supports HTML5 and it looks like it will provide error messages that include the line number and column number that you are looking for.
In reply to Re: How to parse HTML5?
by dasgar
in thread How to parse HTML5?
by NRan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |