W3C home > Mailing lists > Public > www-validator@w3.org > August 2005

Re: Type attribute in script elememt - content-type format

From: Bent Lynggård <bent.lynggaard@get2net.dk>
Date: Thu, 18 Aug 2005 10:50:46 +0200
To: <www-validator@w3.org>
Message-Id: <20050818085040.6E0C61EC346@pasmtp.tele.dk>

Thank you for a detailed reply which I did not notice until today because I
was looking for my entry to appear in the buglist.

On Sun, 14 Aug 2005, Jukka "Yucca" Korpela wrote:

> > Your validator accepts <script type="javascript" ...> as a valid
> That's a tag, not an element, ...

Yes, I admit that I missed "...</script>" in my mail.

> Actually, the problem is deeper: in the metalanguage used for writing a 
> DTD, since the metalanguage would not let us specify, for example,
> that an attribute's value shall be of the form "foo/bar", where foo and 
> bar are names.

Wouldn't something like
  <!ENTITY % ContentType "(CDATA -"/", "/", CDATA)">
do? - With the embedded qoutation marks escaped or with "/" defined

Regards - Bent.
Received on Thursday, 18 August 2005 08:50:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:52 UTC