Embedded Javascript (XML/XSL) error on call to makeMenu

D

Darrell Thompson

Hello Everyone:

Perhaps someone out there can help with this.

I am getting the following error when running a CGI (Perl) script that
generates a web page with embedded Javascript.

====

Cannot view XML input using XSL style sheet. Please correct the error
and then click the refresh button, or try again later.

A semi colon character was expected. Error processing resource
http://www.tekhome.com/cgi-bin/ft_update.pl?f=v&t=1&p=114 Line 46,
position 52

oM.makeMenu( 'm10','m1','Donald','ft_update.pl?f=v&t=0&p=86&r=114');
----------------------------------------------------^

====

As you can see, I am using the makeMenu javascript code with a twist.
Rather than have static menus from callable javascript files, I have
it embedded because my menus need to be dynamic.

The script works perfectly well on my Windows 2000 machine with
ActiveState's Perl and Perl Builder 2. It fails when accessed on my
HSP's Linux box.

They tell me it is my code because they supposedly have the latest
version of Perl for Linux.

The script I run on my machine is identical to the script I run on the
HSP except for which database the script points to for its data. All
references are to the HSP directories not to any local.

The error occurs on exactly the same character, the = sign following
the t, regardless if there is a fully defined url or not.

Any help or suggestions will be appreciated.

Sincerely,

Darrell
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top