[Erp5-dev] XHTML page w3c validation

Rafael Monnerat rafael at nexedi.com
Wed Jan 16 22:22:42 CET 2008


Hi Fabien,

> 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.

This commit fix the w3c validator error? or there is another one?

nobody at svn.erp5.org escreveu:
> Author: rafael
> Date: Wed Jan 16 22:20:15 2008
> New Revision: 18752
> 
> URL: http://svn.erp5.org?rev=18752&view=rev
> Log:
> 
> Added alt attribute for img tag. Without this  w3c tests will fail.
> 
> 
> Modified:
>     erp5/trunk/products/ERP5Form/MultiRelationField.py
> 
> Modified: erp5/trunk/products/ERP5Form/MultiRelationField.py
> URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/MultiRelationField.py?rev=18752&r1=18751&r2=18752&view=diff
> ==============================================================================
> --- erp5/trunk/products/ERP5Form/MultiRelationField.py (original)
> +++ erp5/trunk/products/ERP5Form/MultiRelationField.py Wed Jan 16 22:20:15 2008
> @@ -339,7 +339,7 @@
>          selection_name_html = ''
>        # Generate plan link
>        html_string += '<a href="%s/%s?field_id=%s&amp;form_id=%s%s">' \
> -                       '<img src="%s/images/jump.png" />' \
> +                       '<img src="%s/images/jump.png" alt="jump" />' \
>                       '</a>' % \
>                  (here.absolute_url(), 
>                   field.get_value('jump_method'), 
> 
> _______________________________________________
> Erp5-report mailing list
> Erp5-report at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-report
> 




More information about the Erp5-dev mailing list