MudGuard: scheiss IE?

Beitrag lesen

Hi,

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Der ist gut ;-)

stritional, strinsitionact oder transict?
oder wie nennt man diese Mischung mit vorne strict und hinten transitional?

Fehlt da nicht noch irgendwo ein
<?xml version="1.0" encoding="$charset"?>

Nein. Die XML-Deklaration ist optional (beachte das ? nach XMLDecl):

[1]      document      ::=      prolog element  Misc*
[22]      prolog      ::=      XMLDecl? Misc* (doctypedecl  Misc*)?
[23]      XMLDecl      ::=      '<?xml' VersionInfo  EncodingDecl? SDDecl? S? '?>'

cu,
Andreas

--
Der Optimist: Das Glas  ist halbvoll.  - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/