Are there any Maven based HTML validators?

I have a project containing several HTML files. As part of my Maven build process, I would like to run a validator in these files to make sure that:

  • Files are syntactically correct (e.g. checking that all opening tags have an appropriate closing tag)
  • Files comply with encoding guidelines

Can someone recommend a good validator to do this?

+5
source share
1 answer

I use Sonar with two meaningful plugins like

This plugin allows you to parse XML files in Sonar. Some common use cases:

  • XHTML , W3C (, )
  • XML XML-
  • XML (: Maven pom )

2. -

Sonar. JSP JSF. Ruby ( erb).

:

  • (, )

:.xhtml,.jspf,.jsp. .

Sonar, , . Sonar.

. Sonar Web (HTML, JSP).

, .

,

Charlee Ch.

+3

All Articles