the first line can be anything. it just happens to be DOCTYPE. an 
error always occurs on line 1 - char 1. actually just tried a couple 
things and i figured out that i can hack around by putting
<!--
/*
-->

and

<!--
*/
-->

at the beginning and end of the entire page but that's ugly and i 
still dont know why dynapi is trying to parse the page as a script 
from the very beginning.

a.g.h

Richard Bennett wrote:

> I've heard of the doctype declaration causing errors on Mac, just delete it.
> 
> If that doesn't help, post the page-source, or a URL.
> 
>  
> 
> Cheers,
> Richard Bennett
> 
>  
> 
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> www.richardinfo.com <http://www.richardinfo.com>
> (Everything running on, and ported to DynAPI2.53)
> visit the DynAPI homepage (and FAQ) ::
> http://dynapi.sourceforge.net/dynapi/index.php?menu=1
> Browse (and search) the mailinglist here:
> http://www.mail-archive.com/index.php3?hunt=dynapi
> 
>     ----- Original Message -----
> 
>     *From:* Andrew Hull <mailto:[EMAIL PROTECTED]>
> 
>     *To:* [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
> 
>     *Sent:* 07 June, 2001 22:33
> 
>     *Subject:* [Dynapi-Help] error on line 1
> 
> 
>     i receive the following error on netscape 4 where i have included
>     the DynAPI libraries:
> 
>     JavaScript Error: http://..../, line 1:
> 
>     syntax error.
> 
>     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>     ^
> 
>     regardless of what the first line is, i always get this error. i
>     dont even know where to begin to look for what might be causing
>     this. im using the label class, eventlistener. what else can i tell
>     you? im hoping someone has seen this before so i dont have to start
>     picking thru everything to find whats causing it.
> 
>     a.g.h
> 



_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to