W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2009

Re: To fix syntax errors of HTML files

From: olivier Thereaux <ot@w3.org>
Date: Wed, 4 Feb 2009 13:43:32 -0500
Cc: css-validator <www-validator-css@w3.org>
Message-Id: <26923FB5-D4E7-40EC-AE7C-717B1F23185C@w3.org>
To: TAKAHASHI Makoto <hobbit_mak@yahoo.co.jp>

Hello Makoto,

Thanks for your email and your patches.

On 4-Feb-09, at 2:15 AM, TAKAHASHI Makoto wrote:
> -<meta http-equiv="Content-Type" is required.

Not required per se, but it's not a bad idea to add it for  
installations of the validator which do not send charset info at HTTP  
level. Added to templates, sending to CVS now.

> -<meta http-equiv="Content-Style-Type" is required.
> -<meta http-equiv="Content-Script-Type"
> content="text/javascript" /> is required.

As far as I know those are SHOULDs, not requirements. And since the  
markup used specifies type="" in attributes for <style> and <script> I  
think we're fine.

> -width and height is required for <img>.

Could you give details as to where and why?

> -<p></p> is not recommended.

Ditto. Could you give details as to where and why?

> -xml:lang property is required.

As far as I can tell pretty much all pages use lang="" xml:lang=""
Can you point precisely to the pages that do not?

> -Translation for (color) is not correct.
> -Proposal to translate "warning.float-no-width"
> -<?xml version="1.0" encoding="$output-encoding-name"?> is
> required.

Not required, and actually considered harmful. See HTML compatibility  

> -Link for original object is valid only for "By URI".

Can you give more details?

> -<div></div> is not recommended.

Really? I have doubts as to whether it is a good idea to have a  
<script> acting on the div be put within that div. I suspect it will  
not work.

> -lang_choice is active only for "By URI".

Not sure I understand what you mean.

> Attached zip file contains,
> -diff.html  diff of above 4 files.

I could not use that diff. It would be very helpful if you could send  
diff in .diff format, and if possibly separate translation  
improvements, which are very welcome, and markup changes.

Thank you.
Received on Wednesday, 4 February 2009 18:43:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:03 UTC