From: Dann <da...@to...> - 2001-01-08 19:37:16
Attachments:
dann.vcf
|
Hi, I've just spent a boring two hours debugging DynAPI code on NS6, only to discover that nothing was wrong with the code. Instead, NS6's interpretation of the DOCTYPE at the beginning of the HTML file : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> caused DynAPI to stop functioning without errors. If I remove it, it works as with all the other browsers. The file can be perfectly validated as a HTML 4.01 document, for which the DOCTYPE tag is imperative. Does NE1 have any idea why this happens on NS6 ? CU, Dann |
From: William L. <wil...@ve...> - 2001-01-10 02:54:45
|
Same thing happens on IE5 Mac, but you get vague error messages (ie. error on line 600, but your document only has 400 lines). No doctype, and everything works fine. -bill > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...]On Behalf Of Dann > Sent: Monday, January 08, 2001 2:36 PM > To: dyn...@li... > Subject: [Dynapi-Dev] W3C DOCTYPE interferes with DynAPI > > > Hi, > > I've just spent a boring two hours debugging DynAPI code on NS6, only to > discover that nothing was wrong with the code. Instead, NS6's > interpretation of the DOCTYPE at the beginning of the HTML file : > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > > caused DynAPI to stop functioning without errors. > > If I remove it, it works as with all the other browsers. The file can be > perfectly validated as a HTML 4.01 document, for which the DOCTYPE tag > is imperative. > > Does NE1 have any idea why this happens on NS6 ? > > CU, > Dann > |
From: Scott A. L. <sc...@sc...> - 2001-01-10 04:28:21
|
FWIW, the DOCTYPE declaration forces NS6 to run in either normal, 'quirks', or 'strict' mode. Never mind what that means. For best results, either use 'strict' or no DOCTYPE at all. It won't validate, but who cares? scottandrew -- scott andrew lepera ----------------------------------- web stuff: www.scottandrew.com music stuff: www.walkingbirds.com |
From: Simon D. M. <di...@bi...> - 2001-01-10 17:02:41
|
> Same thing happens on IE5 Mac, but you get vague error messages (ie. error > on line 600, but your document only has 400 lines). No doctype, and > everything works fine. Does IE5 Mac work if you leave out the url? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> SD > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...]On Behalf Of Dann > > Sent: Monday, January 08, 2001 2:36 PM > > To: dyn...@li... > > Subject: [Dynapi-Dev] W3C DOCTYPE interferes with DynAPI > > > > > > Hi, > > > > I've just spent a boring two hours debugging DynAPI code on NS6, only to > > discover that nothing was wrong with the code. Instead, NS6's > > interpretation of the DOCTYPE at the beginning of the HTML file : > > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > > "http://www.w3.org/TR/html4/loose.dtd"> > > > > caused DynAPI to stop functioning without errors. > > > > If I remove it, it works as with all the other browsers. The file can be > > perfectly validated as a HTML 4.01 document, for which the DOCTYPE tag > > is imperative. > > > > Does NE1 have any idea why this happens on NS6 ? > > > > CU, > > Dann > > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: William L. <wil...@ve...> - 2001-01-11 02:06:52
|
It didn't when I tried it. Only way things started working was when I removed *all* of the doctype. -bill > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...]On Behalf Of Simon Dicon > Montford > Sent: Wednesday, January 10, 2001 11:53 AM > To: dyn...@li... > Subject: RE: [Dynapi-Dev] W3C DOCTYPE interferes with DynAPI > > > > Same thing happens on IE5 Mac, but you get vague error messages > (ie. error > > on line 600, but your document only has 400 lines). No doctype, and > > everything works fine. > > Does IE5 Mac work if you leave out the url? > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > > SD |