title: html5 validation as an automatic test in Java
body: <p>I want to create a html5-validator that catches the obsolete tags and doesn't allow tags/attributes that are not currently mentioned in the working draft of html5.</p>
  
  <p>I have looked into validator.nu, but I am not able to get it to fail on unknown tags/attributes. I have also tried using xerces and schema-validation with a html5-schema, but this doesn't work as well as I want to.</p>
  
  <p>So, my question is, have anyone created a piece of java-code that does html5-validation? Can I please have a look at it :-)</p>