W3C home > Mailing lists > Public > www-validator@w3.org > September 2003

Re: Custom DTD for case-insensitive ID values ?

From: Philip TAYLOR [PC87S-O/XP] <P.Taylor@Rhul.Ac.Uk>
Date: Tue, 23 Sep 2003 15:18:31 +0100
Message-ID: <3F705637.9EF8E759@Rhul.Ac.Uk>
To: Karl Dubost <karl@w3.org>
Cc: "www-validator@w3.org" <www-validator@w3.org>
Problem solved : I have finally worked out how to tweak Dreamweaver 4
to insert 'type="text/javascript"' as well as 'language="Javascript"'
(see attached "Script.js" from /Configuration/Objects/Invisibles").

DW still inserts 'language="Javascript"' (or 'language="JavaScript1.1"',
or 'language="JavaScript1.2"') but as there seems no way to formally
differentiate these using HTML 4.0 Strict, that seems an acceptable
price to pay.

Philip Taylor
--------
Karl Dubost wrote:

> s/language='javascript'/type='text\/javascript'/g
> 
> too much effort? you don't even have to add it by hand. I see in your
> mail header that you are using Windows.
>         http://gnuwin32.sourceforge.net/packages/sed.htm
> 
> To learn a bit of sed
>         http://www.gnu.org/manual/sed/html_mono/sed.html
> 
> Simple manuals
>         http://www.student.northpark.edu/pemente/sed/sedfaq2.html
>         http://www.cornerstonemag.com/sed/
> 
> A lot of examples
>         http://www.student.northpark.edu/pemente/sed/sed1line.txt

Received on Tuesday, 23 September 2003 10:22:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:09 GMT