ParsingException: nested TokenStreamException: antlr.TokenStreamIOException
[nobr]hi,
i am getting this parsing exception whenver i add some html code to my jsp. i am placing my jsp.
<%--
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%-- Imports the relevant KLI classes --%>
<%@ pageimport ="com.wk.kli.*"%>
<%-- Include the userAuthorization page to authorize the user --%>
<%@ include file="/include/userAuthorization.jsp" %>
<!DOCTYPE HTML PUBLIC"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang ="en">
<!-- This includes header in the current jsp page. -->
<jsp:include page ='<%= KLIPortalConst.JSPFiles.HEADER_PAGE %>'
flush ="true"/>
<jsp:include page ='<%= KLIPortalConst.JSPFiles.GLOBALNAV_PAGE %>'
flush ="true"/>
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 11">
<meta name=Originator content="Microsoft Word 11">
<link rel=File-List
href="Terms%20and%20Conditions%20Litigation.com%20v.%20Feb%202007_files/filelist.xml">
<title>General Terms & Conditions</title>
</head>
<body link=blue vlink=purple style='tab-interval:36.0pt'>
<div class=Section1>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='font-size:14.0pt;mso-bidi-font-size:10.0pt;font-family:"Trebuchet MS"'> </span>
<p class=MsoNormal align=center style='text-align:center'><span lang=EN-GB
style='font-size:14.0pt;mso-bidi-font-size:10.0pt;font-family:"Trebuchet MS"'> </span>
<p class=MsoNormal align=left style='text-align:left'><span lang=EN-GB
style='font-size:12.0pt;font-family:"Trebuchet MS"'>Terms and Conditions: <a
href="http://www.kluwerlitigation.com/">www.KluwerLitigation.com</a> </span>
<p class=MsoNormal><span lang=EN-GB style='font-family:"Trebuchet MS"'> </span>
</div>
<span lang=EN-GB style='font-size:8.0pt;mso-bidi-font-size:10.0pt;font-family:
"Trebuchet MS";mso-fareast-font-family:"Times New Roman";mso-bidi-font-family:
"Times New Roman";mso-ansi-language:EN-GB;mso-fareast-language:EN-US;
mso-bidi-language:AR-SA'><br clear=all >
</span>
</div>
</body>
</html>
whenever i place this html code in this jsp , i am getting parsing exception. please suggest .
<div class=Section2>
<h3><span lang=EN-GB style='font-family:"Trebuchet MS"'>1.<span
style='mso-tab-count:1'></span>APPLICABILITY AND DEFINITIONS</span></h3>
<p class=dgindent align=left style='text-align:left'><span lang=EN-GB
style='font-family:"Trebuchet MS"'>1.1 The Agreement means the agreement
between on the one hand Kluwer Law International bv ( 揕icensor? and on the
other hand the customer (揕icensee? on the basis of the Order Form as defined
herein, the Acceptance as defined herein and the present Terms and Conditions.
The Terms and Conditions shall apply on any offer or agreement with the
exclusion of any terms and conditions used by the Licensee.</span>
</div>
Message was edited by:
bobz[/nobr]

