Posted By

noah on 02/10/08


Tagged

Bash html xml code commandline validation cygwin tidy qa textonly openjade onsgmls w3 processor


Versions (?)

Validate XHTML with Tidy and/or OpenJade, just like the FF extension


 / Published in: Bash
 

URL: http://onemorebug.com/blog/2007/10/28/html-validation/

Neither command will give any feedback unless invalid markup is found.

  1. tidy -eq temp.html
  2.  
  3. onsgmls -E0 -s c:\sgml-lib\xml.dcl temp.html
  4.  
  5. lwp-request http://onemorebug.com | onsgmls -E0 -s /Applications/validator-0.8.2/htdocs/sgml-lib/ISO-HTML/15445.dcl -

Report this snippet  

You need to login to post a comment.