[Erp5-dev] XHTML page w3c validation

Rafael Monnerat rafael at nexedi.com
Wed Jan 16 19:29:02 CET 2008


w3c-markup-validator is an excelent tool! It can be used to create some
validation tests using unit tests + urllib in future.

The installation at ubuntu/debian it required just one apt-get install
w3c-markup-validator.


Morin Fabien escreveu:
> I have some pages where tidy find 0 error and 20 warnings but w3c
> validator find no error and no warning (valid page). eg : this page
> http://localhost:1234/erp5/view
> 
> This is not a problem. The problem is that I have some pages where tidy
> find 0 error and 40 warning but w3c validator find 1 error (so the page
> is invalid but passed our tests). I have this case on the page
> http://localhost:1234/erp5/use_case_module/1/view but I think we could
> find it on a lot of other places.
> We can see that by using HTML validator firefox extension and set the
> option to use SGML analyser instead of HTML Tidy.
> 
> Thanks to google, I have find another way to check our pages : use the
> same validator as w3c uses.
> Official web page is there : http://validator.w3.org/docs/install.html
> a gentoo turial on this topic here :
> http://gentoo-wiki.com/HOWTO_W3C_Validator
> 
> what do you think about that ?
> 
> Regards,
> Fabien
> 
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-dev



More information about the Erp5-dev mailing list