PDA

View Full Version : Wierd javascript error caused by DOCTYPE tag


wac
09-16-2002, 03:02 PM
I'm having the following error thrown by java script. I've built a tabbed panel in java script. On Netscape 6, I get the following error, but the tabbed panel works fine. On IE 5, I get syntax errors on the same line, followed by a 'debug' popup box which doesn't work. And the tabbed panel does not work at all.

The odd thing about this is that my javascript code doesn't generate this line. This is generated by the Portal engine that is displaying the script in a portlet This same line is being displayed on every portal page without error. Only when the javascript is loaded do I see this problem. I'm not sure what the problem could be.
======
Error: syntax error
Source File: http://wac2000.rtp.genesyslab.com/wps/myportal/.cmd/ChangePage/.pa/111/.reqid/%3Cwps:urlFindInTheme%20file=%22tree.js%22%20/%3E
Line: 3
Source Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

realisis
09-16-2002, 06:22 PM
clicked directly on your link and got this:

While trying to retrieve the URL: http://wac2000.rtp.genesyslab.com/wps/myportal/.cmd/ChangePage/.pa/111/.reqid/%3Cwps:urlFindInTheme%20file=%22tree.js%22%20/%3E

The following error was encountered:

Unable to determine IP address from host name for wac2000.rtp.genesyslab.com

The dnsserver returned:
Name Error: The domain name does not exist.

wac
09-16-2002, 08:41 PM
Sorry,
I actually didn't mean to leave my machine name in the link. My machine is behind a corporate firewall. I'm doubtfull that they'll let me open it.