More details are here: w3c.jcabi.com. Also, read this blog post: W3C Java Validators.
The library contains a few Java adapters to W3C online validators:
import com.jcabi.w3c.HtmlValidator;
assert ValidatorBuilder.html().validate("<html>hello!</html>").valid();
Questions?
If you have any questions about the framework, or something doesn't work as expected, please submit an issue here. If you want to discuss, please use our Google Group.
How to contribute?
Fork the repository, make changes, submit a pull request. We promise to review your changes same day and apply to the master
branch, if they look correct.
Please run Maven build before submitting a pull request:
$ mvn clean install -Pqulice