[dev] xhtml compliance

Chuck Hagenbuch chuck at horde.org
Sat Aug 6 09:47:43 PDT 2005


Quoting Matt Warden <mwarden at gmail.com>:

> I am not able to change all the output needed to make Horde_Form xhtml
> compliant. The problem I am having at the moment is this line
> (framework/Horde/Horde.php#253):
>
> echo '<script language="JavaScript" type="text/javascript" src="' .
> $url . '"></script>';
>
> As you can see, the output has the invalid attribute 'language'. Is
> this in the plans to fix, or are you leaving it in there for (very)
> backward compatibility? This line is in the addScriptFile() method
> which is used all over the place in Horde_Form (and I'm sure
> elsewhere). The langauge attribute was deprecated in HTML4.01, if that
> helps in the decision.

I'd be fine with getting rid of the language= attribute altogether; 
anyone know offhand if there are browsers that really need it still out 
there?

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list