Daniel Thoma: MSIE zeigt Baum statt Seite

Beitrag lesen

Hallo Christoph

Ich kann auch deinem DOCTYPE-Hinweis nicht folgen. Bei mir sieht das zum Beispiel so aus:
  <?xml version='1.0' encoding="ISO-8859-1"?>
  <!DOCTYPE schnauss SYSTEM "style/schnauss.dtd">
  <?xml-stylesheet type="text/xsl" href="style/schnauss.xsl"?>
  <probeseite>
  <title>Christoph Schnauss XML-Versuch</title>|

Es ist nicht verwunderlich, dass der Mozilla damit nicht klar kommt:

"The Name in the document type declaration must match the element type of the root element."

Siehe auch: http://www.w3.org/TR/REC-xml#sec-prolog-dtd

Nicht-validierende XML-Prozessoren müssen das nicht überprüfen. Somit wäre das verhalten des IE auch nicht falsch.

Grüße

Daniel