[vox-tech] html question: comments

Karsten M. Self vox-tech@lists.lugod.org
Sun, 18 Aug 2002 19:49:56 -0700


--x+RZeZVNR8VILNfK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

on Thu, Aug 15, 2002, Peter Jay Salzman (p@dirac.org) wrote:
> for the multi-line comment:
>=20
> <!--
>    snow:     #FFFAFA   255 250 250
>    orange:   #FFA500   255 165 0
>    green:    #00FF00   0 255 0
>    blue:     #0000FF   0 0 255
> -->
>=20
> weblint reprots:
>=20
>    index.html(14): metacharacter ">" should be represented as "&gt;"
>=20
> line 14 is the last line of the comment.  the "-->" by itself.  i looked
> at the 4.01 standard:
>=20
>    http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.2.4
>=20
> and can't find anything wrong with this comment.   what exactly is
> weblint complaining about?  it doesn't complain about anything else on
> the page.

Try tidy:


    Package: tidy
    Priority: optional
    Section: web
    Installed-Size: 338
    Maintainer: Jason Thomas <jason@debian.org>
    Architecture: i386
    Version: 20020301-1
    Depends: libc6 (>=3D 2.2.4-4)
    Filename: pool/main/t/tidy/tidy_20020301-1_i386.deb
    Size: 123456
    MD5sum: ba5730163032c53381c8580bcf5cbfa8
    Description: HTML syntax checker and reformatter
     Corrects markup in a way compliant with the latest standards, and
     optimal for the popular browsers.  It has a comprehensive knowledge
     of the attributes defined in the HTML 4.0 recommendation from W3C,
     and understands the US ASCII, ISO Latin-1, UTF-8 and the ISO 2022
     family of 7-bit encodings.  In the output:
     .
      * HTML entity names for characters are used when appropriate.
      * Missing attribute quotes are added, and mismatched quotes found.
      * Tags lacking a terminating '>' are spotted.
      * Proprietary elements are recognized and reported as such.
      * The page is reformatted, from a choice of indentation styles.
     .
     Tidy is a product of the World Wide Web Consortium.

Peace.

--=20
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Keep software free.         Oppose the CBDTPA.         Kill S.2048 dead.
     http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html

--x+RZeZVNR8VILNfK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9YFzUVsqntYRW2N0RAtl2AJ9rQ5HTEXtZBK3rAjiKuLDdZmpTWACeOFuo
vc9kiSIJR+F7pgOhaFMh7BM=
=X8j3
-----END PGP SIGNATURE-----

--x+RZeZVNR8VILNfK--