- From: Joris Huizer <joris_huizer@yahoo.com>
- Date: Sun, 26 Jan 2003 10:40:52 -0800 (PST)
- To: ehofmeister@musikcafeen.dk, www-html@w3.org
--- "Webmaster, Musikcafeen" <ehofmeister@musikcafeen.dk> wrote: > > I recently bought "Beginning XHTML" co-authored by > Dave Raggett, and I was > rather puzzled by an example (chapter 3, p. 48 "A > Simple XHTML document") > where the DTD is downloaded, before the document is > parsed, as far as I can > see. It raised the same questions as Jeff Mendenhall > came up with. What > happens is this: > > I write the code in the aforementioned example: > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html > PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" > xml:lang="en" lang="en"> > <head> > <title>First XHTML document</title> > </head> > <body> > <p>This is my first XHTML document.</p> > </body> > </html> > > I save it as examp2.htm and examp2.xml respectively. > > - When I open examp2.htm in IE 6.0SP1 it displays as > it should, according to > the book. > - When I open examp2.xml in IE 6.0SP1 it tries to > open the document for > about 10-15 seconds, then comes up with an error > message that says "The > XML-page cannot be displayed - the resource could > not be found: > 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'." > (the actual > messages are a bit different, as I am using the > danish version of IE 6.0, > but I am loosely translating). > > What is important is that I am logged OFF my > LAN-connection to the internet > when I get the above results. When I log ON and try > the same, IE responds > immediately by showing me the parse tree, however it > also shows me the > document header, which it shouldn't according to the > book. > > I am a little confused, but as far as I can figure > out, it must be problems > related to IE 6.0SP1. > Anyway, I would appreciate if anyone could enlighten > me. > > Regards, Esben Hofmeister > > I'm not sure about this, but I think a conforming browser should display a normal html page as the xhtml namespace is used. Joris __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
Received on Sunday, 26 January 2003 13:40:54 UTC