hwg-xml archives | Oct 2001 | new search | results | previous | next |
AW: XHTML error on Macby "Christian Jarolim" <christian(at)mozquito.com> |
|
Hi John, When I had the task to set up the Web site for Mozquito Technologies some time ago I had this error, too. The files were valid but a version of the Mac IE 5.0 did not like them. I just deleted the first line (XML Declaration) and it worked again...=20 You are allowed to do that, too. At the World Wide Web Consortium Web site it is said that the XML declaration is not required if you do not want to use a character encoding other than the defaults.=20 XHTML(tm) 1.0: The Extensible HyperText Markup Language (Second Edition) A Reformulation of HTML 4 in XML 1.0 W3C Working Draft 4 October 2001 3.1.1. < http://www.w3.org/TR/2001/WD-xhtml1-20011004/#docconf > "Note that in this example, the XML declaration is included. An XML declaration like the one above is not required in all XML documents. XHTML document authors are strongly encouraged to use XML declarations in all their documents. Such a declaration is required when the character encoding of the document is other than the default UTF-8 or UTF-16 and no encoding was determined by a higher-level protocol." Hope this helps... Christian Jarolim --=20 XML interface design, workshops and seminars mailto:cj(at)001training.com mailto:christian(at)mozquito.com Training the Network 001:: Training Mozquito Technologies http://www.001training.com http://www.mozquito.com Austria // 5020 Salzburg Germany // 80469 Munich -----Urspr=FCngliche Nachricht----- Von: Jonathan Blake [mailto:jblake(at)nscee.edu] Gesendet: Dienstag, 16. Oktober 2001 00:08 An: hwg-xml(at)hwg.org Betreff: XHTML error on Mac A viewer of my website has reported an error when using IE 5.0 for Mac. He gets the error "An error occurred parsing the XML file". The details and source can be found in the forwarded message that I've included. The document is also online: http://www.lw-oasis.org/aon/tjoh/title.htm I don't have access to a Mac right now to play with this. I've validated the document with the W3C validator and so I'm now at a loss about what to do next. Any help would be greatly appreciated. -- Jon ---------- Forwarded message ---------- Date: Fri, 28 Sep 2001 22:16:36 +0800 Subject: Hi... Hi, I'm not sure if you remember, but some time ago I contacted you about a problem I was having with book 8: jungle of horrors. When I try to open the file, through either HTML or through statskeeper, an error message comes up saying: "An error occurred parsing the XML file". I run the program on both my iMac (233mhz, 128 RAM, Mac OS9.1, IE 5.0) and my Powerbook (400mhz, 192 RAM, Mac OS9.1, IE 5.0). I believe last time you recommended I update IE, but as far as I can tell, 5.0 is the latest one available for Mac OS9. IE 5.1 requires MacOSX, which I don't have. When I push the source button it appears exactly as below; <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?> <!-- Copyright © 1987 Joe Dever and Gary Chalk. Published by Project Aon. --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns=3D"http://www.w3.org/1999/xhtml" xml:lang=3D"en" = lang=3D"en"> <head> <title>The Jungle of Horrors: Title Page</title> <meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3DISO-8859-1" /> <meta name=3D"robots" content=3D"noindex,nofollow" /> <link rel=3D"stylesheet" href=3D"aon.css" type=3D"text/css" /> </head> <body link=3D"#669966" alink=3D"#669966" vlink=3D"#669966" = text=3D"black" bgcolor=3D"#ffffe4" background=3D"bckgrnd.gif"> <div class=3D"title"><img src=3D"title.gif" width=3D"450" height=3D"100" alt=3D"The Jungle of Horrors" /></div> <div class=3D"body"> <div class=3D"frontmatter"> <p class=3D"title">Joe Dever and Gary Chalk</p> <p>Internet Edition published by <a href=3D"http://www.projectaon.org/">The Aon Project</a>. This edition is intended to reflect the complete text of the original version. Where we have made minor corrections, they will be noted in the <a href=3D"errata">Errata</a>.</p> <p>Publication Date: 21 July 2001</p> <p>Copyright © 1987 Joe Dever and Gary Chalk. Distribution of this Internet Edition is restricted under the terms of the <a href=3D"license">Aon Project End User License</a>.</p> <hr /> <p>You are Lone Wolf. Sworn to avenge your forefathers, the Kai Lords, you must now venture into the dreaded jungle swamps of Danarg.</p> <p>Guided by Lord Paido, warrior-magician of Dessi, you begin your trek across the violent and war-torn lands of Talestria on your secret mission to capture the prized Lorestone of Ohrido.</p> <p>You must survive in fearsome battle the assassins of Gnaag, the armies of the dreaded Warlord Zegron and the chaos creatures of Agarash the Damned.</p> <p>But nothing must stop you now, for if you fail the Lorestone of Ohrido will be lost forever and vengeance will escape your grasp. . . .</p> =20 <p><strong>Joe Dever</strong> is a contributing editor to White Dwarf, Britain's leading fantasy games magazine. The <cite>Lone Wolf</cite> series is the culmination of seven years of research and involvement with the unique world of fantasy. He is currently at work on a huge compendium based on the world of Magnamund.</p> <p><strong>Gary Chalk</strong> was working as a children's book illustrator when he became involved in adventure gaming, an interest which eventually led to the creation of several successful games. He is the inventor/illustrator of some of Britain's biggest-selling fantasy games.</p> =20 <p class=3D"center"><tt>[ <a href=3D"dedicate">Dedication</a> >> ]</tt></p> </div> <hr /> <p class=3D"center"><tt>[ <a href=3D"toc">Table of Contents</a> ]</tt></p> <p class=3D"copyright">Copyright © 1987 Joe Dever and Gary = Chalk.</p> </div> </body> </html>
HWG hwg-xml mailing list archives, maintained by Webmasters