Bug 103631

Summary: Parsing error on parameters for Java Applets
Product: [Applications] konqueror Reporter: lparrab
Component: khtml parsingAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 3.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Original applet-code (not working) and Working version of the same code

Description lparrab 2005-04-11 00:28:33 UTC
Version:           3.4.0 (using KDE 3.4.0, Gentoo)
Compiler:          gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
OS:                Linux (i686) release 2.6.11-gentoo-r4

Hi, 
There is a problem with some Java Applets not working in Konqueror which seems (to me) to be due to Konq. not parsing the applet params correctly.

Example:
http://www.activest.de/de/home/index.jhtml;5LVY41OL3RHJ5QFILQBRYUWAVBOAGG3S?pageId=3011&wkn=988131

The page contains two applets, the first one is ok, but on the second one you always get a message from java saying "Error: See Java Console for details".
Firefox and IE render the page just fine, with the 2 applets working.

I isolated the applet on a test page and got the same result, but then noticed that if I remove the blank spaces and new lines between the contents of the (applet's) param value and the quotation mark (") marking the end of the value, the applet works.
That's why I think this is a parsing error in konqueror..

I'm attaching my test page with the same applet in the original version (not working) and exactly the same code, with only those extra spaces removed (working)

cheers,
Luis
Comment 1 lparrab 2005-04-11 00:31:43 UTC
Created attachment 10574 [details]
Original applet-code (not working) and Working version of the same code

The first applet is a copy+paste from the corresponding section on the original
web page.
The second applet is the same paste, with some spaces and new lines removed,
which ( I guess ) makes it easier for konqueror to parse.
Comment 2 Kevin Funk 2008-04-20 15:41:02 UTC
Is this still reproducible? Site changed. Please give feedback.
Comment 3 lparrab 2008-04-21 22:15:44 UTC
The site has changed and I can't find my test-file anymore, so I'm closing it and hoping it's fixed.