Re: Character Entity Question

Thank you both! I can't get HTML-Kit's Validator to put the !DOCTYPE
declaration in correctly for XHTML 1.1, so I usually just add it in after I
run it through, and I completely forgot to do that today. :-)

And thank you for the compliments on my code and my dogs. I try to have both
be easy on the eyes. :-)

Again, thank you.

Take care,
Derek
rderekp@laughing-coyote.com

----- Original Message -----
From: "Thanasis Kinias" <tkinias@optimalco.com>
To: "R. Derek Pattison" <rderekp@laughing-coyote.com>
Cc: "Terje Bless" <link@pobox.com>; <www-validator@w3.org>
Sent: Thursday, August 08, 2002 5:26 PM
Subject: Re: Character Entity Question


>
> scripsit R. Derek Pattison:
> >
> > Sure. I've used the &trade; at:
> > http://www.laughing-coyote.com/ko/luc/photos.htm. It displays correctly
no
> > matter if I use the &trade; or &#8482; in IE 6, Netscape 6, Netscape 7,
> > Opera 6, and Mozilla 1.0 on my Windows box, so I'm not too concerned
right
> > now about how it displays, I just want my pages to validate and to make
sure
> > I can use the Character Entity reference for my pages.
>
> You've got no DOCTYPE declaration.  The DTD is where these entities are
> defined, so since you don't reference a DTD the &trade; entity is
> unknown.  In this case, the validator isn't even checking for validity
> at all, only XML well-formedness.
>
> Stick
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>
> in the second line, just after the <?xml ..., and watch your page
> validate as beautiful XHTML 1.0 Strict.
>
> (That's some nice looking code, BTW, not to mention the dog . . .)
>
> --
> Thanasis Kinias
> Web Developer, Information Technology
> Graduate Student, Department of History
> Arizona State University
> Tempe, Arizona, U.S.A.
>
> Ash nazg durbatulūk, ash nazg gimbatul,
> Ash nazg thrakatulūk agh burzum-ishi krimpatul
>
>
>

Received on Thursday, 8 August 2002 18:52:29 UTC