W3C home > Mailing lists > Public > www-validator@w3.org > April 2000

Re: CDATA in elements and attributes

From: Terje Bless <link@tss.no>
Date: Sat, 15 Apr 2000 23:44:07 +0200
To: TimP <tim@paneris.co.uk>, W3C Validator <www-validator@w3.org>
Message-ID: <20000415234540-f01010601-d9334ec4@10.0.0.3>
On 15.04.00 at 13:04, TimP <tim@paneris.co.uk> wrote:

>Now, about "TimP's Markup Validator", to make this I just download the
>validator and trap the entity errors?

It's not quite as simple as that. This will supress *all* messages relating
to character entity references. It can be done, but it'd require some
relatively serious hacking to accomplish. You'll want to look at the code
that discards bogus messages from nsgmls (search for "65") and modify it to
supress the messages you don't want.

However, it must be noted, that the net result is *not* valid HTML; should
*not* be labelled as it (with the W3C icons); and User-Agent behaviour when
confronted with it is not guaranteed. Do this at your own risk!
Received on Saturday, 15 April 2000 17:47:49 GMT

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