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

more validator helpfulness

From: Joshua Swink <jswink@pacbell.net>
Date: Sun, 28 May 2000 15:46:44 -0400 (EDT)
To: www-validator@w3.org
Message-ID: <20000528124631.A5267@mongoose.localnet>
Hi,

While using the w3c validator for HTML 4.0 transitional documents,
I found two situations where it would report an error, and be
less helpful than it might have been:

1)  <script language=text/javascript>

    This is invalid because the attribute value must be enclosed
    with quotes.  However, the validator only reported an error
    at the </script> element, far below, complaining that there
    was no opening script element.

2)  <font ..>
    ...
    <table ..>

    The validator often complained that my tables were not allowed
    here, and it was only after using a different validation tool
    that I finally discovered what it was talking about.

    Seems I had been putting a <font> around the entire body of
    my documents, but <table> isn't allowed in <font>.  Perhaps
    it wouldn't be too hard for the validator to say something
    like "<table> is not allowed in <font> (opened on line 10)" ?


Thanks

--
Joshua Swink
jswink@pacbell.net
Received on Tuesday, 30 May 2000 14:48:09 GMT

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