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
element.
> 
> 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
elsewhere.

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

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