Re: Character Entity Question

scripsit R. Derek Pattison:
> Sure. I've used the ™ at:
> It displays correctly no
> matter if I use the ™ or ™ 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 ™ entity is
unknown.  In this case, the validator isn't even checking for validity
at all, only XML well-formedness.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

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 17:27:02 UTC