Re: To fix syntax errors of HTML files

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

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

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