Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

IE9, XHTML parsing issue for the RapidSpell-DIALOG - RapidSpell Web Java - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
bveeraraghavan
#1 Posted : Monday, July 7, 2014 1:26:02 PM
Rank: Member

Groups: Registered

Joined: 7/7/2014
Posts: 3
Hi All

Not sure if this a known issue or not. but when I use XHTML, JSF in IE9 I am getting the below error.

Code:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<script type="text/javascript"
src="a.rapidspellweb?t=r&n=RapidSpell-DIALOG.js"></script>
<body> <textarea rows="" cols=""> </textarea></body>

</html>


Executing this page gives the below error

SCRIPT1014: Invalid character
a.rapidspellweb?t=r&n=RapidSpell-DIALOG.js, line 368 character 1


The same page works fine in IE8 Standards mode
Seems to be a parsing issue only in IE9

I did solve this issue by adding the
Code:
//<![CDATA[           //]]>     
Tag to the JS in the JAR file and patched this file.

This works fine, not sure what is the root cause and permanent solution.

Balaji
Balaji
harry
#2 Posted : Monday, July 7, 2014 2:34:34 PM
Rank: Member

Groups: Registered

Joined: 4/22/2006
Posts: 216
Hi Balaji, I think the solution is to use this URL

a.rapidspellweb?t=r&amp;n=RapidSpell-DIALOG.js

(This forum has trouble with entities so you may have actually written that URL in the first post)

Regards

-Harry
-Harry
bveeraraghavan
#3 Posted : Monday, July 7, 2014 3:47:48 PM
Rank: Member

Groups: Registered

Joined: 7/7/2014
Posts: 3
Oops my bad Harry

I am using the same URL as you specified.

a.rapidspellweb?t=r&n=RapidSpell-DIALOG.js

Missed that in the post. Any idea why that is still happening ?

Balaji
Balaji
harry
#4 Posted : Tuesday, July 8, 2014 5:16:35 PM
Rank: Member

Groups: Registered

Joined: 4/22/2006
Posts: 216
I thought the CDATA comments were only for inline scripts, however we can add it for the next release, since it helps.

Your workaround is the best thing to do.

-Harry
-Harry
bveeraraghavan
#5 Posted : Tuesday, July 8, 2014 6:24:58 PM
Rank: Member

Groups: Registered

Joined: 7/7/2014
Posts: 3
Adding in the jar will help. Thanks for the response Harry.

Balaji
Balaji
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.